diff --git a/README.md b/README.md index 04ee1038..f4112bc0 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ Also note that MadelineProto will perform better if a big math extension like gm This project is in beta state. -The MadelineProto API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). +The MadelineProto API documentation can be found [here (layer 57)](https://daniil.it/MadelineProto/API_docs/). The MadelineProto API documentation (mtproto tl scheme) can be found [here](https://daniil.it/MadelineProto/MTProto_docs/). -The MadelineProto API documentations (old layers) can be found [here (layer 46)](https://daniil.it/MadelineProto/API_docs_46/), [here (layer 55)](https://daniil.it/MadelineProto/API_docs_55/). +The MadelineProto API documentations (old layers) can be found [here](https://daniil.it/MadelineProto/old/). ## Usage diff --git a/build_docs.php b/build_docs.php index 386c9a4a..d0a1f551 100755 --- a/build_docs.php +++ b/build_docs.php @@ -35,20 +35,27 @@ $docs = [ 'description' => 'MadelineProto API documentation (layer 57)', 'output_dir' => __DIR__.'/docs/API_docs', ], - [ - 'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v55.json'], - 'title' => 'MadelineProto API documentation (layer 55)', - 'description' => 'MadelineProto API documentation (layer 55)', - 'output_dir' => __DIR__.'/docs/API_docs_55', - ], - [ - 'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v46.tl'], - 'title' => 'MadelineProto API documentation (layer 46)', - 'description' => 'MadelineProto API documentation (layer 46)', - 'output_dir' => __DIR__.'/docs/API_docs_46', - ], ]; +$layer_list = ''; +foreach (array_slice(glob(__DIR__.'/src/danog/MadelineProto/TL_telegram_*'), 0, -1) as $file) { + $layer = preg_replace(['/.*telegram_/', '/\..+/'], '', $file); + $docs []= [ + 'tl_schema' => ['telegram' => $file], + 'title' => 'MadelineProto API documentation (layer '.$layer.')', + 'description' => 'MadelineProto API documentation (layer '.$layer.')', + 'output_dir' => __DIR__.'/docs/old/API_docs_'.$layer, + ]; + $layer_list = '[Layer '.$layer.'](API_docs_'.$layer.'/) +'; +} +file_put_contents('docs/old/index.md', '--- +title: Documentations of old mtproto layers +description: Documentation of old mtproto layers +--- +# Documentation of old mtproto layers + +'.$layer_list); foreach ($docs as $settings) { $doc = new \danog\MadelineProto\DocsBuilder($settings); $doc->mk_docs(); diff --git a/docs/API_docs/constructors/accountDaysTTL.md b/docs/API_docs/constructors/accountDaysTTL.md index 00a739f5..ee21d493 100644 --- a/docs/API_docs/constructors/accountDaysTTL.md +++ b/docs/API_docs/constructors/accountDaysTTL.md @@ -22,4 +22,5 @@ description: accountDaysTTL attributes, type and example ``` $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_authorizations.md b/docs/API_docs/constructors/account_authorizations.md index 267ac6eb..21f6fd71 100644 --- a/docs/API_docs/constructors/account_authorizations.md +++ b/docs/API_docs/constructors/account_authorizations.md @@ -22,4 +22,5 @@ description: account_authorizations attributes, type and example ``` $account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_noPassword.md b/docs/API_docs/constructors/account_noPassword.md index 0c328fca..294766b7 100644 --- a/docs/API_docs/constructors/account_noPassword.md +++ b/docs/API_docs/constructors/account_noPassword.md @@ -23,4 +23,5 @@ description: account_noPassword attributes, type and example ``` $account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_password.md b/docs/API_docs/constructors/account_password.md index 5cc9b168..dd6873a8 100644 --- a/docs/API_docs/constructors/account_password.md +++ b/docs/API_docs/constructors/account_password.md @@ -26,4 +26,5 @@ description: account_password attributes, type and example ``` $account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_passwordInputSettings.md b/docs/API_docs/constructors/account_passwordInputSettings.md index 6a25eaf9..e90c88b5 100644 --- a/docs/API_docs/constructors/account_passwordInputSettings.md +++ b/docs/API_docs/constructors/account_passwordInputSettings.md @@ -25,4 +25,5 @@ description: account_passwordInputSettings attributes, type and example ``` $account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_passwordSettings.md b/docs/API_docs/constructors/account_passwordSettings.md index 0971ad13..4e92aab4 100644 --- a/docs/API_docs/constructors/account_passwordSettings.md +++ b/docs/API_docs/constructors/account_passwordSettings.md @@ -22,4 +22,5 @@ description: account_passwordSettings attributes, type and example ``` $account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/account_privacyRules.md b/docs/API_docs/constructors/account_privacyRules.md index 16d82ecd..c621c136 100644 --- a/docs/API_docs/constructors/account_privacyRules.md +++ b/docs/API_docs/constructors/account_privacyRules.md @@ -23,4 +23,5 @@ description: account_privacyRules attributes, type and example ``` $account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_authorization.md b/docs/API_docs/constructors/auth_authorization.md index e27a2aef..8116c8ed 100644 --- a/docs/API_docs/constructors/auth_authorization.md +++ b/docs/API_docs/constructors/auth_authorization.md @@ -23,4 +23,5 @@ description: auth_authorization attributes, type and example ``` $auth_authorization = ['_' => 'auth_authorization', 'tmp_sessions' => int, 'user' => User, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_checkedPhone.md b/docs/API_docs/constructors/auth_checkedPhone.md index fb1c42c6..2a8a8334 100644 --- a/docs/API_docs/constructors/auth_checkedPhone.md +++ b/docs/API_docs/constructors/auth_checkedPhone.md @@ -22,4 +22,5 @@ description: auth_checkedPhone attributes, type and example ``` $auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_codeTypeCall.md b/docs/API_docs/constructors/auth_codeTypeCall.md index f043790a..a87bfff1 100644 --- a/docs/API_docs/constructors/auth_codeTypeCall.md +++ b/docs/API_docs/constructors/auth_codeTypeCall.md @@ -17,4 +17,5 @@ description: auth_codeTypeCall attributes, type and example ``` $auth_codeTypeCall = ['_' => 'auth_codeTypeCall', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_codeTypeFlashCall.md b/docs/API_docs/constructors/auth_codeTypeFlashCall.md index 7cfd2903..9bc67f24 100644 --- a/docs/API_docs/constructors/auth_codeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_codeTypeFlashCall.md @@ -17,4 +17,5 @@ description: auth_codeTypeFlashCall attributes, type and example ``` $auth_codeTypeFlashCall = ['_' => 'auth_codeTypeFlashCall', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_codeTypeSms.md b/docs/API_docs/constructors/auth_codeTypeSms.md index 3abecb43..0d45357a 100644 --- a/docs/API_docs/constructors/auth_codeTypeSms.md +++ b/docs/API_docs/constructors/auth_codeTypeSms.md @@ -17,4 +17,5 @@ description: auth_codeTypeSms attributes, type and example ``` $auth_codeTypeSms = ['_' => 'auth_codeTypeSms', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_exportedAuthorization.md b/docs/API_docs/constructors/auth_exportedAuthorization.md index e5d470c1..274de10e 100644 --- a/docs/API_docs/constructors/auth_exportedAuthorization.md +++ b/docs/API_docs/constructors/auth_exportedAuthorization.md @@ -23,4 +23,5 @@ description: auth_exportedAuthorization attributes, type and example ``` $auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_passwordRecovery.md b/docs/API_docs/constructors/auth_passwordRecovery.md index 69cf3a80..63883e7b 100644 --- a/docs/API_docs/constructors/auth_passwordRecovery.md +++ b/docs/API_docs/constructors/auth_passwordRecovery.md @@ -22,4 +22,5 @@ description: auth_passwordRecovery attributes, type and example ``` $auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md index 8ee68276..53b4d681 100644 --- a/docs/API_docs/constructors/auth_sentCode.md +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -26,4 +26,5 @@ description: auth_sentCode attributes, type and example ``` $auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_sentCodeTypeApp.md b/docs/API_docs/constructors/auth_sentCodeTypeApp.md index 5813497b..2ee592b4 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeApp.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeApp.md @@ -22,4 +22,5 @@ description: auth_sentCodeTypeApp attributes, type and example ``` $auth_sentCodeTypeApp = ['_' => 'auth_sentCodeTypeApp', 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_sentCodeTypeCall.md b/docs/API_docs/constructors/auth_sentCodeTypeCall.md index 91f706da..d681883b 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeCall.md @@ -22,4 +22,5 @@ description: auth_sentCodeTypeCall attributes, type and example ``` $auth_sentCodeTypeCall = ['_' => 'auth_sentCodeTypeCall', 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md index 3cb65680..95efd88f 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeFlashCall.md @@ -22,4 +22,5 @@ description: auth_sentCodeTypeFlashCall attributes, type and example ``` $auth_sentCodeTypeFlashCall = ['_' => 'auth_sentCodeTypeFlashCall', 'pattern' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/auth_sentCodeTypeSms.md b/docs/API_docs/constructors/auth_sentCodeTypeSms.md index 565fc481..95899956 100644 --- a/docs/API_docs/constructors/auth_sentCodeTypeSms.md +++ b/docs/API_docs/constructors/auth_sentCodeTypeSms.md @@ -22,4 +22,5 @@ description: auth_sentCodeTypeSms attributes, type and example ``` $auth_sentCodeTypeSms = ['_' => 'auth_sentCodeTypeSms', 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/authorization.md b/docs/API_docs/constructors/authorization.md index cc684ec3..2029d267 100644 --- a/docs/API_docs/constructors/authorization.md +++ b/docs/API_docs/constructors/authorization.md @@ -33,4 +33,5 @@ description: authorization attributes, type and example ``` $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botCommand.md b/docs/API_docs/constructors/botCommand.md index 1a2090ac..40713c71 100644 --- a/docs/API_docs/constructors/botCommand.md +++ b/docs/API_docs/constructors/botCommand.md @@ -23,4 +23,5 @@ description: botCommand attributes, type and example ``` $botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInfo.md b/docs/API_docs/constructors/botInfo.md index d7dc92d6..63be7e80 100644 --- a/docs/API_docs/constructors/botInfo.md +++ b/docs/API_docs/constructors/botInfo.md @@ -24,4 +24,5 @@ description: botInfo attributes, type and example ``` $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMediaResult.md b/docs/API_docs/constructors/botInlineMediaResult.md index ee6d98df..ba366745 100644 --- a/docs/API_docs/constructors/botInlineMediaResult.md +++ b/docs/API_docs/constructors/botInlineMediaResult.md @@ -28,4 +28,5 @@ description: botInlineMediaResult attributes, type and example ``` $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMessageMediaAuto.md b/docs/API_docs/constructors/botInlineMessageMediaAuto.md index 410654bb..2e94b63f 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/botInlineMessageMediaAuto.md @@ -23,4 +23,5 @@ description: botInlineMessageMediaAuto attributes, type and example ``` $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMessageMediaContact.md b/docs/API_docs/constructors/botInlineMessageMediaContact.md index 2377dc8e..287d4826 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/botInlineMessageMediaContact.md @@ -25,4 +25,5 @@ description: botInlineMessageMediaContact attributes, type and example ``` $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMessageMediaGeo.md b/docs/API_docs/constructors/botInlineMessageMediaGeo.md index 59718b34..f59c902a 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/botInlineMessageMediaGeo.md @@ -23,4 +23,5 @@ description: botInlineMessageMediaGeo attributes, type and example ``` $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMessageMediaVenue.md b/docs/API_docs/constructors/botInlineMessageMediaVenue.md index c0a5331e..e719bb56 100644 --- a/docs/API_docs/constructors/botInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/botInlineMessageMediaVenue.md @@ -27,4 +27,5 @@ description: botInlineMessageMediaVenue attributes, type and example ``` $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md index 2ec7dce6..a0f45747 100644 --- a/docs/API_docs/constructors/botInlineMessageText.md +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -25,4 +25,5 @@ description: botInlineMessageText attributes, type and example ``` $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/botInlineResult.md b/docs/API_docs/constructors/botInlineResult.md index efcbaed3..0ce5fe1e 100644 --- a/docs/API_docs/constructors/botInlineResult.md +++ b/docs/API_docs/constructors/botInlineResult.md @@ -33,4 +33,5 @@ description: botInlineResult attributes, type and example ``` $botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channel.md b/docs/API_docs/constructors/channel.md index 1b3dca76..1b7ba64d 100644 --- a/docs/API_docs/constructors/channel.md +++ b/docs/API_docs/constructors/channel.md @@ -41,4 +41,18 @@ description: channel attributes, type and example ``` $channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md index 2ce1f9ad..36b7ac28 100644 --- a/docs/API_docs/constructors/channelForbidden.md +++ b/docs/API_docs/constructors/channelForbidden.md @@ -26,4 +26,18 @@ description: channelForbidden attributes, type and example ``` $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md index b3bfd0ef..33c11b23 100644 --- a/docs/API_docs/constructors/channelFull.md +++ b/docs/API_docs/constructors/channelFull.md @@ -38,4 +38,5 @@ description: channelFull attributes, type and example ``` $channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md index 7ea6ad1c..4b908c3b 100644 --- a/docs/API_docs/constructors/channelMessagesFilter.md +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -23,4 +23,5 @@ description: channelMessagesFilter attributes, type and example ``` $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelMessagesFilterEmpty.md b/docs/API_docs/constructors/channelMessagesFilterEmpty.md index 1d272f96..795a3566 100644 --- a/docs/API_docs/constructors/channelMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/channelMessagesFilterEmpty.md @@ -17,4 +17,5 @@ description: channelMessagesFilterEmpty attributes, type and example ``` $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipant.md b/docs/API_docs/constructors/channelParticipant.md index d9e2ee86..7c5285b4 100644 --- a/docs/API_docs/constructors/channelParticipant.md +++ b/docs/API_docs/constructors/channelParticipant.md @@ -23,4 +23,5 @@ description: channelParticipant attributes, type and example ``` $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantCreator.md b/docs/API_docs/constructors/channelParticipantCreator.md index 1164dc11..db404ea9 100644 --- a/docs/API_docs/constructors/channelParticipantCreator.md +++ b/docs/API_docs/constructors/channelParticipantCreator.md @@ -22,4 +22,5 @@ description: channelParticipantCreator attributes, type and example ``` $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantEditor.md b/docs/API_docs/constructors/channelParticipantEditor.md index 2d649491..d1528461 100644 --- a/docs/API_docs/constructors/channelParticipantEditor.md +++ b/docs/API_docs/constructors/channelParticipantEditor.md @@ -24,4 +24,5 @@ description: channelParticipantEditor attributes, type and example ``` $channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantKicked.md b/docs/API_docs/constructors/channelParticipantKicked.md index ce90ce21..9fb17baa 100644 --- a/docs/API_docs/constructors/channelParticipantKicked.md +++ b/docs/API_docs/constructors/channelParticipantKicked.md @@ -24,4 +24,5 @@ description: channelParticipantKicked attributes, type and example ``` $channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantModerator.md b/docs/API_docs/constructors/channelParticipantModerator.md index 167e9345..c973f862 100644 --- a/docs/API_docs/constructors/channelParticipantModerator.md +++ b/docs/API_docs/constructors/channelParticipantModerator.md @@ -24,4 +24,5 @@ description: channelParticipantModerator attributes, type and example ``` $channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantSelf.md b/docs/API_docs/constructors/channelParticipantSelf.md index effad581..3af75916 100644 --- a/docs/API_docs/constructors/channelParticipantSelf.md +++ b/docs/API_docs/constructors/channelParticipantSelf.md @@ -24,4 +24,5 @@ description: channelParticipantSelf attributes, type and example ``` $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantsAdmins.md b/docs/API_docs/constructors/channelParticipantsAdmins.md index 995e1fce..f58bdf25 100644 --- a/docs/API_docs/constructors/channelParticipantsAdmins.md +++ b/docs/API_docs/constructors/channelParticipantsAdmins.md @@ -17,4 +17,5 @@ description: channelParticipantsAdmins attributes, type and example ``` $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantsBots.md b/docs/API_docs/constructors/channelParticipantsBots.md index 83b4152b..66cfecae 100644 --- a/docs/API_docs/constructors/channelParticipantsBots.md +++ b/docs/API_docs/constructors/channelParticipantsBots.md @@ -17,4 +17,5 @@ description: channelParticipantsBots attributes, type and example ``` $channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantsKicked.md b/docs/API_docs/constructors/channelParticipantsKicked.md index aeb52022..c869f17a 100644 --- a/docs/API_docs/constructors/channelParticipantsKicked.md +++ b/docs/API_docs/constructors/channelParticipantsKicked.md @@ -17,4 +17,5 @@ description: channelParticipantsKicked attributes, type and example ``` $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelParticipantsRecent.md b/docs/API_docs/constructors/channelParticipantsRecent.md index 8bd3f274..bd29ca22 100644 --- a/docs/API_docs/constructors/channelParticipantsRecent.md +++ b/docs/API_docs/constructors/channelParticipantsRecent.md @@ -17,4 +17,5 @@ description: channelParticipantsRecent attributes, type and example ``` $channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelRoleEditor.md b/docs/API_docs/constructors/channelRoleEditor.md index 380d63b0..45c13c56 100644 --- a/docs/API_docs/constructors/channelRoleEditor.md +++ b/docs/API_docs/constructors/channelRoleEditor.md @@ -17,4 +17,5 @@ description: channelRoleEditor attributes, type and example ``` $channelRoleEditor = ['_' => 'channelRoleEditor', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelRoleEmpty.md b/docs/API_docs/constructors/channelRoleEmpty.md index 7f4c1346..8ceb9c98 100644 --- a/docs/API_docs/constructors/channelRoleEmpty.md +++ b/docs/API_docs/constructors/channelRoleEmpty.md @@ -17,4 +17,5 @@ description: channelRoleEmpty attributes, type and example ``` $channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channelRoleModerator.md b/docs/API_docs/constructors/channelRoleModerator.md index 706e9483..a6c00587 100644 --- a/docs/API_docs/constructors/channelRoleModerator.md +++ b/docs/API_docs/constructors/channelRoleModerator.md @@ -17,4 +17,5 @@ description: channelRoleModerator attributes, type and example ``` $channelRoleModerator = ['_' => 'channelRoleModerator', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channels_channelParticipant.md b/docs/API_docs/constructors/channels_channelParticipant.md index f5e5212b..4361e472 100644 --- a/docs/API_docs/constructors/channels_channelParticipant.md +++ b/docs/API_docs/constructors/channels_channelParticipant.md @@ -23,4 +23,5 @@ description: channels_channelParticipant attributes, type and example ``` $channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/channels_channelParticipants.md b/docs/API_docs/constructors/channels_channelParticipants.md index 178521ff..e194a5b9 100644 --- a/docs/API_docs/constructors/channels_channelParticipants.md +++ b/docs/API_docs/constructors/channels_channelParticipants.md @@ -24,4 +24,5 @@ description: channels_channelParticipants attributes, type and example ``` $channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md index e840792e..674d5bfe 100644 --- a/docs/API_docs/constructors/chat.md +++ b/docs/API_docs/constructors/chat.md @@ -34,4 +34,18 @@ description: chat attributes, type and example ``` $chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatEmpty.md b/docs/API_docs/constructors/chatEmpty.md index be037a3d..06f9a761 100644 --- a/docs/API_docs/constructors/chatEmpty.md +++ b/docs/API_docs/constructors/chatEmpty.md @@ -22,4 +22,18 @@ description: chatEmpty attributes, type and example ``` $chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatForbidden.md b/docs/API_docs/constructors/chatForbidden.md index d4672339..fd52d8ba 100644 --- a/docs/API_docs/constructors/chatForbidden.md +++ b/docs/API_docs/constructors/chatForbidden.md @@ -23,4 +23,18 @@ description: chatForbidden attributes, type and example ``` $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/chatFull.md b/docs/API_docs/constructors/chatFull.md index d28e14e5..866e8fc6 100644 --- a/docs/API_docs/constructors/chatFull.md +++ b/docs/API_docs/constructors/chatFull.md @@ -27,4 +27,5 @@ description: chatFull attributes, type and example ``` $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md index c0e8a2ab..bf2f9b57 100644 --- a/docs/API_docs/constructors/chatInvite.md +++ b/docs/API_docs/constructors/chatInvite.md @@ -29,4 +29,5 @@ description: chatInvite attributes, type and example ``` $chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatInviteAlready.md b/docs/API_docs/constructors/chatInviteAlready.md index 26a55a14..84175cc2 100644 --- a/docs/API_docs/constructors/chatInviteAlready.md +++ b/docs/API_docs/constructors/chatInviteAlready.md @@ -22,4 +22,5 @@ description: chatInviteAlready attributes, type and example ``` $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatInviteEmpty.md b/docs/API_docs/constructors/chatInviteEmpty.md index e7bfcce4..d09ba953 100644 --- a/docs/API_docs/constructors/chatInviteEmpty.md +++ b/docs/API_docs/constructors/chatInviteEmpty.md @@ -17,4 +17,5 @@ description: chatInviteEmpty attributes, type and example ``` $chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatInviteExported.md b/docs/API_docs/constructors/chatInviteExported.md index 7446f90c..c5cffa0c 100644 --- a/docs/API_docs/constructors/chatInviteExported.md +++ b/docs/API_docs/constructors/chatInviteExported.md @@ -22,4 +22,5 @@ description: chatInviteExported attributes, type and example ``` $chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatParticipant.md b/docs/API_docs/constructors/chatParticipant.md index f11a7929..2d7e7cdc 100644 --- a/docs/API_docs/constructors/chatParticipant.md +++ b/docs/API_docs/constructors/chatParticipant.md @@ -24,4 +24,5 @@ description: chatParticipant attributes, type and example ``` $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatParticipantAdmin.md b/docs/API_docs/constructors/chatParticipantAdmin.md index 5864cb5c..531ae6aa 100644 --- a/docs/API_docs/constructors/chatParticipantAdmin.md +++ b/docs/API_docs/constructors/chatParticipantAdmin.md @@ -24,4 +24,5 @@ description: chatParticipantAdmin attributes, type and example ``` $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatParticipantCreator.md b/docs/API_docs/constructors/chatParticipantCreator.md index 82862ec7..460f398d 100644 --- a/docs/API_docs/constructors/chatParticipantCreator.md +++ b/docs/API_docs/constructors/chatParticipantCreator.md @@ -22,4 +22,5 @@ description: chatParticipantCreator attributes, type and example ``` $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatParticipants.md b/docs/API_docs/constructors/chatParticipants.md index 84732ae7..39c08b98 100644 --- a/docs/API_docs/constructors/chatParticipants.md +++ b/docs/API_docs/constructors/chatParticipants.md @@ -24,4 +24,5 @@ description: chatParticipants attributes, type and example ``` $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatParticipantsForbidden.md b/docs/API_docs/constructors/chatParticipantsForbidden.md index 8863cc6a..549a38f7 100644 --- a/docs/API_docs/constructors/chatParticipantsForbidden.md +++ b/docs/API_docs/constructors/chatParticipantsForbidden.md @@ -23,4 +23,5 @@ description: chatParticipantsForbidden attributes, type and example ``` $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatPhoto.md b/docs/API_docs/constructors/chatPhoto.md index e47114e1..b84fa68e 100644 --- a/docs/API_docs/constructors/chatPhoto.md +++ b/docs/API_docs/constructors/chatPhoto.md @@ -23,4 +23,5 @@ description: chatPhoto attributes, type and example ``` $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/chatPhotoEmpty.md b/docs/API_docs/constructors/chatPhotoEmpty.md index 51e31432..9d090564 100644 --- a/docs/API_docs/constructors/chatPhotoEmpty.md +++ b/docs/API_docs/constructors/chatPhotoEmpty.md @@ -17,4 +17,5 @@ description: chatPhotoEmpty attributes, type and example ``` $chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md index 93ebca7c..78418ca4 100644 --- a/docs/API_docs/constructors/config.md +++ b/docs/API_docs/constructors/config.md @@ -44,4 +44,5 @@ description: config attributes, type and example ``` $config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contact.md b/docs/API_docs/constructors/contact.md index c11a8eb5..72220ce1 100644 --- a/docs/API_docs/constructors/contact.md +++ b/docs/API_docs/constructors/contact.md @@ -23,4 +23,5 @@ description: contact attributes, type and example ``` $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactBlocked.md b/docs/API_docs/constructors/contactBlocked.md index ded92b90..2b56ea6d 100644 --- a/docs/API_docs/constructors/contactBlocked.md +++ b/docs/API_docs/constructors/contactBlocked.md @@ -23,4 +23,5 @@ description: contactBlocked attributes, type and example ``` $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactLinkContact.md b/docs/API_docs/constructors/contactLinkContact.md index ff4733dd..02235bc7 100644 --- a/docs/API_docs/constructors/contactLinkContact.md +++ b/docs/API_docs/constructors/contactLinkContact.md @@ -17,4 +17,5 @@ description: contactLinkContact attributes, type and example ``` $contactLinkContact = ['_' => 'contactLinkContact', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactLinkHasPhone.md b/docs/API_docs/constructors/contactLinkHasPhone.md index 84b2acf9..6547e4d2 100644 --- a/docs/API_docs/constructors/contactLinkHasPhone.md +++ b/docs/API_docs/constructors/contactLinkHasPhone.md @@ -17,4 +17,5 @@ description: contactLinkHasPhone attributes, type and example ``` $contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactLinkNone.md b/docs/API_docs/constructors/contactLinkNone.md index 439416aa..a96a96ef 100644 --- a/docs/API_docs/constructors/contactLinkNone.md +++ b/docs/API_docs/constructors/contactLinkNone.md @@ -17,4 +17,5 @@ description: contactLinkNone attributes, type and example ``` $contactLinkNone = ['_' => 'contactLinkNone', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactLinkUnknown.md b/docs/API_docs/constructors/contactLinkUnknown.md index d7dcbf79..a6b7f4b2 100644 --- a/docs/API_docs/constructors/contactLinkUnknown.md +++ b/docs/API_docs/constructors/contactLinkUnknown.md @@ -17,4 +17,5 @@ description: contactLinkUnknown attributes, type and example ``` $contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contactStatus.md b/docs/API_docs/constructors/contactStatus.md index 6bca93e2..3a215884 100644 --- a/docs/API_docs/constructors/contactStatus.md +++ b/docs/API_docs/constructors/contactStatus.md @@ -23,4 +23,5 @@ description: contactStatus attributes, type and example ``` $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_blocked.md b/docs/API_docs/constructors/contacts_blocked.md index 7c6e4993..d448dee5 100644 --- a/docs/API_docs/constructors/contacts_blocked.md +++ b/docs/API_docs/constructors/contacts_blocked.md @@ -23,4 +23,5 @@ description: contacts_blocked attributes, type and example ``` $contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_blockedSlice.md b/docs/API_docs/constructors/contacts_blockedSlice.md index 108130f4..4fe8a483 100644 --- a/docs/API_docs/constructors/contacts_blockedSlice.md +++ b/docs/API_docs/constructors/contacts_blockedSlice.md @@ -24,4 +24,5 @@ description: contacts_blockedSlice attributes, type and example ``` $contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_contacts.md b/docs/API_docs/constructors/contacts_contacts.md index 41abfa44..1668f04d 100644 --- a/docs/API_docs/constructors/contacts_contacts.md +++ b/docs/API_docs/constructors/contacts_contacts.md @@ -23,4 +23,5 @@ description: contacts_contacts attributes, type and example ``` $contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_contactsNotModified.md b/docs/API_docs/constructors/contacts_contactsNotModified.md index b8af62af..f7350c64 100644 --- a/docs/API_docs/constructors/contacts_contactsNotModified.md +++ b/docs/API_docs/constructors/contacts_contactsNotModified.md @@ -17,4 +17,5 @@ description: contacts_contactsNotModified attributes, type and example ``` $contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_found.md b/docs/API_docs/constructors/contacts_found.md index 80ace315..585026d2 100644 --- a/docs/API_docs/constructors/contacts_found.md +++ b/docs/API_docs/constructors/contacts_found.md @@ -24,4 +24,5 @@ description: contacts_found attributes, type and example ``` $contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_importedContacts.md b/docs/API_docs/constructors/contacts_importedContacts.md index c491d5e7..e6a1014c 100644 --- a/docs/API_docs/constructors/contacts_importedContacts.md +++ b/docs/API_docs/constructors/contacts_importedContacts.md @@ -24,4 +24,5 @@ description: contacts_importedContacts attributes, type and example ``` $contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_link.md b/docs/API_docs/constructors/contacts_link.md index 3573e7bd..a7c8864e 100644 --- a/docs/API_docs/constructors/contacts_link.md +++ b/docs/API_docs/constructors/contacts_link.md @@ -24,4 +24,5 @@ description: contacts_link attributes, type and example ``` $contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_resolvedPeer.md b/docs/API_docs/constructors/contacts_resolvedPeer.md index 8e2482dd..7730d226 100644 --- a/docs/API_docs/constructors/contacts_resolvedPeer.md +++ b/docs/API_docs/constructors/contacts_resolvedPeer.md @@ -24,4 +24,5 @@ description: contacts_resolvedPeer attributes, type and example ``` $contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_topPeers.md b/docs/API_docs/constructors/contacts_topPeers.md index 3ec10cfe..d0e93d2d 100644 --- a/docs/API_docs/constructors/contacts_topPeers.md +++ b/docs/API_docs/constructors/contacts_topPeers.md @@ -24,4 +24,5 @@ description: contacts_topPeers attributes, type and example ``` $contacts_topPeers = ['_' => 'contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/contacts_topPeersNotModified.md b/docs/API_docs/constructors/contacts_topPeersNotModified.md index 3ab80ae0..2e5c6292 100644 --- a/docs/API_docs/constructors/contacts_topPeersNotModified.md +++ b/docs/API_docs/constructors/contacts_topPeersNotModified.md @@ -17,4 +17,5 @@ description: contacts_topPeersNotModified attributes, type and example ``` $contacts_topPeersNotModified = ['_' => 'contacts_topPeersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md index 51328dfb..b588c1a4 100644 --- a/docs/API_docs/constructors/dcOption.md +++ b/docs/API_docs/constructors/dcOption.md @@ -27,4 +27,5 @@ description: dcOption attributes, type and example ``` $dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md index 5a84e010..540b3667 100644 --- a/docs/API_docs/constructors/dialog.md +++ b/docs/API_docs/constructors/dialog.md @@ -29,4 +29,5 @@ description: dialog attributes, type and example ``` $dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/disabledFeature.md b/docs/API_docs/constructors/disabledFeature.md index 5d3c6d19..69c33c1d 100644 --- a/docs/API_docs/constructors/disabledFeature.md +++ b/docs/API_docs/constructors/disabledFeature.md @@ -23,4 +23,5 @@ description: disabledFeature attributes, type and example ``` $disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/document.md b/docs/API_docs/constructors/document.md index 222c406c..958cf985 100644 --- a/docs/API_docs/constructors/document.md +++ b/docs/API_docs/constructors/document.md @@ -30,4 +30,5 @@ description: document attributes, type and example ``` $document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeAnimated.md b/docs/API_docs/constructors/documentAttributeAnimated.md index 0d2bb9bb..1699c60d 100644 --- a/docs/API_docs/constructors/documentAttributeAnimated.md +++ b/docs/API_docs/constructors/documentAttributeAnimated.md @@ -17,4 +17,5 @@ description: documentAttributeAnimated attributes, type and example ``` $documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md index 27706e4b..c4c0eebf 100644 --- a/docs/API_docs/constructors/documentAttributeAudio.md +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -26,4 +26,5 @@ description: documentAttributeAudio attributes, type and example ``` $documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeFilename.md b/docs/API_docs/constructors/documentAttributeFilename.md index ff73a651..f9a507d6 100644 --- a/docs/API_docs/constructors/documentAttributeFilename.md +++ b/docs/API_docs/constructors/documentAttributeFilename.md @@ -22,4 +22,5 @@ description: documentAttributeFilename attributes, type and example ``` $documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeHasStickers.md b/docs/API_docs/constructors/documentAttributeHasStickers.md index ad5e07dc..9a66db5c 100644 --- a/docs/API_docs/constructors/documentAttributeHasStickers.md +++ b/docs/API_docs/constructors/documentAttributeHasStickers.md @@ -17,4 +17,5 @@ description: documentAttributeHasStickers attributes, type and example ``` $documentAttributeHasStickers = ['_' => 'documentAttributeHasStickers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeImageSize.md b/docs/API_docs/constructors/documentAttributeImageSize.md index f783f76d..c27da3cc 100644 --- a/docs/API_docs/constructors/documentAttributeImageSize.md +++ b/docs/API_docs/constructors/documentAttributeImageSize.md @@ -23,4 +23,5 @@ description: documentAttributeImageSize attributes, type and example ``` $documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md index c3373943..f2904839 100644 --- a/docs/API_docs/constructors/documentAttributeSticker.md +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -25,4 +25,5 @@ description: documentAttributeSticker attributes, type and example ``` $documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => true, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentAttributeVideo.md b/docs/API_docs/constructors/documentAttributeVideo.md index 32bba12f..054d568c 100644 --- a/docs/API_docs/constructors/documentAttributeVideo.md +++ b/docs/API_docs/constructors/documentAttributeVideo.md @@ -24,4 +24,5 @@ description: documentAttributeVideo attributes, type and example ``` $documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/documentEmpty.md b/docs/API_docs/constructors/documentEmpty.md index 5e6415ed..db12c65c 100644 --- a/docs/API_docs/constructors/documentEmpty.md +++ b/docs/API_docs/constructors/documentEmpty.md @@ -22,4 +22,5 @@ description: documentEmpty attributes, type and example ``` $documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md index 2b43da02..f094b0df 100644 --- a/docs/API_docs/constructors/draftMessage.md +++ b/docs/API_docs/constructors/draftMessage.md @@ -26,4 +26,5 @@ description: draftMessage attributes, type and example ``` $draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [Vector t], 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/draftMessageEmpty.md b/docs/API_docs/constructors/draftMessageEmpty.md index 9ae73574..bb51b163 100644 --- a/docs/API_docs/constructors/draftMessageEmpty.md +++ b/docs/API_docs/constructors/draftMessageEmpty.md @@ -17,4 +17,5 @@ description: draftMessageEmpty attributes, type and example ``` $draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedChat.md b/docs/API_docs/constructors/encryptedChat.md index 6a1e9454..c4443dcc 100644 --- a/docs/API_docs/constructors/encryptedChat.md +++ b/docs/API_docs/constructors/encryptedChat.md @@ -28,4 +28,5 @@ description: encryptedChat attributes, type and example ``` $encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedChatDiscarded.md b/docs/API_docs/constructors/encryptedChatDiscarded.md index 6fb93755..2dc9ce23 100644 --- a/docs/API_docs/constructors/encryptedChatDiscarded.md +++ b/docs/API_docs/constructors/encryptedChatDiscarded.md @@ -22,4 +22,5 @@ description: encryptedChatDiscarded attributes, type and example ``` $encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedChatEmpty.md b/docs/API_docs/constructors/encryptedChatEmpty.md index 45994b87..aa892dd1 100644 --- a/docs/API_docs/constructors/encryptedChatEmpty.md +++ b/docs/API_docs/constructors/encryptedChatEmpty.md @@ -22,4 +22,5 @@ description: encryptedChatEmpty attributes, type and example ``` $encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedChatRequested.md b/docs/API_docs/constructors/encryptedChatRequested.md index 9f1e4b17..7b20b917 100644 --- a/docs/API_docs/constructors/encryptedChatRequested.md +++ b/docs/API_docs/constructors/encryptedChatRequested.md @@ -27,4 +27,5 @@ description: encryptedChatRequested attributes, type and example ``` $encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedChatWaiting.md b/docs/API_docs/constructors/encryptedChatWaiting.md index 4e679df8..8ebec738 100644 --- a/docs/API_docs/constructors/encryptedChatWaiting.md +++ b/docs/API_docs/constructors/encryptedChatWaiting.md @@ -26,4 +26,5 @@ description: encryptedChatWaiting attributes, type and example ``` $encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedFile.md b/docs/API_docs/constructors/encryptedFile.md index aacddbc2..a96a0d8d 100644 --- a/docs/API_docs/constructors/encryptedFile.md +++ b/docs/API_docs/constructors/encryptedFile.md @@ -26,4 +26,5 @@ description: encryptedFile attributes, type and example ``` $encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedFileEmpty.md b/docs/API_docs/constructors/encryptedFileEmpty.md index 9633ef93..66e38cfd 100644 --- a/docs/API_docs/constructors/encryptedFileEmpty.md +++ b/docs/API_docs/constructors/encryptedFileEmpty.md @@ -17,4 +17,5 @@ description: encryptedFileEmpty attributes, type and example ``` $encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedMessage.md b/docs/API_docs/constructors/encryptedMessage.md index 6dc303e4..68cf582e 100644 --- a/docs/API_docs/constructors/encryptedMessage.md +++ b/docs/API_docs/constructors/encryptedMessage.md @@ -25,4 +25,5 @@ description: encryptedMessage attributes, type and example ``` $encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/encryptedMessageService.md b/docs/API_docs/constructors/encryptedMessageService.md index bdb240cd..68b5e26b 100644 --- a/docs/API_docs/constructors/encryptedMessageService.md +++ b/docs/API_docs/constructors/encryptedMessageService.md @@ -24,4 +24,5 @@ description: encryptedMessageService attributes, type and example ``` $encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/error.md b/docs/API_docs/constructors/error.md index 6b6c7e79..b2c2c42a 100644 --- a/docs/API_docs/constructors/error.md +++ b/docs/API_docs/constructors/error.md @@ -23,4 +23,5 @@ description: error attributes, type and example ``` $error = ['_' => 'error', 'code' => int, 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/exportedMessageLink.md b/docs/API_docs/constructors/exportedMessageLink.md index d1d0428b..95f91e02 100644 --- a/docs/API_docs/constructors/exportedMessageLink.md +++ b/docs/API_docs/constructors/exportedMessageLink.md @@ -22,4 +22,5 @@ description: exportedMessageLink attributes, type and example ``` $exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/fileLocation.md b/docs/API_docs/constructors/fileLocation.md index 5b13d61c..a892f208 100644 --- a/docs/API_docs/constructors/fileLocation.md +++ b/docs/API_docs/constructors/fileLocation.md @@ -25,4 +25,5 @@ description: fileLocation attributes, type and example ``` $fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/fileLocationUnavailable.md b/docs/API_docs/constructors/fileLocationUnavailable.md index 6e3c393d..04972a9d 100644 --- a/docs/API_docs/constructors/fileLocationUnavailable.md +++ b/docs/API_docs/constructors/fileLocationUnavailable.md @@ -24,4 +24,5 @@ description: fileLocationUnavailable attributes, type and example ``` $fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/foundGif.md b/docs/API_docs/constructors/foundGif.md index 8002d0b9..1db8cfd9 100644 --- a/docs/API_docs/constructors/foundGif.md +++ b/docs/API_docs/constructors/foundGif.md @@ -27,4 +27,5 @@ description: foundGif attributes, type and example ``` $foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/foundGifCached.md b/docs/API_docs/constructors/foundGifCached.md index 08ef6d43..93b3f4bd 100644 --- a/docs/API_docs/constructors/foundGifCached.md +++ b/docs/API_docs/constructors/foundGifCached.md @@ -24,4 +24,5 @@ description: foundGifCached attributes, type and example ``` $foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/game.md b/docs/API_docs/constructors/game.md index 987e8bab..3474bb5e 100644 --- a/docs/API_docs/constructors/game.md +++ b/docs/API_docs/constructors/game.md @@ -28,4 +28,5 @@ description: game attributes, type and example ``` $game = ['_' => 'game', 'id' => long, 'access_hash' => long, 'short_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'document' => Document, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/geoPoint.md b/docs/API_docs/constructors/geoPoint.md index b248092c..b8bc6d85 100644 --- a/docs/API_docs/constructors/geoPoint.md +++ b/docs/API_docs/constructors/geoPoint.md @@ -23,4 +23,5 @@ description: geoPoint attributes, type and example ``` $geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/geoPointEmpty.md b/docs/API_docs/constructors/geoPointEmpty.md index 97e09e08..cec7bfe9 100644 --- a/docs/API_docs/constructors/geoPointEmpty.md +++ b/docs/API_docs/constructors/geoPointEmpty.md @@ -17,4 +17,5 @@ description: geoPointEmpty attributes, type and example ``` $geoPointEmpty = ['_' => 'geoPointEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_appChangelog.md b/docs/API_docs/constructors/help_appChangelog.md index 15e829ce..a263fd53 100644 --- a/docs/API_docs/constructors/help_appChangelog.md +++ b/docs/API_docs/constructors/help_appChangelog.md @@ -22,4 +22,5 @@ description: help_appChangelog attributes, type and example ``` $help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_appChangelogEmpty.md b/docs/API_docs/constructors/help_appChangelogEmpty.md index e5cf48bb..781f6c2c 100644 --- a/docs/API_docs/constructors/help_appChangelogEmpty.md +++ b/docs/API_docs/constructors/help_appChangelogEmpty.md @@ -17,4 +17,5 @@ description: help_appChangelogEmpty attributes, type and example ``` $help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_appUpdate.md b/docs/API_docs/constructors/help_appUpdate.md index 96b847df..02a7fdef 100644 --- a/docs/API_docs/constructors/help_appUpdate.md +++ b/docs/API_docs/constructors/help_appUpdate.md @@ -25,4 +25,5 @@ description: help_appUpdate attributes, type and example ``` $help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_inviteText.md b/docs/API_docs/constructors/help_inviteText.md index accebfbf..aade0b4a 100644 --- a/docs/API_docs/constructors/help_inviteText.md +++ b/docs/API_docs/constructors/help_inviteText.md @@ -22,4 +22,5 @@ description: help_inviteText attributes, type and example ``` $help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_noAppUpdate.md b/docs/API_docs/constructors/help_noAppUpdate.md index 1a045da7..6880edb5 100644 --- a/docs/API_docs/constructors/help_noAppUpdate.md +++ b/docs/API_docs/constructors/help_noAppUpdate.md @@ -17,4 +17,5 @@ description: help_noAppUpdate attributes, type and example ``` $help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_support.md b/docs/API_docs/constructors/help_support.md index 62f7d603..c97733d2 100644 --- a/docs/API_docs/constructors/help_support.md +++ b/docs/API_docs/constructors/help_support.md @@ -23,4 +23,5 @@ description: help_support attributes, type and example ``` $help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/help_termsOfService.md b/docs/API_docs/constructors/help_termsOfService.md index a2b329d9..b9ae87fa 100644 --- a/docs/API_docs/constructors/help_termsOfService.md +++ b/docs/API_docs/constructors/help_termsOfService.md @@ -22,4 +22,5 @@ description: help_termsOfService attributes, type and example ``` $help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/highScore.md b/docs/API_docs/constructors/highScore.md index f7155a46..933ba432 100644 --- a/docs/API_docs/constructors/highScore.md +++ b/docs/API_docs/constructors/highScore.md @@ -24,4 +24,5 @@ description: highScore attributes, type and example ``` $highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/importedContact.md b/docs/API_docs/constructors/importedContact.md index 173f750a..eb4a7e96 100644 --- a/docs/API_docs/constructors/importedContact.md +++ b/docs/API_docs/constructors/importedContact.md @@ -23,4 +23,5 @@ description: importedContact attributes, type and example ``` $importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inlineBotSwitchPM.md b/docs/API_docs/constructors/inlineBotSwitchPM.md index f2a27fb8..ec1c28d7 100644 --- a/docs/API_docs/constructors/inlineBotSwitchPM.md +++ b/docs/API_docs/constructors/inlineBotSwitchPM.md @@ -23,4 +23,5 @@ description: inlineBotSwitchPM attributes, type and example ``` $inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputAppEvent.md b/docs/API_docs/constructors/inputAppEvent.md index a9d938bd..3d37ba86 100644 --- a/docs/API_docs/constructors/inputAppEvent.md +++ b/docs/API_docs/constructors/inputAppEvent.md @@ -25,4 +25,5 @@ description: inputAppEvent attributes, type and example ``` $inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageGame.md b/docs/API_docs/constructors/inputBotInlineMessageGame.md index 1388b127..16c22fe6 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageGame.md +++ b/docs/API_docs/constructors/inputBotInlineMessageGame.md @@ -22,4 +22,5 @@ description: inputBotInlineMessageGame attributes, type and example ``` $inputBotInlineMessageGame = ['_' => 'inputBotInlineMessageGame', 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageID.md b/docs/API_docs/constructors/inputBotInlineMessageID.md index 0b7acc20..bea4bf54 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageID.md +++ b/docs/API_docs/constructors/inputBotInlineMessageID.md @@ -24,4 +24,5 @@ description: inputBotInlineMessageID attributes, type and example ``` $inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md index 0dd524e8..25d1dded 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaAuto.md @@ -23,4 +23,5 @@ description: inputBotInlineMessageMediaAuto attributes, type and example ``` $inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md index f370de5f..cd54d6a6 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaContact.md @@ -25,4 +25,5 @@ description: inputBotInlineMessageMediaContact attributes, type and example ``` $inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md index bb36635b..41079f0b 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md @@ -23,4 +23,5 @@ description: inputBotInlineMessageMediaGeo attributes, type and example ``` $inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md index e4273a29..966237ad 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md +++ b/docs/API_docs/constructors/inputBotInlineMessageMediaVenue.md @@ -27,4 +27,5 @@ description: inputBotInlineMessageMediaVenue attributes, type and example ``` $inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md index d9cb8b10..2e3ce923 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageText.md +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -25,4 +25,5 @@ description: inputBotInlineMessageText attributes, type and example ``` $inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineResult.md b/docs/API_docs/constructors/inputBotInlineResult.md index 0fef7703..a597fa4d 100644 --- a/docs/API_docs/constructors/inputBotInlineResult.md +++ b/docs/API_docs/constructors/inputBotInlineResult.md @@ -33,4 +33,5 @@ description: inputBotInlineResult attributes, type and example ``` $inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineResultDocument.md b/docs/API_docs/constructors/inputBotInlineResultDocument.md index de5cf876..d9e88d1b 100644 --- a/docs/API_docs/constructors/inputBotInlineResultDocument.md +++ b/docs/API_docs/constructors/inputBotInlineResultDocument.md @@ -27,4 +27,5 @@ description: inputBotInlineResultDocument attributes, type and example ``` $inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineResultGame.md b/docs/API_docs/constructors/inputBotInlineResultGame.md index c371d7fb..28122d50 100644 --- a/docs/API_docs/constructors/inputBotInlineResultGame.md +++ b/docs/API_docs/constructors/inputBotInlineResultGame.md @@ -24,4 +24,5 @@ description: inputBotInlineResultGame attributes, type and example ``` $inputBotInlineResultGame = ['_' => 'inputBotInlineResultGame', 'id' => string, 'short_name' => string, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputBotInlineResultPhoto.md b/docs/API_docs/constructors/inputBotInlineResultPhoto.md index f9ee9e89..defe0a4b 100644 --- a/docs/API_docs/constructors/inputBotInlineResultPhoto.md +++ b/docs/API_docs/constructors/inputBotInlineResultPhoto.md @@ -25,4 +25,5 @@ description: inputBotInlineResultPhoto attributes, type and example ``` $inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputChannel.md b/docs/API_docs/constructors/inputChannel.md index cc973e18..32e90b2f 100644 --- a/docs/API_docs/constructors/inputChannel.md +++ b/docs/API_docs/constructors/inputChannel.md @@ -23,4 +23,18 @@ description: inputChannel attributes, type and example ``` $inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChannelEmpty.md b/docs/API_docs/constructors/inputChannelEmpty.md index d40ec5bd..40f83aa5 100644 --- a/docs/API_docs/constructors/inputChannelEmpty.md +++ b/docs/API_docs/constructors/inputChannelEmpty.md @@ -17,4 +17,18 @@ description: inputChannelEmpty attributes, type and example ``` $inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputChatPhoto.md b/docs/API_docs/constructors/inputChatPhoto.md index 2e473eca..f20e6085 100644 --- a/docs/API_docs/constructors/inputChatPhoto.md +++ b/docs/API_docs/constructors/inputChatPhoto.md @@ -22,4 +22,5 @@ description: inputChatPhoto attributes, type and example ``` $inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputChatPhotoEmpty.md b/docs/API_docs/constructors/inputChatPhotoEmpty.md index 7edad211..1f2b4d3e 100644 --- a/docs/API_docs/constructors/inputChatPhotoEmpty.md +++ b/docs/API_docs/constructors/inputChatPhotoEmpty.md @@ -17,4 +17,5 @@ description: inputChatPhotoEmpty attributes, type and example ``` $inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputChatUploadedPhoto.md b/docs/API_docs/constructors/inputChatUploadedPhoto.md index ecd7f5ac..111b4af7 100644 --- a/docs/API_docs/constructors/inputChatUploadedPhoto.md +++ b/docs/API_docs/constructors/inputChatUploadedPhoto.md @@ -22,4 +22,5 @@ description: inputChatUploadedPhoto attributes, type and example ``` $inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputDocument.md b/docs/API_docs/constructors/inputDocument.md index 6d1b80f4..1f48ae2c 100644 --- a/docs/API_docs/constructors/inputDocument.md +++ b/docs/API_docs/constructors/inputDocument.md @@ -23,4 +23,5 @@ description: inputDocument attributes, type and example ``` $inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputDocumentEmpty.md b/docs/API_docs/constructors/inputDocumentEmpty.md index 089427be..2466129d 100644 --- a/docs/API_docs/constructors/inputDocumentEmpty.md +++ b/docs/API_docs/constructors/inputDocumentEmpty.md @@ -17,4 +17,5 @@ description: inputDocumentEmpty attributes, type and example ``` $inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputDocumentFileLocation.md b/docs/API_docs/constructors/inputDocumentFileLocation.md index 33dc4e3b..b0466e78 100644 --- a/docs/API_docs/constructors/inputDocumentFileLocation.md +++ b/docs/API_docs/constructors/inputDocumentFileLocation.md @@ -24,4 +24,5 @@ description: inputDocumentFileLocation attributes, type and example ``` $inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedChat.md b/docs/API_docs/constructors/inputEncryptedChat.md index ff7c4e5a..9af2b170 100644 --- a/docs/API_docs/constructors/inputEncryptedChat.md +++ b/docs/API_docs/constructors/inputEncryptedChat.md @@ -23,4 +23,5 @@ description: inputEncryptedChat attributes, type and example ``` $inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedFile.md b/docs/API_docs/constructors/inputEncryptedFile.md index d8e2fd7a..f5169408 100644 --- a/docs/API_docs/constructors/inputEncryptedFile.md +++ b/docs/API_docs/constructors/inputEncryptedFile.md @@ -23,4 +23,5 @@ description: inputEncryptedFile attributes, type and example ``` $inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md index 0f8fea21..aa39f0c0 100644 --- a/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileBigUploaded.md @@ -24,4 +24,5 @@ description: inputEncryptedFileBigUploaded attributes, type and example ``` $inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedFileEmpty.md b/docs/API_docs/constructors/inputEncryptedFileEmpty.md index 9548a02f..bfeafe7f 100644 --- a/docs/API_docs/constructors/inputEncryptedFileEmpty.md +++ b/docs/API_docs/constructors/inputEncryptedFileEmpty.md @@ -17,4 +17,5 @@ description: inputEncryptedFileEmpty attributes, type and example ``` $inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedFileLocation.md b/docs/API_docs/constructors/inputEncryptedFileLocation.md index 22ca4629..e2eac738 100644 --- a/docs/API_docs/constructors/inputEncryptedFileLocation.md +++ b/docs/API_docs/constructors/inputEncryptedFileLocation.md @@ -23,4 +23,5 @@ description: inputEncryptedFileLocation attributes, type and example ``` $inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputEncryptedFileUploaded.md b/docs/API_docs/constructors/inputEncryptedFileUploaded.md index 5d8e0cae..bfba6fa5 100644 --- a/docs/API_docs/constructors/inputEncryptedFileUploaded.md +++ b/docs/API_docs/constructors/inputEncryptedFileUploaded.md @@ -25,4 +25,5 @@ description: inputEncryptedFileUploaded attributes, type and example ``` $inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputFile.md b/docs/API_docs/constructors/inputFile.md index 662f9bed..2f9eaf71 100644 --- a/docs/API_docs/constructors/inputFile.md +++ b/docs/API_docs/constructors/inputFile.md @@ -25,4 +25,5 @@ description: inputFile attributes, type and example ``` $inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputFileBig.md b/docs/API_docs/constructors/inputFileBig.md index 92cef306..1db34177 100644 --- a/docs/API_docs/constructors/inputFileBig.md +++ b/docs/API_docs/constructors/inputFileBig.md @@ -24,4 +24,5 @@ description: inputFileBig attributes, type and example ``` $inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputFileLocation.md b/docs/API_docs/constructors/inputFileLocation.md index e76bf621..45b7ddd4 100644 --- a/docs/API_docs/constructors/inputFileLocation.md +++ b/docs/API_docs/constructors/inputFileLocation.md @@ -24,4 +24,5 @@ description: inputFileLocation attributes, type and example ``` $inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputGameID.md b/docs/API_docs/constructors/inputGameID.md index 24c1c48e..4864891c 100644 --- a/docs/API_docs/constructors/inputGameID.md +++ b/docs/API_docs/constructors/inputGameID.md @@ -23,4 +23,5 @@ description: inputGameID attributes, type and example ``` $inputGameID = ['_' => 'inputGameID', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputGameShortName.md b/docs/API_docs/constructors/inputGameShortName.md index 9c1ca46b..c0ef54a1 100644 --- a/docs/API_docs/constructors/inputGameShortName.md +++ b/docs/API_docs/constructors/inputGameShortName.md @@ -23,4 +23,5 @@ description: inputGameShortName attributes, type and example ``` $inputGameShortName = ['_' => 'inputGameShortName', 'bot_id' => InputUser, 'short_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputGeoPoint.md b/docs/API_docs/constructors/inputGeoPoint.md index 792cb9a9..95eda9c6 100644 --- a/docs/API_docs/constructors/inputGeoPoint.md +++ b/docs/API_docs/constructors/inputGeoPoint.md @@ -23,4 +23,5 @@ description: inputGeoPoint attributes, type and example ``` $inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputGeoPointEmpty.md b/docs/API_docs/constructors/inputGeoPointEmpty.md index 6bfb339e..2461616a 100644 --- a/docs/API_docs/constructors/inputGeoPointEmpty.md +++ b/docs/API_docs/constructors/inputGeoPointEmpty.md @@ -17,4 +17,5 @@ description: inputGeoPointEmpty attributes, type and example ``` $inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaContact.md b/docs/API_docs/constructors/inputMediaContact.md index 7dab254c..844e32d0 100644 --- a/docs/API_docs/constructors/inputMediaContact.md +++ b/docs/API_docs/constructors/inputMediaContact.md @@ -24,4 +24,5 @@ description: inputMediaContact attributes, type and example ``` $inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaDocument.md b/docs/API_docs/constructors/inputMediaDocument.md index 8f6f7e9c..60ac6ff4 100644 --- a/docs/API_docs/constructors/inputMediaDocument.md +++ b/docs/API_docs/constructors/inputMediaDocument.md @@ -23,4 +23,5 @@ description: inputMediaDocument attributes, type and example ``` $inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaDocumentExternal.md b/docs/API_docs/constructors/inputMediaDocumentExternal.md index bae204b2..5620a3af 100644 --- a/docs/API_docs/constructors/inputMediaDocumentExternal.md +++ b/docs/API_docs/constructors/inputMediaDocumentExternal.md @@ -23,4 +23,5 @@ description: inputMediaDocumentExternal attributes, type and example ``` $inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => string, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaEmpty.md b/docs/API_docs/constructors/inputMediaEmpty.md index be60d9a1..c5fd1e91 100644 --- a/docs/API_docs/constructors/inputMediaEmpty.md +++ b/docs/API_docs/constructors/inputMediaEmpty.md @@ -17,4 +17,5 @@ description: inputMediaEmpty attributes, type and example ``` $inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaGame.md b/docs/API_docs/constructors/inputMediaGame.md index e2d66541..edafc9e1 100644 --- a/docs/API_docs/constructors/inputMediaGame.md +++ b/docs/API_docs/constructors/inputMediaGame.md @@ -22,4 +22,5 @@ description: inputMediaGame attributes, type and example ``` $inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaGeoPoint.md b/docs/API_docs/constructors/inputMediaGeoPoint.md index f6df21c6..d6d8c537 100644 --- a/docs/API_docs/constructors/inputMediaGeoPoint.md +++ b/docs/API_docs/constructors/inputMediaGeoPoint.md @@ -22,4 +22,5 @@ description: inputMediaGeoPoint attributes, type and example ``` $inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaGifExternal.md b/docs/API_docs/constructors/inputMediaGifExternal.md index 2c1449df..6054eb1b 100644 --- a/docs/API_docs/constructors/inputMediaGifExternal.md +++ b/docs/API_docs/constructors/inputMediaGifExternal.md @@ -23,4 +23,5 @@ description: inputMediaGifExternal attributes, type and example ``` $inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaPhoto.md b/docs/API_docs/constructors/inputMediaPhoto.md index db7ebc07..b4b8c5b1 100644 --- a/docs/API_docs/constructors/inputMediaPhoto.md +++ b/docs/API_docs/constructors/inputMediaPhoto.md @@ -23,4 +23,5 @@ description: inputMediaPhoto attributes, type and example ``` $inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaPhotoExternal.md b/docs/API_docs/constructors/inputMediaPhotoExternal.md index e3e6a9af..08cf4a84 100644 --- a/docs/API_docs/constructors/inputMediaPhotoExternal.md +++ b/docs/API_docs/constructors/inputMediaPhotoExternal.md @@ -23,4 +23,5 @@ description: inputMediaPhotoExternal attributes, type and example ``` $inputMediaPhotoExternal = ['_' => 'inputMediaPhotoExternal', 'url' => string, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaUploadedDocument.md b/docs/API_docs/constructors/inputMediaUploadedDocument.md index 1e17befb..af393d4c 100644 --- a/docs/API_docs/constructors/inputMediaUploadedDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedDocument.md @@ -26,4 +26,5 @@ description: inputMediaUploadedDocument attributes, type and example ``` $inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaUploadedPhoto.md b/docs/API_docs/constructors/inputMediaUploadedPhoto.md index 5f4b391f..1bfcbefc 100644 --- a/docs/API_docs/constructors/inputMediaUploadedPhoto.md +++ b/docs/API_docs/constructors/inputMediaUploadedPhoto.md @@ -24,4 +24,5 @@ description: inputMediaUploadedPhoto attributes, type and example ``` $inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md index caeff3bf..3eb60b2b 100644 --- a/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md +++ b/docs/API_docs/constructors/inputMediaUploadedThumbDocument.md @@ -27,4 +27,5 @@ description: inputMediaUploadedThumbDocument attributes, type and example ``` $inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMediaVenue.md b/docs/API_docs/constructors/inputMediaVenue.md index e4059c99..f0d6a21a 100644 --- a/docs/API_docs/constructors/inputMediaVenue.md +++ b/docs/API_docs/constructors/inputMediaVenue.md @@ -26,4 +26,5 @@ description: inputMediaVenue attributes, type and example ``` $inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessageEntityMentionName.md b/docs/API_docs/constructors/inputMessageEntityMentionName.md index eb6ca99b..ef83a8cb 100644 --- a/docs/API_docs/constructors/inputMessageEntityMentionName.md +++ b/docs/API_docs/constructors/inputMessageEntityMentionName.md @@ -24,4 +24,5 @@ description: inputMessageEntityMentionName attributes, type and example ``` $inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md index 37cd9e89..98d20dbb 100644 --- a/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterChatPhotos.md @@ -17,4 +17,5 @@ description: inputMessagesFilterChatPhotos attributes, type and example ``` $inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterDocument.md b/docs/API_docs/constructors/inputMessagesFilterDocument.md index 1f10a27d..0035ee19 100644 --- a/docs/API_docs/constructors/inputMessagesFilterDocument.md +++ b/docs/API_docs/constructors/inputMessagesFilterDocument.md @@ -17,4 +17,5 @@ description: inputMessagesFilterDocument attributes, type and example ``` $inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterEmpty.md b/docs/API_docs/constructors/inputMessagesFilterEmpty.md index 86761bba..1100d26e 100644 --- a/docs/API_docs/constructors/inputMessagesFilterEmpty.md +++ b/docs/API_docs/constructors/inputMessagesFilterEmpty.md @@ -17,4 +17,5 @@ description: inputMessagesFilterEmpty attributes, type and example ``` $inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterGif.md b/docs/API_docs/constructors/inputMessagesFilterGif.md index 9ea7a126..d0ea3204 100644 --- a/docs/API_docs/constructors/inputMessagesFilterGif.md +++ b/docs/API_docs/constructors/inputMessagesFilterGif.md @@ -17,4 +17,5 @@ description: inputMessagesFilterGif attributes, type and example ``` $inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterMusic.md b/docs/API_docs/constructors/inputMessagesFilterMusic.md index 93fc6394..dfe18385 100644 --- a/docs/API_docs/constructors/inputMessagesFilterMusic.md +++ b/docs/API_docs/constructors/inputMessagesFilterMusic.md @@ -17,4 +17,5 @@ description: inputMessagesFilterMusic attributes, type and example ``` $inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md index 12445813..858cd78f 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideo.md @@ -17,4 +17,5 @@ description: inputMessagesFilterPhotoVideo attributes, type and example ``` $inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md index 1117897c..7556e82b 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -17,4 +17,5 @@ description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ``` $inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterPhotos.md b/docs/API_docs/constructors/inputMessagesFilterPhotos.md index 43581ee1..133f0e86 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhotos.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhotos.md @@ -17,4 +17,5 @@ description: inputMessagesFilterPhotos attributes, type and example ``` $inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterUrl.md b/docs/API_docs/constructors/inputMessagesFilterUrl.md index d9de39da..c0a42766 100644 --- a/docs/API_docs/constructors/inputMessagesFilterUrl.md +++ b/docs/API_docs/constructors/inputMessagesFilterUrl.md @@ -17,4 +17,5 @@ description: inputMessagesFilterUrl attributes, type and example ``` $inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterVideo.md b/docs/API_docs/constructors/inputMessagesFilterVideo.md index 8a621d7f..58c63d0a 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVideo.md +++ b/docs/API_docs/constructors/inputMessagesFilterVideo.md @@ -17,4 +17,5 @@ description: inputMessagesFilterVideo attributes, type and example ``` $inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputMessagesFilterVoice.md b/docs/API_docs/constructors/inputMessagesFilterVoice.md index 96fb09bb..e12004d7 100644 --- a/docs/API_docs/constructors/inputMessagesFilterVoice.md +++ b/docs/API_docs/constructors/inputMessagesFilterVoice.md @@ -17,4 +17,5 @@ description: inputMessagesFilterVoice attributes, type and example ``` $inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputNotifyAll.md b/docs/API_docs/constructors/inputNotifyAll.md index ec141ca2..7695123f 100644 --- a/docs/API_docs/constructors/inputNotifyAll.md +++ b/docs/API_docs/constructors/inputNotifyAll.md @@ -17,4 +17,5 @@ description: inputNotifyAll attributes, type and example ``` $inputNotifyAll = ['_' => 'inputNotifyAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputNotifyChats.md b/docs/API_docs/constructors/inputNotifyChats.md index f217cb53..de35a351 100644 --- a/docs/API_docs/constructors/inputNotifyChats.md +++ b/docs/API_docs/constructors/inputNotifyChats.md @@ -17,4 +17,5 @@ description: inputNotifyChats attributes, type and example ``` $inputNotifyChats = ['_' => 'inputNotifyChats', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputNotifyPeer.md b/docs/API_docs/constructors/inputNotifyPeer.md index 2741ab77..0a42ae32 100644 --- a/docs/API_docs/constructors/inputNotifyPeer.md +++ b/docs/API_docs/constructors/inputNotifyPeer.md @@ -22,4 +22,5 @@ description: inputNotifyPeer attributes, type and example ``` $inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputNotifyUsers.md b/docs/API_docs/constructors/inputNotifyUsers.md index 252cb85b..0080bbae 100644 --- a/docs/API_docs/constructors/inputNotifyUsers.md +++ b/docs/API_docs/constructors/inputNotifyUsers.md @@ -17,4 +17,5 @@ description: inputNotifyUsers attributes, type and example ``` $inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPeerChannel.md b/docs/API_docs/constructors/inputPeerChannel.md index 831ec775..996fa9a8 100644 --- a/docs/API_docs/constructors/inputPeerChannel.md +++ b/docs/API_docs/constructors/inputPeerChannel.md @@ -23,4 +23,18 @@ description: inputPeerChannel attributes, type and example ``` $inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerChat.md b/docs/API_docs/constructors/inputPeerChat.md index a2b044e7..7bc6a189 100644 --- a/docs/API_docs/constructors/inputPeerChat.md +++ b/docs/API_docs/constructors/inputPeerChat.md @@ -22,4 +22,18 @@ description: inputPeerChat attributes, type and example ``` $inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerEmpty.md b/docs/API_docs/constructors/inputPeerEmpty.md index 902231cd..17ca2dcf 100644 --- a/docs/API_docs/constructors/inputPeerEmpty.md +++ b/docs/API_docs/constructors/inputPeerEmpty.md @@ -17,4 +17,18 @@ description: inputPeerEmpty attributes, type and example ``` $inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md index 9bc2ec78..91f5c798 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsAll.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsAll.md @@ -17,4 +17,5 @@ description: inputPeerNotifyEventsAll attributes, type and example ``` $inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md index 8b652905..0771b864 100644 --- a/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/inputPeerNotifyEventsEmpty.md @@ -17,4 +17,5 @@ description: inputPeerNotifyEventsEmpty attributes, type and example ``` $inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md index 1b116048..a8cb2491 100644 --- a/docs/API_docs/constructors/inputPeerNotifySettings.md +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -25,4 +25,5 @@ description: inputPeerNotifySettings attributes, type and example ``` $inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPeerSelf.md b/docs/API_docs/constructors/inputPeerSelf.md index f6b89172..fc290783 100644 --- a/docs/API_docs/constructors/inputPeerSelf.md +++ b/docs/API_docs/constructors/inputPeerSelf.md @@ -17,4 +17,18 @@ description: inputPeerSelf attributes, type and example ``` $inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPeerUser.md b/docs/API_docs/constructors/inputPeerUser.md index 1e081a56..e671cfa8 100644 --- a/docs/API_docs/constructors/inputPeerUser.md +++ b/docs/API_docs/constructors/inputPeerUser.md @@ -23,4 +23,18 @@ description: inputPeerUser attributes, type and example ``` $inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputPhoneContact.md b/docs/API_docs/constructors/inputPhoneContact.md index 6dcad61a..44ef7955 100644 --- a/docs/API_docs/constructors/inputPhoneContact.md +++ b/docs/API_docs/constructors/inputPhoneContact.md @@ -25,4 +25,5 @@ description: inputPhoneContact attributes, type and example ``` $inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPhoto.md b/docs/API_docs/constructors/inputPhoto.md index 72172344..0b4edae5 100644 --- a/docs/API_docs/constructors/inputPhoto.md +++ b/docs/API_docs/constructors/inputPhoto.md @@ -23,4 +23,5 @@ description: inputPhoto attributes, type and example ``` $inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPhotoEmpty.md b/docs/API_docs/constructors/inputPhotoEmpty.md index fc7dbe2d..5b140dfc 100644 --- a/docs/API_docs/constructors/inputPhotoEmpty.md +++ b/docs/API_docs/constructors/inputPhotoEmpty.md @@ -17,4 +17,5 @@ description: inputPhotoEmpty attributes, type and example ``` $inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md index 872884d1..4ddea8d6 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md +++ b/docs/API_docs/constructors/inputPrivacyKeyChatInvite.md @@ -17,4 +17,5 @@ description: inputPrivacyKeyChatInvite attributes, type and example ``` $inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md index 6dfe73ba..a87a471e 100644 --- a/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/inputPrivacyKeyStatusTimestamp.md @@ -17,4 +17,5 @@ description: inputPrivacyKeyStatusTimestamp attributes, type and example ``` $inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md index 4a3395c6..54bc79f9 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowAll.md @@ -17,4 +17,5 @@ description: inputPrivacyValueAllowAll attributes, type and example ``` $inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md index 54956388..3711910d 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowContacts.md @@ -17,4 +17,5 @@ description: inputPrivacyValueAllowContacts attributes, type and example ``` $inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md index 42888bf2..8b37f98f 100644 --- a/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueAllowUsers.md @@ -22,4 +22,5 @@ description: inputPrivacyValueAllowUsers attributes, type and example ``` $inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md index 284ff6c6..0b4ce33b 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowAll.md @@ -17,4 +17,5 @@ description: inputPrivacyValueDisallowAll attributes, type and example ``` $inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md index 28340639..a903d753 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowContacts.md @@ -17,4 +17,5 @@ description: inputPrivacyValueDisallowContacts attributes, type and example ``` $inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md index 200874dd..0e974957 100644 --- a/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/inputPrivacyValueDisallowUsers.md @@ -22,4 +22,5 @@ description: inputPrivacyValueDisallowUsers attributes, type and example ``` $inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputReportReasonOther.md b/docs/API_docs/constructors/inputReportReasonOther.md index 1084ed42..d240e74a 100644 --- a/docs/API_docs/constructors/inputReportReasonOther.md +++ b/docs/API_docs/constructors/inputReportReasonOther.md @@ -22,4 +22,5 @@ description: inputReportReasonOther attributes, type and example ``` $inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputReportReasonPornography.md b/docs/API_docs/constructors/inputReportReasonPornography.md index a21c52f5..737b201e 100644 --- a/docs/API_docs/constructors/inputReportReasonPornography.md +++ b/docs/API_docs/constructors/inputReportReasonPornography.md @@ -17,4 +17,5 @@ description: inputReportReasonPornography attributes, type and example ``` $inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputReportReasonSpam.md b/docs/API_docs/constructors/inputReportReasonSpam.md index 0d03afa4..3a5e7b6e 100644 --- a/docs/API_docs/constructors/inputReportReasonSpam.md +++ b/docs/API_docs/constructors/inputReportReasonSpam.md @@ -17,4 +17,5 @@ description: inputReportReasonSpam attributes, type and example ``` $inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputReportReasonViolence.md b/docs/API_docs/constructors/inputReportReasonViolence.md index 085a629a..b59e8a53 100644 --- a/docs/API_docs/constructors/inputReportReasonViolence.md +++ b/docs/API_docs/constructors/inputReportReasonViolence.md @@ -17,4 +17,5 @@ description: inputReportReasonViolence attributes, type and example ``` $inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputStickerSetEmpty.md b/docs/API_docs/constructors/inputStickerSetEmpty.md index bbe3a642..7b851e1f 100644 --- a/docs/API_docs/constructors/inputStickerSetEmpty.md +++ b/docs/API_docs/constructors/inputStickerSetEmpty.md @@ -17,4 +17,5 @@ description: inputStickerSetEmpty attributes, type and example ``` $inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputStickerSetID.md b/docs/API_docs/constructors/inputStickerSetID.md index 7189e367..61269d9a 100644 --- a/docs/API_docs/constructors/inputStickerSetID.md +++ b/docs/API_docs/constructors/inputStickerSetID.md @@ -23,4 +23,5 @@ description: inputStickerSetID attributes, type and example ``` $inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputStickerSetShortName.md b/docs/API_docs/constructors/inputStickerSetShortName.md index 4cebd065..78f48184 100644 --- a/docs/API_docs/constructors/inputStickerSetShortName.md +++ b/docs/API_docs/constructors/inputStickerSetShortName.md @@ -22,4 +22,5 @@ description: inputStickerSetShortName attributes, type and example ``` $inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputStickeredMediaDocument.md b/docs/API_docs/constructors/inputStickeredMediaDocument.md index 7066ca21..231388dc 100644 --- a/docs/API_docs/constructors/inputStickeredMediaDocument.md +++ b/docs/API_docs/constructors/inputStickeredMediaDocument.md @@ -22,4 +22,5 @@ description: inputStickeredMediaDocument attributes, type and example ``` $inputStickeredMediaDocument = ['_' => 'inputStickeredMediaDocument', 'id' => InputDocument, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputStickeredMediaPhoto.md b/docs/API_docs/constructors/inputStickeredMediaPhoto.md index ed4e9126..990ba56f 100644 --- a/docs/API_docs/constructors/inputStickeredMediaPhoto.md +++ b/docs/API_docs/constructors/inputStickeredMediaPhoto.md @@ -22,4 +22,5 @@ description: inputStickeredMediaPhoto attributes, type and example ``` $inputStickeredMediaPhoto = ['_' => 'inputStickeredMediaPhoto', 'id' => InputPhoto, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/inputUser.md b/docs/API_docs/constructors/inputUser.md index b577f9da..1ac7cbe3 100644 --- a/docs/API_docs/constructors/inputUser.md +++ b/docs/API_docs/constructors/inputUser.md @@ -23,4 +23,18 @@ description: inputUser attributes, type and example ``` $inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputUserEmpty.md b/docs/API_docs/constructors/inputUserEmpty.md index f926a65e..969d5a54 100644 --- a/docs/API_docs/constructors/inputUserEmpty.md +++ b/docs/API_docs/constructors/inputUserEmpty.md @@ -17,4 +17,18 @@ description: inputUserEmpty attributes, type and example ``` $inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/inputUserSelf.md b/docs/API_docs/constructors/inputUserSelf.md index 92235855..86bf7a3d 100644 --- a/docs/API_docs/constructors/inputUserSelf.md +++ b/docs/API_docs/constructors/inputUserSelf.md @@ -17,4 +17,18 @@ description: inputUserSelf attributes, type and example ``` $inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/keyboardButton.md b/docs/API_docs/constructors/keyboardButton.md index f67b177c..1fb0087f 100644 --- a/docs/API_docs/constructors/keyboardButton.md +++ b/docs/API_docs/constructors/keyboardButton.md @@ -22,4 +22,5 @@ description: keyboardButton attributes, type and example ``` $keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonCallback.md b/docs/API_docs/constructors/keyboardButtonCallback.md index e74e7633..58add404 100644 --- a/docs/API_docs/constructors/keyboardButtonCallback.md +++ b/docs/API_docs/constructors/keyboardButtonCallback.md @@ -23,4 +23,5 @@ description: keyboardButtonCallback attributes, type and example ``` $keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonGame.md b/docs/API_docs/constructors/keyboardButtonGame.md index 96f6e15e..38820c57 100644 --- a/docs/API_docs/constructors/keyboardButtonGame.md +++ b/docs/API_docs/constructors/keyboardButtonGame.md @@ -22,4 +22,5 @@ description: keyboardButtonGame attributes, type and example ``` $keyboardButtonGame = ['_' => 'keyboardButtonGame', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md index a7968ca6..c31e3194 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md +++ b/docs/API_docs/constructors/keyboardButtonRequestGeoLocation.md @@ -22,4 +22,5 @@ description: keyboardButtonRequestGeoLocation attributes, type and example ``` $keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonRequestPhone.md b/docs/API_docs/constructors/keyboardButtonRequestPhone.md index ac9cd834..734b8f41 100644 --- a/docs/API_docs/constructors/keyboardButtonRequestPhone.md +++ b/docs/API_docs/constructors/keyboardButtonRequestPhone.md @@ -22,4 +22,5 @@ description: keyboardButtonRequestPhone attributes, type and example ``` $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonRow.md b/docs/API_docs/constructors/keyboardButtonRow.md index 919953be..d1379d5d 100644 --- a/docs/API_docs/constructors/keyboardButtonRow.md +++ b/docs/API_docs/constructors/keyboardButtonRow.md @@ -22,4 +22,5 @@ description: keyboardButtonRow attributes, type and example ``` $keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md index 8c8aaf88..a3c30769 100644 --- a/docs/API_docs/constructors/keyboardButtonSwitchInline.md +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -24,4 +24,5 @@ description: keyboardButtonSwitchInline attributes, type and example ``` $keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/keyboardButtonUrl.md b/docs/API_docs/constructors/keyboardButtonUrl.md index c590b58e..82b36411 100644 --- a/docs/API_docs/constructors/keyboardButtonUrl.md +++ b/docs/API_docs/constructors/keyboardButtonUrl.md @@ -23,4 +23,5 @@ description: keyboardButtonUrl attributes, type and example ``` $keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/maskCoords.md b/docs/API_docs/constructors/maskCoords.md index f8e81e4c..c9c6cddc 100644 --- a/docs/API_docs/constructors/maskCoords.md +++ b/docs/API_docs/constructors/maskCoords.md @@ -25,4 +25,5 @@ description: maskCoords attributes, type and example ``` $maskCoords = ['_' => 'maskCoords', 'n' => int, 'x' => double, 'y' => double, 'zoom' => double, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/message.md b/docs/API_docs/constructors/message.md index 1eefb80c..23c292a7 100644 --- a/docs/API_docs/constructors/message.md +++ b/docs/API_docs/constructors/message.md @@ -39,4 +39,5 @@ description: message attributes, type and example ``` $message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, 'edit_date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChannelCreate.md b/docs/API_docs/constructors/messageActionChannelCreate.md index 8ecacf17..c810e49c 100644 --- a/docs/API_docs/constructors/messageActionChannelCreate.md +++ b/docs/API_docs/constructors/messageActionChannelCreate.md @@ -22,4 +22,5 @@ description: messageActionChannelCreate attributes, type and example ``` $messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md index 34fe5825..735f6773 100644 --- a/docs/API_docs/constructors/messageActionChannelMigrateFrom.md +++ b/docs/API_docs/constructors/messageActionChannelMigrateFrom.md @@ -23,4 +23,5 @@ description: messageActionChannelMigrateFrom attributes, type and example ``` $messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatAddUser.md b/docs/API_docs/constructors/messageActionChatAddUser.md index 2c87731d..9ac2a47f 100644 --- a/docs/API_docs/constructors/messageActionChatAddUser.md +++ b/docs/API_docs/constructors/messageActionChatAddUser.md @@ -22,4 +22,5 @@ description: messageActionChatAddUser attributes, type and example ``` $messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatCreate.md b/docs/API_docs/constructors/messageActionChatCreate.md index 0a9c5ff7..4a4b7609 100644 --- a/docs/API_docs/constructors/messageActionChatCreate.md +++ b/docs/API_docs/constructors/messageActionChatCreate.md @@ -23,4 +23,5 @@ description: messageActionChatCreate attributes, type and example ``` $messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatDeletePhoto.md b/docs/API_docs/constructors/messageActionChatDeletePhoto.md index b7a7ed40..3658408d 100644 --- a/docs/API_docs/constructors/messageActionChatDeletePhoto.md +++ b/docs/API_docs/constructors/messageActionChatDeletePhoto.md @@ -17,4 +17,5 @@ description: messageActionChatDeletePhoto attributes, type and example ``` $messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatDeleteUser.md b/docs/API_docs/constructors/messageActionChatDeleteUser.md index 0e129bae..379d9457 100644 --- a/docs/API_docs/constructors/messageActionChatDeleteUser.md +++ b/docs/API_docs/constructors/messageActionChatDeleteUser.md @@ -22,4 +22,5 @@ description: messageActionChatDeleteUser attributes, type and example ``` $messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatEditPhoto.md b/docs/API_docs/constructors/messageActionChatEditPhoto.md index 0582bd4a..daee2af4 100644 --- a/docs/API_docs/constructors/messageActionChatEditPhoto.md +++ b/docs/API_docs/constructors/messageActionChatEditPhoto.md @@ -22,4 +22,5 @@ description: messageActionChatEditPhoto attributes, type and example ``` $messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatEditTitle.md b/docs/API_docs/constructors/messageActionChatEditTitle.md index 0ac22537..62dd339b 100644 --- a/docs/API_docs/constructors/messageActionChatEditTitle.md +++ b/docs/API_docs/constructors/messageActionChatEditTitle.md @@ -22,4 +22,5 @@ description: messageActionChatEditTitle attributes, type and example ``` $messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatJoinedByLink.md b/docs/API_docs/constructors/messageActionChatJoinedByLink.md index 4f1595a3..37e0b400 100644 --- a/docs/API_docs/constructors/messageActionChatJoinedByLink.md +++ b/docs/API_docs/constructors/messageActionChatJoinedByLink.md @@ -22,4 +22,5 @@ description: messageActionChatJoinedByLink attributes, type and example ``` $messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionChatMigrateTo.md b/docs/API_docs/constructors/messageActionChatMigrateTo.md index 487f769d..de68ff9a 100644 --- a/docs/API_docs/constructors/messageActionChatMigrateTo.md +++ b/docs/API_docs/constructors/messageActionChatMigrateTo.md @@ -22,4 +22,5 @@ description: messageActionChatMigrateTo attributes, type and example ``` $messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionEmpty.md b/docs/API_docs/constructors/messageActionEmpty.md index 92d2b5de..8693a974 100644 --- a/docs/API_docs/constructors/messageActionEmpty.md +++ b/docs/API_docs/constructors/messageActionEmpty.md @@ -17,4 +17,5 @@ description: messageActionEmpty attributes, type and example ``` $messageActionEmpty = ['_' => 'messageActionEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionGameScore.md b/docs/API_docs/constructors/messageActionGameScore.md index bfc6d8c9..9897dbed 100644 --- a/docs/API_docs/constructors/messageActionGameScore.md +++ b/docs/API_docs/constructors/messageActionGameScore.md @@ -23,4 +23,5 @@ description: messageActionGameScore attributes, type and example ``` $messageActionGameScore = ['_' => 'messageActionGameScore', 'game_id' => long, 'score' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionHistoryClear.md b/docs/API_docs/constructors/messageActionHistoryClear.md index a1acd014..2025dd89 100644 --- a/docs/API_docs/constructors/messageActionHistoryClear.md +++ b/docs/API_docs/constructors/messageActionHistoryClear.md @@ -17,4 +17,5 @@ description: messageActionHistoryClear attributes, type and example ``` $messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageActionPinMessage.md b/docs/API_docs/constructors/messageActionPinMessage.md index fcd35c52..43318433 100644 --- a/docs/API_docs/constructors/messageActionPinMessage.md +++ b/docs/API_docs/constructors/messageActionPinMessage.md @@ -17,4 +17,5 @@ description: messageActionPinMessage attributes, type and example ``` $messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEmpty.md b/docs/API_docs/constructors/messageEmpty.md index ea5826b2..7a1d58bc 100644 --- a/docs/API_docs/constructors/messageEmpty.md +++ b/docs/API_docs/constructors/messageEmpty.md @@ -22,4 +22,5 @@ description: messageEmpty attributes, type and example ``` $messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityBold.md b/docs/API_docs/constructors/messageEntityBold.md index 324bacf7..abbc7e40 100644 --- a/docs/API_docs/constructors/messageEntityBold.md +++ b/docs/API_docs/constructors/messageEntityBold.md @@ -23,4 +23,5 @@ description: messageEntityBold attributes, type and example ``` $messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityBotCommand.md b/docs/API_docs/constructors/messageEntityBotCommand.md index 3a91d5ef..a4b29e04 100644 --- a/docs/API_docs/constructors/messageEntityBotCommand.md +++ b/docs/API_docs/constructors/messageEntityBotCommand.md @@ -23,4 +23,5 @@ description: messageEntityBotCommand attributes, type and example ``` $messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityCode.md b/docs/API_docs/constructors/messageEntityCode.md index 82f8ad1c..a342556e 100644 --- a/docs/API_docs/constructors/messageEntityCode.md +++ b/docs/API_docs/constructors/messageEntityCode.md @@ -23,4 +23,5 @@ description: messageEntityCode attributes, type and example ``` $messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityEmail.md b/docs/API_docs/constructors/messageEntityEmail.md index 07ca52ce..62670eb7 100644 --- a/docs/API_docs/constructors/messageEntityEmail.md +++ b/docs/API_docs/constructors/messageEntityEmail.md @@ -23,4 +23,5 @@ description: messageEntityEmail attributes, type and example ``` $messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityHashtag.md b/docs/API_docs/constructors/messageEntityHashtag.md index 108e692d..ec3d0a79 100644 --- a/docs/API_docs/constructors/messageEntityHashtag.md +++ b/docs/API_docs/constructors/messageEntityHashtag.md @@ -23,4 +23,5 @@ description: messageEntityHashtag attributes, type and example ``` $messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityItalic.md b/docs/API_docs/constructors/messageEntityItalic.md index b8a5eabc..c5a48f8d 100644 --- a/docs/API_docs/constructors/messageEntityItalic.md +++ b/docs/API_docs/constructors/messageEntityItalic.md @@ -23,4 +23,5 @@ description: messageEntityItalic attributes, type and example ``` $messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityMention.md b/docs/API_docs/constructors/messageEntityMention.md index 661f55f4..0e798476 100644 --- a/docs/API_docs/constructors/messageEntityMention.md +++ b/docs/API_docs/constructors/messageEntityMention.md @@ -23,4 +23,5 @@ description: messageEntityMention attributes, type and example ``` $messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityMentionName.md b/docs/API_docs/constructors/messageEntityMentionName.md index 4aa13625..2d402b6e 100644 --- a/docs/API_docs/constructors/messageEntityMentionName.md +++ b/docs/API_docs/constructors/messageEntityMentionName.md @@ -24,4 +24,5 @@ description: messageEntityMentionName attributes, type and example ``` $messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityPre.md b/docs/API_docs/constructors/messageEntityPre.md index 818f88a5..739493c9 100644 --- a/docs/API_docs/constructors/messageEntityPre.md +++ b/docs/API_docs/constructors/messageEntityPre.md @@ -24,4 +24,5 @@ description: messageEntityPre attributes, type and example ``` $messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityTextUrl.md b/docs/API_docs/constructors/messageEntityTextUrl.md index 231bab6e..575cb0ca 100644 --- a/docs/API_docs/constructors/messageEntityTextUrl.md +++ b/docs/API_docs/constructors/messageEntityTextUrl.md @@ -24,4 +24,5 @@ description: messageEntityTextUrl attributes, type and example ``` $messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityUnknown.md b/docs/API_docs/constructors/messageEntityUnknown.md index bd398067..f5d68e33 100644 --- a/docs/API_docs/constructors/messageEntityUnknown.md +++ b/docs/API_docs/constructors/messageEntityUnknown.md @@ -23,4 +23,5 @@ description: messageEntityUnknown attributes, type and example ``` $messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageEntityUrl.md b/docs/API_docs/constructors/messageEntityUrl.md index b60d69b6..9470aca6 100644 --- a/docs/API_docs/constructors/messageEntityUrl.md +++ b/docs/API_docs/constructors/messageEntityUrl.md @@ -23,4 +23,5 @@ description: messageEntityUrl attributes, type and example ``` $messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageFwdHeader.md b/docs/API_docs/constructors/messageFwdHeader.md index 417438f1..9f732de1 100644 --- a/docs/API_docs/constructors/messageFwdHeader.md +++ b/docs/API_docs/constructors/messageFwdHeader.md @@ -25,4 +25,5 @@ description: messageFwdHeader attributes, type and example ``` $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaContact.md b/docs/API_docs/constructors/messageMediaContact.md index 8b97f285..2fae7047 100644 --- a/docs/API_docs/constructors/messageMediaContact.md +++ b/docs/API_docs/constructors/messageMediaContact.md @@ -25,4 +25,5 @@ description: messageMediaContact attributes, type and example ``` $messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaDocument.md b/docs/API_docs/constructors/messageMediaDocument.md index 3bafd493..a4f3ee23 100644 --- a/docs/API_docs/constructors/messageMediaDocument.md +++ b/docs/API_docs/constructors/messageMediaDocument.md @@ -23,4 +23,5 @@ description: messageMediaDocument attributes, type and example ``` $messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaEmpty.md b/docs/API_docs/constructors/messageMediaEmpty.md index 1c121b94..52c82e4e 100644 --- a/docs/API_docs/constructors/messageMediaEmpty.md +++ b/docs/API_docs/constructors/messageMediaEmpty.md @@ -17,4 +17,5 @@ description: messageMediaEmpty attributes, type and example ``` $messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaGame.md b/docs/API_docs/constructors/messageMediaGame.md index cd666fbd..8eaa95f2 100644 --- a/docs/API_docs/constructors/messageMediaGame.md +++ b/docs/API_docs/constructors/messageMediaGame.md @@ -22,4 +22,5 @@ description: messageMediaGame attributes, type and example ``` $messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaGeo.md b/docs/API_docs/constructors/messageMediaGeo.md index 671b9a38..f573a2d2 100644 --- a/docs/API_docs/constructors/messageMediaGeo.md +++ b/docs/API_docs/constructors/messageMediaGeo.md @@ -22,4 +22,5 @@ description: messageMediaGeo attributes, type and example ``` $messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaPhoto.md b/docs/API_docs/constructors/messageMediaPhoto.md index 0e37d2f0..4e88f059 100644 --- a/docs/API_docs/constructors/messageMediaPhoto.md +++ b/docs/API_docs/constructors/messageMediaPhoto.md @@ -23,4 +23,5 @@ description: messageMediaPhoto attributes, type and example ``` $messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaUnsupported.md b/docs/API_docs/constructors/messageMediaUnsupported.md index 4263b13b..4f430f72 100644 --- a/docs/API_docs/constructors/messageMediaUnsupported.md +++ b/docs/API_docs/constructors/messageMediaUnsupported.md @@ -17,4 +17,5 @@ description: messageMediaUnsupported attributes, type and example ``` $messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaVenue.md b/docs/API_docs/constructors/messageMediaVenue.md index 4e87ec88..9a4bb1b9 100644 --- a/docs/API_docs/constructors/messageMediaVenue.md +++ b/docs/API_docs/constructors/messageMediaVenue.md @@ -26,4 +26,5 @@ description: messageMediaVenue attributes, type and example ``` $messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageMediaWebPage.md b/docs/API_docs/constructors/messageMediaWebPage.md index 07e1cfc4..50c2dcb4 100644 --- a/docs/API_docs/constructors/messageMediaWebPage.md +++ b/docs/API_docs/constructors/messageMediaWebPage.md @@ -22,4 +22,5 @@ description: messageMediaWebPage attributes, type and example ``` $messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageRange.md b/docs/API_docs/constructors/messageRange.md index 144fc383..05d48606 100644 --- a/docs/API_docs/constructors/messageRange.md +++ b/docs/API_docs/constructors/messageRange.md @@ -23,4 +23,5 @@ description: messageRange attributes, type and example ``` $messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messageService.md b/docs/API_docs/constructors/messageService.md index 8f858f7a..c50ba21d 100644 --- a/docs/API_docs/constructors/messageService.md +++ b/docs/API_docs/constructors/messageService.md @@ -32,4 +32,5 @@ description: messageService attributes, type and example ``` $messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_affectedHistory.md b/docs/API_docs/constructors/messages_affectedHistory.md index eb8b1432..b12a784d 100644 --- a/docs/API_docs/constructors/messages_affectedHistory.md +++ b/docs/API_docs/constructors/messages_affectedHistory.md @@ -24,4 +24,5 @@ description: messages_affectedHistory attributes, type and example ``` $messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_affectedMessages.md b/docs/API_docs/constructors/messages_affectedMessages.md index 0933c204..86bf4d79 100644 --- a/docs/API_docs/constructors/messages_affectedMessages.md +++ b/docs/API_docs/constructors/messages_affectedMessages.md @@ -23,4 +23,5 @@ description: messages_affectedMessages attributes, type and example ``` $messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_allStickers.md b/docs/API_docs/constructors/messages_allStickers.md index cdab8b24..68e10d18 100644 --- a/docs/API_docs/constructors/messages_allStickers.md +++ b/docs/API_docs/constructors/messages_allStickers.md @@ -23,4 +23,5 @@ description: messages_allStickers attributes, type and example ``` $messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_allStickersNotModified.md b/docs/API_docs/constructors/messages_allStickersNotModified.md index 068320c3..6bd82007 100644 --- a/docs/API_docs/constructors/messages_allStickersNotModified.md +++ b/docs/API_docs/constructors/messages_allStickersNotModified.md @@ -17,4 +17,5 @@ description: messages_allStickersNotModified attributes, type and example ``` $messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_archivedStickers.md b/docs/API_docs/constructors/messages_archivedStickers.md index 1625bdf5..0815f1f7 100644 --- a/docs/API_docs/constructors/messages_archivedStickers.md +++ b/docs/API_docs/constructors/messages_archivedStickers.md @@ -23,4 +23,5 @@ description: messages_archivedStickers attributes, type and example ``` $messages_archivedStickers = ['_' => 'messages_archivedStickers', 'count' => int, 'sets' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md index c932632d..6a829af6 100644 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -25,4 +25,5 @@ description: messages_botCallbackAnswer attributes, type and example ``` $messages_botCallbackAnswer = ['_' => 'messages_botCallbackAnswer', 'alert' => true, 'has_url' => true, 'message' => string, 'url' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md index a89581de..6bed266c 100644 --- a/docs/API_docs/constructors/messages_botResults.md +++ b/docs/API_docs/constructors/messages_botResults.md @@ -26,4 +26,5 @@ description: messages_botResults attributes, type and example ``` $messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_channelMessages.md b/docs/API_docs/constructors/messages_channelMessages.md index 32da666c..2651dd40 100644 --- a/docs/API_docs/constructors/messages_channelMessages.md +++ b/docs/API_docs/constructors/messages_channelMessages.md @@ -26,4 +26,5 @@ description: messages_channelMessages attributes, type and example ``` $messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_chatFull.md b/docs/API_docs/constructors/messages_chatFull.md index 4f908b68..d770394d 100644 --- a/docs/API_docs/constructors/messages_chatFull.md +++ b/docs/API_docs/constructors/messages_chatFull.md @@ -24,4 +24,5 @@ description: messages_chatFull attributes, type and example ``` $messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_chats.md b/docs/API_docs/constructors/messages_chats.md index 1d71f09e..9568aa6b 100644 --- a/docs/API_docs/constructors/messages_chats.md +++ b/docs/API_docs/constructors/messages_chats.md @@ -22,4 +22,5 @@ description: messages_chats attributes, type and example ``` $messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_dhConfig.md b/docs/API_docs/constructors/messages_dhConfig.md index 92cd141e..f1e65812 100644 --- a/docs/API_docs/constructors/messages_dhConfig.md +++ b/docs/API_docs/constructors/messages_dhConfig.md @@ -25,4 +25,5 @@ description: messages_dhConfig attributes, type and example ``` $messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_dhConfigNotModified.md b/docs/API_docs/constructors/messages_dhConfigNotModified.md index 5818e747..0e0f852c 100644 --- a/docs/API_docs/constructors/messages_dhConfigNotModified.md +++ b/docs/API_docs/constructors/messages_dhConfigNotModified.md @@ -22,4 +22,5 @@ description: messages_dhConfigNotModified attributes, type and example ``` $messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_dialogs.md b/docs/API_docs/constructors/messages_dialogs.md index 95de2b34..db6a86ef 100644 --- a/docs/API_docs/constructors/messages_dialogs.md +++ b/docs/API_docs/constructors/messages_dialogs.md @@ -25,4 +25,5 @@ description: messages_dialogs attributes, type and example ``` $messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_dialogsSlice.md b/docs/API_docs/constructors/messages_dialogsSlice.md index 21ce5dd2..da793487 100644 --- a/docs/API_docs/constructors/messages_dialogsSlice.md +++ b/docs/API_docs/constructors/messages_dialogsSlice.md @@ -26,4 +26,5 @@ description: messages_dialogsSlice attributes, type and example ``` $messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_featuredStickers.md b/docs/API_docs/constructors/messages_featuredStickers.md index 14dadbbc..a2af579e 100644 --- a/docs/API_docs/constructors/messages_featuredStickers.md +++ b/docs/API_docs/constructors/messages_featuredStickers.md @@ -24,4 +24,5 @@ description: messages_featuredStickers attributes, type and example ``` $messages_featuredStickers = ['_' => 'messages_featuredStickers', 'hash' => int, 'sets' => [Vector t], 'unread' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_featuredStickersNotModified.md b/docs/API_docs/constructors/messages_featuredStickersNotModified.md index 91cc4ddb..5f38a846 100644 --- a/docs/API_docs/constructors/messages_featuredStickersNotModified.md +++ b/docs/API_docs/constructors/messages_featuredStickersNotModified.md @@ -17,4 +17,5 @@ description: messages_featuredStickersNotModified attributes, type and example ``` $messages_featuredStickersNotModified = ['_' => 'messages_featuredStickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_foundGifs.md b/docs/API_docs/constructors/messages_foundGifs.md index 8268a6b6..25677dad 100644 --- a/docs/API_docs/constructors/messages_foundGifs.md +++ b/docs/API_docs/constructors/messages_foundGifs.md @@ -23,4 +23,5 @@ description: messages_foundGifs attributes, type and example ``` $messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_highScores.md b/docs/API_docs/constructors/messages_highScores.md index 396aa939..79911eea 100644 --- a/docs/API_docs/constructors/messages_highScores.md +++ b/docs/API_docs/constructors/messages_highScores.md @@ -23,4 +23,5 @@ description: messages_highScores attributes, type and example ``` $messages_highScores = ['_' => 'messages_highScores', 'scores' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md index a451d036..5e80341c 100644 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -22,4 +22,5 @@ description: messages_messageEditData attributes, type and example ``` $messages_messageEditData = ['_' => 'messages_messageEditData', 'caption' => true, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_messages.md b/docs/API_docs/constructors/messages_messages.md index a3dbc0b2..250fb53c 100644 --- a/docs/API_docs/constructors/messages_messages.md +++ b/docs/API_docs/constructors/messages_messages.md @@ -24,4 +24,5 @@ description: messages_messages attributes, type and example ``` $messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_messagesSlice.md b/docs/API_docs/constructors/messages_messagesSlice.md index 9773782b..be18ad3b 100644 --- a/docs/API_docs/constructors/messages_messagesSlice.md +++ b/docs/API_docs/constructors/messages_messagesSlice.md @@ -25,4 +25,5 @@ description: messages_messagesSlice attributes, type and example ``` $messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md index 2b328321..822cfa32 100644 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -26,4 +26,5 @@ description: messages_peerDialogs attributes, type and example ``` $messages_peerDialogs = ['_' => 'messages_peerDialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_recentStickers.md b/docs/API_docs/constructors/messages_recentStickers.md index 5929daf7..c8f920f9 100644 --- a/docs/API_docs/constructors/messages_recentStickers.md +++ b/docs/API_docs/constructors/messages_recentStickers.md @@ -23,4 +23,5 @@ description: messages_recentStickers attributes, type and example ``` $messages_recentStickers = ['_' => 'messages_recentStickers', 'hash' => int, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_recentStickersNotModified.md b/docs/API_docs/constructors/messages_recentStickersNotModified.md index 9d672c50..4fbf31cf 100644 --- a/docs/API_docs/constructors/messages_recentStickersNotModified.md +++ b/docs/API_docs/constructors/messages_recentStickersNotModified.md @@ -17,4 +17,5 @@ description: messages_recentStickersNotModified attributes, type and example ``` $messages_recentStickersNotModified = ['_' => 'messages_recentStickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_savedGifs.md b/docs/API_docs/constructors/messages_savedGifs.md index 8c2ba5ca..57b887ed 100644 --- a/docs/API_docs/constructors/messages_savedGifs.md +++ b/docs/API_docs/constructors/messages_savedGifs.md @@ -23,4 +23,5 @@ description: messages_savedGifs attributes, type and example ``` $messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_savedGifsNotModified.md b/docs/API_docs/constructors/messages_savedGifsNotModified.md index 91ce9aed..4f2f604a 100644 --- a/docs/API_docs/constructors/messages_savedGifsNotModified.md +++ b/docs/API_docs/constructors/messages_savedGifsNotModified.md @@ -17,4 +17,5 @@ description: messages_savedGifsNotModified attributes, type and example ``` $messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_sentEncryptedFile.md b/docs/API_docs/constructors/messages_sentEncryptedFile.md index 3485e0c2..668ad08b 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedFile.md +++ b/docs/API_docs/constructors/messages_sentEncryptedFile.md @@ -23,4 +23,5 @@ description: messages_sentEncryptedFile attributes, type and example ``` $messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_sentEncryptedMessage.md b/docs/API_docs/constructors/messages_sentEncryptedMessage.md index 23004749..b5690c18 100644 --- a/docs/API_docs/constructors/messages_sentEncryptedMessage.md +++ b/docs/API_docs/constructors/messages_sentEncryptedMessage.md @@ -22,4 +22,5 @@ description: messages_sentEncryptedMessage attributes, type and example ``` $messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_stickerSet.md b/docs/API_docs/constructors/messages_stickerSet.md index 0024f636..37b8eb5d 100644 --- a/docs/API_docs/constructors/messages_stickerSet.md +++ b/docs/API_docs/constructors/messages_stickerSet.md @@ -24,4 +24,5 @@ description: messages_stickerSet attributes, type and example ``` $messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md index 707fc217..5544fe52 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultArchive.md @@ -22,4 +22,5 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ``` $messages_stickerSetInstallResultArchive = ['_' => 'messages_stickerSetInstallResultArchive', 'sets' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md index 2ab3c4a3..6c565b63 100644 --- a/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md +++ b/docs/API_docs/constructors/messages_stickerSetInstallResultSuccess.md @@ -17,4 +17,5 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ``` $messages_stickerSetInstallResultSuccess = ['_' => 'messages_stickerSetInstallResultSuccess', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_stickers.md b/docs/API_docs/constructors/messages_stickers.md index 02d0e2e1..7a52dffe 100644 --- a/docs/API_docs/constructors/messages_stickers.md +++ b/docs/API_docs/constructors/messages_stickers.md @@ -23,4 +23,5 @@ description: messages_stickers attributes, type and example ``` $messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/messages_stickersNotModified.md b/docs/API_docs/constructors/messages_stickersNotModified.md index 3b43f4c2..df6812ad 100644 --- a/docs/API_docs/constructors/messages_stickersNotModified.md +++ b/docs/API_docs/constructors/messages_stickersNotModified.md @@ -17,4 +17,5 @@ description: messages_stickersNotModified attributes, type and example ``` $messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/nearestDc.md b/docs/API_docs/constructors/nearestDc.md index 70b4ef47..9486fb76 100644 --- a/docs/API_docs/constructors/nearestDc.md +++ b/docs/API_docs/constructors/nearestDc.md @@ -24,4 +24,5 @@ description: nearestDc attributes, type and example ``` $nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/notifyAll.md b/docs/API_docs/constructors/notifyAll.md index 37b7ac98..aef0ad99 100644 --- a/docs/API_docs/constructors/notifyAll.md +++ b/docs/API_docs/constructors/notifyAll.md @@ -17,4 +17,5 @@ description: notifyAll attributes, type and example ``` $notifyAll = ['_' => 'notifyAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/notifyChats.md b/docs/API_docs/constructors/notifyChats.md index 0f3cf91e..9fbaadc0 100644 --- a/docs/API_docs/constructors/notifyChats.md +++ b/docs/API_docs/constructors/notifyChats.md @@ -17,4 +17,5 @@ description: notifyChats attributes, type and example ``` $notifyChats = ['_' => 'notifyChats', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/notifyPeer.md b/docs/API_docs/constructors/notifyPeer.md index ea5b1284..0dd5bac2 100644 --- a/docs/API_docs/constructors/notifyPeer.md +++ b/docs/API_docs/constructors/notifyPeer.md @@ -22,4 +22,5 @@ description: notifyPeer attributes, type and example ``` $notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/notifyUsers.md b/docs/API_docs/constructors/notifyUsers.md index 0265ec49..720e33af 100644 --- a/docs/API_docs/constructors/notifyUsers.md +++ b/docs/API_docs/constructors/notifyUsers.md @@ -17,4 +17,5 @@ description: notifyUsers attributes, type and example ``` $notifyUsers = ['_' => 'notifyUsers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerChannel.md b/docs/API_docs/constructors/peerChannel.md index 52073455..0e763642 100644 --- a/docs/API_docs/constructors/peerChannel.md +++ b/docs/API_docs/constructors/peerChannel.md @@ -22,4 +22,18 @@ description: peerChannel attributes, type and example ``` $peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerChat.md b/docs/API_docs/constructors/peerChat.md index 4be6446e..297f76ae 100644 --- a/docs/API_docs/constructors/peerChat.md +++ b/docs/API_docs/constructors/peerChat.md @@ -22,4 +22,18 @@ description: peerChat attributes, type and example ``` $peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/peerNotifyEventsAll.md b/docs/API_docs/constructors/peerNotifyEventsAll.md index 7e00908f..7c442531 100644 --- a/docs/API_docs/constructors/peerNotifyEventsAll.md +++ b/docs/API_docs/constructors/peerNotifyEventsAll.md @@ -17,4 +17,5 @@ description: peerNotifyEventsAll attributes, type and example ``` $peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerNotifyEventsEmpty.md b/docs/API_docs/constructors/peerNotifyEventsEmpty.md index c2280599..0e69c8e1 100644 --- a/docs/API_docs/constructors/peerNotifyEventsEmpty.md +++ b/docs/API_docs/constructors/peerNotifyEventsEmpty.md @@ -17,4 +17,5 @@ description: peerNotifyEventsEmpty attributes, type and example ``` $peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md index 4b739e20..4834238c 100644 --- a/docs/API_docs/constructors/peerNotifySettings.md +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -25,4 +25,5 @@ description: peerNotifySettings attributes, type and example ``` $peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerNotifySettingsEmpty.md b/docs/API_docs/constructors/peerNotifySettingsEmpty.md index fd06975c..31903dbd 100644 --- a/docs/API_docs/constructors/peerNotifySettingsEmpty.md +++ b/docs/API_docs/constructors/peerNotifySettingsEmpty.md @@ -17,4 +17,5 @@ description: peerNotifySettingsEmpty attributes, type and example ``` $peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md index 96b4ece8..28041caf 100644 --- a/docs/API_docs/constructors/peerSettings.md +++ b/docs/API_docs/constructors/peerSettings.md @@ -22,4 +22,5 @@ description: peerSettings attributes, type and example ``` $peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/peerUser.md b/docs/API_docs/constructors/peerUser.md index ad976808..3c57463a 100644 --- a/docs/API_docs/constructors/peerUser.md +++ b/docs/API_docs/constructors/peerUser.md @@ -22,4 +22,18 @@ description: peerUser attributes, type and example ``` $peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/photo.md b/docs/API_docs/constructors/photo.md index b7ea890b..d6b8f925 100644 --- a/docs/API_docs/constructors/photo.md +++ b/docs/API_docs/constructors/photo.md @@ -26,4 +26,5 @@ description: photo attributes, type and example ``` $photo = ['_' => 'photo', 'has_stickers' => true, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photoCachedSize.md b/docs/API_docs/constructors/photoCachedSize.md index 8a2812ac..098e8757 100644 --- a/docs/API_docs/constructors/photoCachedSize.md +++ b/docs/API_docs/constructors/photoCachedSize.md @@ -26,4 +26,5 @@ description: photoCachedSize attributes, type and example ``` $photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photoEmpty.md b/docs/API_docs/constructors/photoEmpty.md index b24baa7b..91696690 100644 --- a/docs/API_docs/constructors/photoEmpty.md +++ b/docs/API_docs/constructors/photoEmpty.md @@ -22,4 +22,5 @@ description: photoEmpty attributes, type and example ``` $photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photoSize.md b/docs/API_docs/constructors/photoSize.md index 2daefc38..71536b87 100644 --- a/docs/API_docs/constructors/photoSize.md +++ b/docs/API_docs/constructors/photoSize.md @@ -26,4 +26,5 @@ description: photoSize attributes, type and example ``` $photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photoSizeEmpty.md b/docs/API_docs/constructors/photoSizeEmpty.md index e4772c6a..2c9bccf2 100644 --- a/docs/API_docs/constructors/photoSizeEmpty.md +++ b/docs/API_docs/constructors/photoSizeEmpty.md @@ -22,4 +22,5 @@ description: photoSizeEmpty attributes, type and example ``` $photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photos_photo.md b/docs/API_docs/constructors/photos_photo.md index 6360d063..c9b46117 100644 --- a/docs/API_docs/constructors/photos_photo.md +++ b/docs/API_docs/constructors/photos_photo.md @@ -23,4 +23,5 @@ description: photos_photo attributes, type and example ``` $photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photos_photos.md b/docs/API_docs/constructors/photos_photos.md index 0a80f572..54db2ec2 100644 --- a/docs/API_docs/constructors/photos_photos.md +++ b/docs/API_docs/constructors/photos_photos.md @@ -23,4 +23,5 @@ description: photos_photos attributes, type and example ``` $photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/photos_photosSlice.md b/docs/API_docs/constructors/photos_photosSlice.md index 59b709cd..ca98a280 100644 --- a/docs/API_docs/constructors/photos_photosSlice.md +++ b/docs/API_docs/constructors/photos_photosSlice.md @@ -24,4 +24,5 @@ description: photos_photosSlice attributes, type and example ``` $photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyKeyChatInvite.md b/docs/API_docs/constructors/privacyKeyChatInvite.md index 69709f27..b7fd53b0 100644 --- a/docs/API_docs/constructors/privacyKeyChatInvite.md +++ b/docs/API_docs/constructors/privacyKeyChatInvite.md @@ -17,4 +17,5 @@ description: privacyKeyChatInvite attributes, type and example ``` $privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md index 6b78b639..22e8d211 100644 --- a/docs/API_docs/constructors/privacyKeyStatusTimestamp.md +++ b/docs/API_docs/constructors/privacyKeyStatusTimestamp.md @@ -17,4 +17,5 @@ description: privacyKeyStatusTimestamp attributes, type and example ``` $privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueAllowAll.md b/docs/API_docs/constructors/privacyValueAllowAll.md index 3caa3a6a..1cff3e2d 100644 --- a/docs/API_docs/constructors/privacyValueAllowAll.md +++ b/docs/API_docs/constructors/privacyValueAllowAll.md @@ -17,4 +17,5 @@ description: privacyValueAllowAll attributes, type and example ``` $privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueAllowContacts.md b/docs/API_docs/constructors/privacyValueAllowContacts.md index a0a92f61..01dcdbaa 100644 --- a/docs/API_docs/constructors/privacyValueAllowContacts.md +++ b/docs/API_docs/constructors/privacyValueAllowContacts.md @@ -17,4 +17,5 @@ description: privacyValueAllowContacts attributes, type and example ``` $privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueAllowUsers.md b/docs/API_docs/constructors/privacyValueAllowUsers.md index b2a99fe0..996abd14 100644 --- a/docs/API_docs/constructors/privacyValueAllowUsers.md +++ b/docs/API_docs/constructors/privacyValueAllowUsers.md @@ -22,4 +22,5 @@ description: privacyValueAllowUsers attributes, type and example ``` $privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueDisallowAll.md b/docs/API_docs/constructors/privacyValueDisallowAll.md index 8050d7d2..1276b3d2 100644 --- a/docs/API_docs/constructors/privacyValueDisallowAll.md +++ b/docs/API_docs/constructors/privacyValueDisallowAll.md @@ -17,4 +17,5 @@ description: privacyValueDisallowAll attributes, type and example ``` $privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueDisallowContacts.md b/docs/API_docs/constructors/privacyValueDisallowContacts.md index ce529dc4..991292db 100644 --- a/docs/API_docs/constructors/privacyValueDisallowContacts.md +++ b/docs/API_docs/constructors/privacyValueDisallowContacts.md @@ -17,4 +17,5 @@ description: privacyValueDisallowContacts attributes, type and example ``` $privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/privacyValueDisallowUsers.md b/docs/API_docs/constructors/privacyValueDisallowUsers.md index 7036cfe1..f3cca325 100644 --- a/docs/API_docs/constructors/privacyValueDisallowUsers.md +++ b/docs/API_docs/constructors/privacyValueDisallowUsers.md @@ -22,4 +22,5 @@ description: privacyValueDisallowUsers attributes, type and example ``` $privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/receivedNotifyMessage.md b/docs/API_docs/constructors/receivedNotifyMessage.md index df326902..19092f28 100644 --- a/docs/API_docs/constructors/receivedNotifyMessage.md +++ b/docs/API_docs/constructors/receivedNotifyMessage.md @@ -22,4 +22,5 @@ description: receivedNotifyMessage attributes, type and example ``` $receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/replyInlineMarkup.md b/docs/API_docs/constructors/replyInlineMarkup.md index 3de826d4..e4453700 100644 --- a/docs/API_docs/constructors/replyInlineMarkup.md +++ b/docs/API_docs/constructors/replyInlineMarkup.md @@ -22,4 +22,5 @@ description: replyInlineMarkup attributes, type and example ``` $replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md index 65cd28d3..85b38fbc 100644 --- a/docs/API_docs/constructors/replyKeyboardForceReply.md +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -23,4 +23,5 @@ description: replyKeyboardForceReply attributes, type and example ``` $replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md index b4bc40a7..7c382a66 100644 --- a/docs/API_docs/constructors/replyKeyboardHide.md +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -22,4 +22,5 @@ description: replyKeyboardHide attributes, type and example ``` $replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md index 270df64d..b9664ed1 100644 --- a/docs/API_docs/constructors/replyKeyboardMarkup.md +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -25,4 +25,5 @@ description: replyKeyboardMarkup attributes, type and example ``` $replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageCancelAction.md b/docs/API_docs/constructors/sendMessageCancelAction.md index 28daa59b..be96f001 100644 --- a/docs/API_docs/constructors/sendMessageCancelAction.md +++ b/docs/API_docs/constructors/sendMessageCancelAction.md @@ -17,4 +17,5 @@ description: sendMessageCancelAction attributes, type and example ``` $sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageChooseContactAction.md b/docs/API_docs/constructors/sendMessageChooseContactAction.md index e3572596..e1509841 100644 --- a/docs/API_docs/constructors/sendMessageChooseContactAction.md +++ b/docs/API_docs/constructors/sendMessageChooseContactAction.md @@ -17,4 +17,5 @@ description: sendMessageChooseContactAction attributes, type and example ``` $sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageGamePlayAction.md b/docs/API_docs/constructors/sendMessageGamePlayAction.md index 96c92eee..d67fbfac 100644 --- a/docs/API_docs/constructors/sendMessageGamePlayAction.md +++ b/docs/API_docs/constructors/sendMessageGamePlayAction.md @@ -17,4 +17,5 @@ description: sendMessageGamePlayAction attributes, type and example ``` $sendMessageGamePlayAction = ['_' => 'sendMessageGamePlayAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageGeoLocationAction.md b/docs/API_docs/constructors/sendMessageGeoLocationAction.md index 03ea56c3..d345f5ea 100644 --- a/docs/API_docs/constructors/sendMessageGeoLocationAction.md +++ b/docs/API_docs/constructors/sendMessageGeoLocationAction.md @@ -17,4 +17,5 @@ description: sendMessageGeoLocationAction attributes, type and example ``` $sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageRecordAudioAction.md b/docs/API_docs/constructors/sendMessageRecordAudioAction.md index d272ccd7..c338e4a9 100644 --- a/docs/API_docs/constructors/sendMessageRecordAudioAction.md +++ b/docs/API_docs/constructors/sendMessageRecordAudioAction.md @@ -17,4 +17,5 @@ description: sendMessageRecordAudioAction attributes, type and example ``` $sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageRecordVideoAction.md b/docs/API_docs/constructors/sendMessageRecordVideoAction.md index be9e2c48..984bb6c8 100644 --- a/docs/API_docs/constructors/sendMessageRecordVideoAction.md +++ b/docs/API_docs/constructors/sendMessageRecordVideoAction.md @@ -17,4 +17,5 @@ description: sendMessageRecordVideoAction attributes, type and example ``` $sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageTypingAction.md b/docs/API_docs/constructors/sendMessageTypingAction.md index 3ad7084c..616e75e6 100644 --- a/docs/API_docs/constructors/sendMessageTypingAction.md +++ b/docs/API_docs/constructors/sendMessageTypingAction.md @@ -17,4 +17,5 @@ description: sendMessageTypingAction attributes, type and example ``` $sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageUploadAudioAction.md b/docs/API_docs/constructors/sendMessageUploadAudioAction.md index 70067213..42592348 100644 --- a/docs/API_docs/constructors/sendMessageUploadAudioAction.md +++ b/docs/API_docs/constructors/sendMessageUploadAudioAction.md @@ -22,4 +22,5 @@ description: sendMessageUploadAudioAction attributes, type and example ``` $sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md index ce1cf442..b0a7a0bd 100644 --- a/docs/API_docs/constructors/sendMessageUploadDocumentAction.md +++ b/docs/API_docs/constructors/sendMessageUploadDocumentAction.md @@ -22,4 +22,5 @@ description: sendMessageUploadDocumentAction attributes, type and example ``` $sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md index b9cd2ea9..d74c8540 100644 --- a/docs/API_docs/constructors/sendMessageUploadPhotoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadPhotoAction.md @@ -22,4 +22,5 @@ description: sendMessageUploadPhotoAction attributes, type and example ``` $sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/sendMessageUploadVideoAction.md b/docs/API_docs/constructors/sendMessageUploadVideoAction.md index 03f65b6e..449826cd 100644 --- a/docs/API_docs/constructors/sendMessageUploadVideoAction.md +++ b/docs/API_docs/constructors/sendMessageUploadVideoAction.md @@ -22,4 +22,5 @@ description: sendMessageUploadVideoAction attributes, type and example ``` $sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/stickerPack.md b/docs/API_docs/constructors/stickerPack.md index d6a15058..a4bea99b 100644 --- a/docs/API_docs/constructors/stickerPack.md +++ b/docs/API_docs/constructors/stickerPack.md @@ -23,4 +23,5 @@ description: stickerPack attributes, type and example ``` $stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md index caf86826..fcc2f4e5 100644 --- a/docs/API_docs/constructors/stickerSet.md +++ b/docs/API_docs/constructors/stickerSet.md @@ -31,4 +31,5 @@ description: stickerSet attributes, type and example ``` $stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'masks' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/stickerSetCovered.md b/docs/API_docs/constructors/stickerSetCovered.md index b636245d..9377b9fc 100644 --- a/docs/API_docs/constructors/stickerSetCovered.md +++ b/docs/API_docs/constructors/stickerSetCovered.md @@ -23,4 +23,5 @@ description: stickerSetCovered attributes, type and example ``` $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/stickerSetMultiCovered.md b/docs/API_docs/constructors/stickerSetMultiCovered.md index f93495cb..b38ff739 100644 --- a/docs/API_docs/constructors/stickerSetMultiCovered.md +++ b/docs/API_docs/constructors/stickerSetMultiCovered.md @@ -23,4 +23,5 @@ description: stickerSetMultiCovered attributes, type and example ``` $stickerSetMultiCovered = ['_' => 'stickerSetMultiCovered', 'set' => StickerSet, 'covers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileGif.md b/docs/API_docs/constructors/storage_fileGif.md index ca2e33b2..c979ebb8 100644 --- a/docs/API_docs/constructors/storage_fileGif.md +++ b/docs/API_docs/constructors/storage_fileGif.md @@ -17,4 +17,5 @@ description: storage_fileGif attributes, type and example ``` $storage_fileGif = ['_' => 'storage_fileGif', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileJpeg.md b/docs/API_docs/constructors/storage_fileJpeg.md index 04e3ec00..77836683 100644 --- a/docs/API_docs/constructors/storage_fileJpeg.md +++ b/docs/API_docs/constructors/storage_fileJpeg.md @@ -17,4 +17,5 @@ description: storage_fileJpeg attributes, type and example ``` $storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileMov.md b/docs/API_docs/constructors/storage_fileMov.md index 1cea0f2d..05ded79b 100644 --- a/docs/API_docs/constructors/storage_fileMov.md +++ b/docs/API_docs/constructors/storage_fileMov.md @@ -17,4 +17,5 @@ description: storage_fileMov attributes, type and example ``` $storage_fileMov = ['_' => 'storage_fileMov', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileMp3.md b/docs/API_docs/constructors/storage_fileMp3.md index 73ab3557..b6e5add5 100644 --- a/docs/API_docs/constructors/storage_fileMp3.md +++ b/docs/API_docs/constructors/storage_fileMp3.md @@ -17,4 +17,5 @@ description: storage_fileMp3 attributes, type and example ``` $storage_fileMp3 = ['_' => 'storage_fileMp3', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileMp4.md b/docs/API_docs/constructors/storage_fileMp4.md index 66d23c20..f1d762b7 100644 --- a/docs/API_docs/constructors/storage_fileMp4.md +++ b/docs/API_docs/constructors/storage_fileMp4.md @@ -17,4 +17,5 @@ description: storage_fileMp4 attributes, type and example ``` $storage_fileMp4 = ['_' => 'storage_fileMp4', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_filePartial.md b/docs/API_docs/constructors/storage_filePartial.md index 28c0f66c..39d80a9a 100644 --- a/docs/API_docs/constructors/storage_filePartial.md +++ b/docs/API_docs/constructors/storage_filePartial.md @@ -17,4 +17,5 @@ description: storage_filePartial attributes, type and example ``` $storage_filePartial = ['_' => 'storage_filePartial', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_filePdf.md b/docs/API_docs/constructors/storage_filePdf.md index afa57fcc..2a33ae05 100644 --- a/docs/API_docs/constructors/storage_filePdf.md +++ b/docs/API_docs/constructors/storage_filePdf.md @@ -17,4 +17,5 @@ description: storage_filePdf attributes, type and example ``` $storage_filePdf = ['_' => 'storage_filePdf', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_filePng.md b/docs/API_docs/constructors/storage_filePng.md index 28cec34c..4e53632a 100644 --- a/docs/API_docs/constructors/storage_filePng.md +++ b/docs/API_docs/constructors/storage_filePng.md @@ -17,4 +17,5 @@ description: storage_filePng attributes, type and example ``` $storage_filePng = ['_' => 'storage_filePng', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileUnknown.md b/docs/API_docs/constructors/storage_fileUnknown.md index 07586f11..42b3ecc9 100644 --- a/docs/API_docs/constructors/storage_fileUnknown.md +++ b/docs/API_docs/constructors/storage_fileUnknown.md @@ -17,4 +17,5 @@ description: storage_fileUnknown attributes, type and example ``` $storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/storage_fileWebp.md b/docs/API_docs/constructors/storage_fileWebp.md index efb0c672..f3faf322 100644 --- a/docs/API_docs/constructors/storage_fileWebp.md +++ b/docs/API_docs/constructors/storage_fileWebp.md @@ -17,4 +17,5 @@ description: storage_fileWebp attributes, type and example ``` $storage_fileWebp = ['_' => 'storage_fileWebp', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeer.md b/docs/API_docs/constructors/topPeer.md index 7b444462..a2916c90 100644 --- a/docs/API_docs/constructors/topPeer.md +++ b/docs/API_docs/constructors/topPeer.md @@ -23,4 +23,5 @@ description: topPeer attributes, type and example ``` $topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryBotsInline.md b/docs/API_docs/constructors/topPeerCategoryBotsInline.md index da3cd37a..085b2345 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsInline.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsInline.md @@ -17,4 +17,5 @@ description: topPeerCategoryBotsInline attributes, type and example ``` $topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryBotsPM.md b/docs/API_docs/constructors/topPeerCategoryBotsPM.md index cc704395..27b3b2aa 100644 --- a/docs/API_docs/constructors/topPeerCategoryBotsPM.md +++ b/docs/API_docs/constructors/topPeerCategoryBotsPM.md @@ -17,4 +17,5 @@ description: topPeerCategoryBotsPM attributes, type and example ``` $topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryChannels.md b/docs/API_docs/constructors/topPeerCategoryChannels.md index 51a02b67..f3e2cb35 100644 --- a/docs/API_docs/constructors/topPeerCategoryChannels.md +++ b/docs/API_docs/constructors/topPeerCategoryChannels.md @@ -17,4 +17,5 @@ description: topPeerCategoryChannels attributes, type and example ``` $topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md index 5c762a97..179ecbca 100644 --- a/docs/API_docs/constructors/topPeerCategoryCorrespondents.md +++ b/docs/API_docs/constructors/topPeerCategoryCorrespondents.md @@ -17,4 +17,5 @@ description: topPeerCategoryCorrespondents attributes, type and example ``` $topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryGroups.md b/docs/API_docs/constructors/topPeerCategoryGroups.md index 2cdf7441..3b1a38d9 100644 --- a/docs/API_docs/constructors/topPeerCategoryGroups.md +++ b/docs/API_docs/constructors/topPeerCategoryGroups.md @@ -17,4 +17,5 @@ description: topPeerCategoryGroups attributes, type and example ``` $topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/topPeerCategoryPeers.md b/docs/API_docs/constructors/topPeerCategoryPeers.md index 82178d30..bd7e7a90 100644 --- a/docs/API_docs/constructors/topPeerCategoryPeers.md +++ b/docs/API_docs/constructors/topPeerCategoryPeers.md @@ -24,4 +24,5 @@ description: topPeerCategoryPeers attributes, type and example ``` $topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/true.md b/docs/API_docs/constructors/true.md index aa7d8ac7..5d7dfca5 100644 --- a/docs/API_docs/constructors/true.md +++ b/docs/API_docs/constructors/true.md @@ -17,4 +17,5 @@ description: true attributes, type and example ``` $true = ['_' => 'true', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateBotCallbackQuery.md b/docs/API_docs/constructors/updateBotCallbackQuery.md index 6ad44995..083b3971 100644 --- a/docs/API_docs/constructors/updateBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateBotCallbackQuery.md @@ -28,4 +28,5 @@ description: updateBotCallbackQuery attributes, type and example ``` $updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateBotInlineQuery.md b/docs/API_docs/constructors/updateBotInlineQuery.md index f1cda893..78bbff4f 100644 --- a/docs/API_docs/constructors/updateBotInlineQuery.md +++ b/docs/API_docs/constructors/updateBotInlineQuery.md @@ -26,4 +26,5 @@ description: updateBotInlineQuery attributes, type and example ``` $updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateBotInlineSend.md b/docs/API_docs/constructors/updateBotInlineSend.md index 42df2637..846f8978 100644 --- a/docs/API_docs/constructors/updateBotInlineSend.md +++ b/docs/API_docs/constructors/updateBotInlineSend.md @@ -26,4 +26,5 @@ description: updateBotInlineSend attributes, type and example ``` $updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChannel.md b/docs/API_docs/constructors/updateChannel.md index 8a9f13b2..e6a0eb00 100644 --- a/docs/API_docs/constructors/updateChannel.md +++ b/docs/API_docs/constructors/updateChannel.md @@ -22,4 +22,5 @@ description: updateChannel attributes, type and example ``` $updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChannelMessageViews.md b/docs/API_docs/constructors/updateChannelMessageViews.md index 32862895..9c42a3e8 100644 --- a/docs/API_docs/constructors/updateChannelMessageViews.md +++ b/docs/API_docs/constructors/updateChannelMessageViews.md @@ -24,4 +24,5 @@ description: updateChannelMessageViews attributes, type and example ``` $updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChannelPinnedMessage.md b/docs/API_docs/constructors/updateChannelPinnedMessage.md index 8d303d7e..b00702c1 100644 --- a/docs/API_docs/constructors/updateChannelPinnedMessage.md +++ b/docs/API_docs/constructors/updateChannelPinnedMessage.md @@ -23,4 +23,5 @@ description: updateChannelPinnedMessage attributes, type and example ``` $updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChannelTooLong.md b/docs/API_docs/constructors/updateChannelTooLong.md index 2f50b1e0..0e6c5f49 100644 --- a/docs/API_docs/constructors/updateChannelTooLong.md +++ b/docs/API_docs/constructors/updateChannelTooLong.md @@ -23,4 +23,5 @@ description: updateChannelTooLong attributes, type and example ``` $updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatAdmins.md b/docs/API_docs/constructors/updateChatAdmins.md index 6694a840..22eeb7a3 100644 --- a/docs/API_docs/constructors/updateChatAdmins.md +++ b/docs/API_docs/constructors/updateChatAdmins.md @@ -24,4 +24,5 @@ description: updateChatAdmins attributes, type and example ``` $updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatParticipantAdd.md b/docs/API_docs/constructors/updateChatParticipantAdd.md index 6f0c88fb..3c6b14c3 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdd.md +++ b/docs/API_docs/constructors/updateChatParticipantAdd.md @@ -26,4 +26,5 @@ description: updateChatParticipantAdd attributes, type and example ``` $updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatParticipantAdmin.md b/docs/API_docs/constructors/updateChatParticipantAdmin.md index f2e493c4..6df0b9c1 100644 --- a/docs/API_docs/constructors/updateChatParticipantAdmin.md +++ b/docs/API_docs/constructors/updateChatParticipantAdmin.md @@ -25,4 +25,5 @@ description: updateChatParticipantAdmin attributes, type and example ``` $updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatParticipantDelete.md b/docs/API_docs/constructors/updateChatParticipantDelete.md index 7693f7f1..5bfd99ac 100644 --- a/docs/API_docs/constructors/updateChatParticipantDelete.md +++ b/docs/API_docs/constructors/updateChatParticipantDelete.md @@ -24,4 +24,5 @@ description: updateChatParticipantDelete attributes, type and example ``` $updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatParticipants.md b/docs/API_docs/constructors/updateChatParticipants.md index 0cf963cf..73c87f16 100644 --- a/docs/API_docs/constructors/updateChatParticipants.md +++ b/docs/API_docs/constructors/updateChatParticipants.md @@ -22,4 +22,5 @@ description: updateChatParticipants attributes, type and example ``` $updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateChatUserTyping.md b/docs/API_docs/constructors/updateChatUserTyping.md index ae150ac2..247f0c83 100644 --- a/docs/API_docs/constructors/updateChatUserTyping.md +++ b/docs/API_docs/constructors/updateChatUserTyping.md @@ -24,4 +24,5 @@ description: updateChatUserTyping attributes, type and example ``` $updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateConfig.md b/docs/API_docs/constructors/updateConfig.md index ac5ee0de..6c59a038 100644 --- a/docs/API_docs/constructors/updateConfig.md +++ b/docs/API_docs/constructors/updateConfig.md @@ -17,4 +17,5 @@ description: updateConfig attributes, type and example ``` $updateConfig = ['_' => 'updateConfig', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateContactLink.md b/docs/API_docs/constructors/updateContactLink.md index eb6ee178..a03c6146 100644 --- a/docs/API_docs/constructors/updateContactLink.md +++ b/docs/API_docs/constructors/updateContactLink.md @@ -24,4 +24,5 @@ description: updateContactLink attributes, type and example ``` $updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateContactRegistered.md b/docs/API_docs/constructors/updateContactRegistered.md index 589eb7d3..bda6feb7 100644 --- a/docs/API_docs/constructors/updateContactRegistered.md +++ b/docs/API_docs/constructors/updateContactRegistered.md @@ -23,4 +23,5 @@ description: updateContactRegistered attributes, type and example ``` $updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateDcOptions.md b/docs/API_docs/constructors/updateDcOptions.md index 066cabcc..7dc053d2 100644 --- a/docs/API_docs/constructors/updateDcOptions.md +++ b/docs/API_docs/constructors/updateDcOptions.md @@ -22,4 +22,5 @@ description: updateDcOptions attributes, type and example ``` $updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateDeleteChannelMessages.md b/docs/API_docs/constructors/updateDeleteChannelMessages.md index 407bb38f..30a5fa61 100644 --- a/docs/API_docs/constructors/updateDeleteChannelMessages.md +++ b/docs/API_docs/constructors/updateDeleteChannelMessages.md @@ -25,4 +25,5 @@ description: updateDeleteChannelMessages attributes, type and example ``` $updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateDeleteMessages.md b/docs/API_docs/constructors/updateDeleteMessages.md index 195058a8..9870db34 100644 --- a/docs/API_docs/constructors/updateDeleteMessages.md +++ b/docs/API_docs/constructors/updateDeleteMessages.md @@ -24,4 +24,5 @@ description: updateDeleteMessages attributes, type and example ``` $updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateDraftMessage.md b/docs/API_docs/constructors/updateDraftMessage.md index b85877bb..42cda353 100644 --- a/docs/API_docs/constructors/updateDraftMessage.md +++ b/docs/API_docs/constructors/updateDraftMessage.md @@ -23,4 +23,5 @@ description: updateDraftMessage attributes, type and example ``` $updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateEditChannelMessage.md b/docs/API_docs/constructors/updateEditChannelMessage.md index 4c58bd80..30f9ad2e 100644 --- a/docs/API_docs/constructors/updateEditChannelMessage.md +++ b/docs/API_docs/constructors/updateEditChannelMessage.md @@ -24,4 +24,5 @@ description: updateEditChannelMessage attributes, type and example ``` $updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateEditMessage.md b/docs/API_docs/constructors/updateEditMessage.md index 8a0cc04a..cda9fb4c 100644 --- a/docs/API_docs/constructors/updateEditMessage.md +++ b/docs/API_docs/constructors/updateEditMessage.md @@ -24,4 +24,5 @@ description: updateEditMessage attributes, type and example ``` $updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateEncryptedChatTyping.md b/docs/API_docs/constructors/updateEncryptedChatTyping.md index baace573..8a7a6127 100644 --- a/docs/API_docs/constructors/updateEncryptedChatTyping.md +++ b/docs/API_docs/constructors/updateEncryptedChatTyping.md @@ -22,4 +22,5 @@ description: updateEncryptedChatTyping attributes, type and example ``` $updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateEncryptedMessagesRead.md b/docs/API_docs/constructors/updateEncryptedMessagesRead.md index a024c007..62ddba0f 100644 --- a/docs/API_docs/constructors/updateEncryptedMessagesRead.md +++ b/docs/API_docs/constructors/updateEncryptedMessagesRead.md @@ -24,4 +24,5 @@ description: updateEncryptedMessagesRead attributes, type and example ``` $updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateEncryption.md b/docs/API_docs/constructors/updateEncryption.md index bc2187a4..a5b65b1d 100644 --- a/docs/API_docs/constructors/updateEncryption.md +++ b/docs/API_docs/constructors/updateEncryption.md @@ -23,4 +23,5 @@ description: updateEncryption attributes, type and example ``` $updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md index 4758bce7..65e411b0 100644 --- a/docs/API_docs/constructors/updateInlineBotCallbackQuery.md +++ b/docs/API_docs/constructors/updateInlineBotCallbackQuery.md @@ -27,4 +27,5 @@ description: updateInlineBotCallbackQuery attributes, type and example ``` $updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'chat_instance' => long, 'data' => bytes, 'game_short_name' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateMessageID.md b/docs/API_docs/constructors/updateMessageID.md index 68ade34d..34d5039f 100644 --- a/docs/API_docs/constructors/updateMessageID.md +++ b/docs/API_docs/constructors/updateMessageID.md @@ -22,4 +22,5 @@ description: updateMessageID attributes, type and example ``` $updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNewAuthorization.md b/docs/API_docs/constructors/updateNewAuthorization.md index 86b90947..ae6a74f1 100644 --- a/docs/API_docs/constructors/updateNewAuthorization.md +++ b/docs/API_docs/constructors/updateNewAuthorization.md @@ -25,4 +25,5 @@ description: updateNewAuthorization attributes, type and example ``` $updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNewChannelMessage.md b/docs/API_docs/constructors/updateNewChannelMessage.md index b76f7d8a..a3661f35 100644 --- a/docs/API_docs/constructors/updateNewChannelMessage.md +++ b/docs/API_docs/constructors/updateNewChannelMessage.md @@ -24,4 +24,5 @@ description: updateNewChannelMessage attributes, type and example ``` $updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNewEncryptedMessage.md b/docs/API_docs/constructors/updateNewEncryptedMessage.md index edf0794a..0f66cdae 100644 --- a/docs/API_docs/constructors/updateNewEncryptedMessage.md +++ b/docs/API_docs/constructors/updateNewEncryptedMessage.md @@ -23,4 +23,5 @@ description: updateNewEncryptedMessage attributes, type and example ``` $updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNewMessage.md b/docs/API_docs/constructors/updateNewMessage.md index 01b1b1e2..6030f854 100644 --- a/docs/API_docs/constructors/updateNewMessage.md +++ b/docs/API_docs/constructors/updateNewMessage.md @@ -24,4 +24,5 @@ description: updateNewMessage attributes, type and example ``` $updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md index 223d0670..aaa27d56 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -22,4 +22,5 @@ description: updateNewStickerSet attributes, type and example ``` $updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateNotifySettings.md b/docs/API_docs/constructors/updateNotifySettings.md index f48b0548..dd5651de 100644 --- a/docs/API_docs/constructors/updateNotifySettings.md +++ b/docs/API_docs/constructors/updateNotifySettings.md @@ -23,4 +23,5 @@ description: updateNotifySettings attributes, type and example ``` $updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updatePrivacy.md b/docs/API_docs/constructors/updatePrivacy.md index 7d29789c..f5acb8a3 100644 --- a/docs/API_docs/constructors/updatePrivacy.md +++ b/docs/API_docs/constructors/updatePrivacy.md @@ -23,4 +23,5 @@ description: updatePrivacy attributes, type and example ``` $updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updatePtsChanged.md b/docs/API_docs/constructors/updatePtsChanged.md index a35e5c4b..0a325740 100644 --- a/docs/API_docs/constructors/updatePtsChanged.md +++ b/docs/API_docs/constructors/updatePtsChanged.md @@ -17,4 +17,5 @@ description: updatePtsChanged attributes, type and example ``` $updatePtsChanged = ['_' => 'updatePtsChanged', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadChannelInbox.md b/docs/API_docs/constructors/updateReadChannelInbox.md index 8abde064..c52c1a52 100644 --- a/docs/API_docs/constructors/updateReadChannelInbox.md +++ b/docs/API_docs/constructors/updateReadChannelInbox.md @@ -23,4 +23,5 @@ description: updateReadChannelInbox attributes, type and example ``` $updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadChannelOutbox.md b/docs/API_docs/constructors/updateReadChannelOutbox.md index dce3e1dc..624edd55 100644 --- a/docs/API_docs/constructors/updateReadChannelOutbox.md +++ b/docs/API_docs/constructors/updateReadChannelOutbox.md @@ -23,4 +23,5 @@ description: updateReadChannelOutbox attributes, type and example ``` $updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadFeaturedStickers.md b/docs/API_docs/constructors/updateReadFeaturedStickers.md index 65a4eb80..1d845d2a 100644 --- a/docs/API_docs/constructors/updateReadFeaturedStickers.md +++ b/docs/API_docs/constructors/updateReadFeaturedStickers.md @@ -17,4 +17,5 @@ description: updateReadFeaturedStickers attributes, type and example ``` $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadHistoryInbox.md b/docs/API_docs/constructors/updateReadHistoryInbox.md index 4ade3037..ca60b3a7 100644 --- a/docs/API_docs/constructors/updateReadHistoryInbox.md +++ b/docs/API_docs/constructors/updateReadHistoryInbox.md @@ -25,4 +25,5 @@ description: updateReadHistoryInbox attributes, type and example ``` $updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadHistoryOutbox.md b/docs/API_docs/constructors/updateReadHistoryOutbox.md index cb4896d3..5a0459eb 100644 --- a/docs/API_docs/constructors/updateReadHistoryOutbox.md +++ b/docs/API_docs/constructors/updateReadHistoryOutbox.md @@ -25,4 +25,5 @@ description: updateReadHistoryOutbox attributes, type and example ``` $updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateReadMessagesContents.md b/docs/API_docs/constructors/updateReadMessagesContents.md index 95f92a34..8581cd73 100644 --- a/docs/API_docs/constructors/updateReadMessagesContents.md +++ b/docs/API_docs/constructors/updateReadMessagesContents.md @@ -24,4 +24,5 @@ description: updateReadMessagesContents attributes, type and example ``` $updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateRecentStickers.md b/docs/API_docs/constructors/updateRecentStickers.md index 5a4edb48..0ac566a1 100644 --- a/docs/API_docs/constructors/updateRecentStickers.md +++ b/docs/API_docs/constructors/updateRecentStickers.md @@ -17,4 +17,5 @@ description: updateRecentStickers attributes, type and example ``` $updateRecentStickers = ['_' => 'updateRecentStickers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateSavedGifs.md b/docs/API_docs/constructors/updateSavedGifs.md index f85d2d05..dd610b16 100644 --- a/docs/API_docs/constructors/updateSavedGifs.md +++ b/docs/API_docs/constructors/updateSavedGifs.md @@ -17,4 +17,5 @@ description: updateSavedGifs attributes, type and example ``` $updateSavedGifs = ['_' => 'updateSavedGifs', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md index 8352586e..039d7c81 100644 --- a/docs/API_docs/constructors/updateServiceNotification.md +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -25,4 +25,5 @@ description: updateServiceNotification attributes, type and example ``` $updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateShort.md b/docs/API_docs/constructors/updateShort.md index ffda6b42..654cac90 100644 --- a/docs/API_docs/constructors/updateShort.md +++ b/docs/API_docs/constructors/updateShort.md @@ -23,4 +23,5 @@ description: updateShort attributes, type and example ``` $updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md index 07818b3d..2cd966b5 100644 --- a/docs/API_docs/constructors/updateShortChatMessage.md +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -36,4 +36,5 @@ description: updateShortChatMessage attributes, type and example ``` $updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateShortMessage.md b/docs/API_docs/constructors/updateShortMessage.md index b0adbc7f..e51a4a57 100644 --- a/docs/API_docs/constructors/updateShortMessage.md +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -35,4 +35,5 @@ description: updateShortMessage attributes, type and example ``` $updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateShortSentMessage.md b/docs/API_docs/constructors/updateShortSentMessage.md index ec550f48..b783723c 100644 --- a/docs/API_docs/constructors/updateShortSentMessage.md +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -28,4 +28,5 @@ description: updateShortSentMessage attributes, type and example ``` $updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateStickerSets.md b/docs/API_docs/constructors/updateStickerSets.md index 138b9ae5..7e0669ed 100644 --- a/docs/API_docs/constructors/updateStickerSets.md +++ b/docs/API_docs/constructors/updateStickerSets.md @@ -17,4 +17,5 @@ description: updateStickerSets attributes, type and example ``` $updateStickerSets = ['_' => 'updateStickerSets', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md index 908e8891..15a6c218 100644 --- a/docs/API_docs/constructors/updateStickerSetsOrder.md +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -23,4 +23,5 @@ description: updateStickerSetsOrder attributes, type and example ``` $updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => true, 'order' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserBlocked.md b/docs/API_docs/constructors/updateUserBlocked.md index cfe25f6f..f9347846 100644 --- a/docs/API_docs/constructors/updateUserBlocked.md +++ b/docs/API_docs/constructors/updateUserBlocked.md @@ -23,4 +23,5 @@ description: updateUserBlocked attributes, type and example ``` $updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserName.md b/docs/API_docs/constructors/updateUserName.md index 96f3b99c..d9ec4859 100644 --- a/docs/API_docs/constructors/updateUserName.md +++ b/docs/API_docs/constructors/updateUserName.md @@ -25,4 +25,5 @@ description: updateUserName attributes, type and example ``` $updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserPhone.md b/docs/API_docs/constructors/updateUserPhone.md index 8a50ff64..829d29a0 100644 --- a/docs/API_docs/constructors/updateUserPhone.md +++ b/docs/API_docs/constructors/updateUserPhone.md @@ -23,4 +23,5 @@ description: updateUserPhone attributes, type and example ``` $updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserPhoto.md b/docs/API_docs/constructors/updateUserPhoto.md index 7d7d62cb..0b6e7a42 100644 --- a/docs/API_docs/constructors/updateUserPhoto.md +++ b/docs/API_docs/constructors/updateUserPhoto.md @@ -25,4 +25,5 @@ description: updateUserPhoto attributes, type and example ``` $updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserStatus.md b/docs/API_docs/constructors/updateUserStatus.md index f1a049b8..a46cabaa 100644 --- a/docs/API_docs/constructors/updateUserStatus.md +++ b/docs/API_docs/constructors/updateUserStatus.md @@ -23,4 +23,5 @@ description: updateUserStatus attributes, type and example ``` $updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateUserTyping.md b/docs/API_docs/constructors/updateUserTyping.md index 54aabc7f..cd966ed2 100644 --- a/docs/API_docs/constructors/updateUserTyping.md +++ b/docs/API_docs/constructors/updateUserTyping.md @@ -23,4 +23,5 @@ description: updateUserTyping attributes, type and example ``` $updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updateWebPage.md b/docs/API_docs/constructors/updateWebPage.md index 28ead1eb..66605181 100644 --- a/docs/API_docs/constructors/updateWebPage.md +++ b/docs/API_docs/constructors/updateWebPage.md @@ -24,4 +24,5 @@ description: updateWebPage attributes, type and example ``` $updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates.md b/docs/API_docs/constructors/updates.md index b4f2ce4b..0591e2d8 100644 --- a/docs/API_docs/constructors/updates.md +++ b/docs/API_docs/constructors/updates.md @@ -26,4 +26,5 @@ description: updates attributes, type and example ``` $updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updatesCombined.md b/docs/API_docs/constructors/updatesCombined.md index a40f7cf2..733da382 100644 --- a/docs/API_docs/constructors/updatesCombined.md +++ b/docs/API_docs/constructors/updatesCombined.md @@ -27,4 +27,5 @@ description: updatesCombined attributes, type and example ``` $updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updatesTooLong.md b/docs/API_docs/constructors/updatesTooLong.md index 2298d56c..4e47e6ed 100644 --- a/docs/API_docs/constructors/updatesTooLong.md +++ b/docs/API_docs/constructors/updatesTooLong.md @@ -17,4 +17,5 @@ description: updatesTooLong attributes, type and example ``` $updatesTooLong = ['_' => 'updatesTooLong', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md index f7eb7cc6..6ac95f10 100644 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -28,4 +28,5 @@ description: updates_channelDifference attributes, type and example ``` $updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md index 256eca12..4ea0e94f 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -24,4 +24,5 @@ description: updates_channelDifferenceEmpty attributes, type and example ``` $updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md index 903f519a..42370bcd 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -31,4 +31,5 @@ description: updates_channelDifferenceTooLong attributes, type and example ``` $updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md index 3a7d84a4..5571d639 100644 --- a/docs/API_docs/constructors/updates_difference.md +++ b/docs/API_docs/constructors/updates_difference.md @@ -27,4 +27,5 @@ description: updates_difference attributes, type and example ``` $updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_differenceEmpty.md b/docs/API_docs/constructors/updates_differenceEmpty.md index f25f1310..64cf8770 100644 --- a/docs/API_docs/constructors/updates_differenceEmpty.md +++ b/docs/API_docs/constructors/updates_differenceEmpty.md @@ -23,4 +23,5 @@ description: updates_differenceEmpty attributes, type and example ``` $updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md index 0f106876..183a0e83 100644 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -27,4 +27,5 @@ description: updates_differenceSlice attributes, type and example ``` $updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/updates_state.md b/docs/API_docs/constructors/updates_state.md index cb4f88e0..a41973db 100644 --- a/docs/API_docs/constructors/updates_state.md +++ b/docs/API_docs/constructors/updates_state.md @@ -26,4 +26,5 @@ description: updates_state attributes, type and example ``` $updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md index 67b5a404..4b41092f 100644 --- a/docs/API_docs/constructors/upload_file.md +++ b/docs/API_docs/constructors/upload_file.md @@ -24,4 +24,5 @@ description: upload_file attributes, type and example ``` $upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/user.md b/docs/API_docs/constructors/user.md index 09671d4a..efd0a934 100644 --- a/docs/API_docs/constructors/user.md +++ b/docs/API_docs/constructors/user.md @@ -43,4 +43,18 @@ description: user attributes, type and example ``` $user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userEmpty.md b/docs/API_docs/constructors/userEmpty.md index 2ffac362..f512d1b6 100644 --- a/docs/API_docs/constructors/userEmpty.md +++ b/docs/API_docs/constructors/userEmpty.md @@ -22,4 +22,18 @@ description: userEmpty attributes, type and example ``` $userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) ``` \ No newline at end of file diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md index 9272c13a..d6a020a5 100644 --- a/docs/API_docs/constructors/userFull.md +++ b/docs/API_docs/constructors/userFull.md @@ -28,4 +28,5 @@ description: userFull attributes, type and example ``` $userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userProfilePhoto.md b/docs/API_docs/constructors/userProfilePhoto.md index e9e33b63..83a2fd53 100644 --- a/docs/API_docs/constructors/userProfilePhoto.md +++ b/docs/API_docs/constructors/userProfilePhoto.md @@ -24,4 +24,5 @@ description: userProfilePhoto attributes, type and example ``` $userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userProfilePhotoEmpty.md b/docs/API_docs/constructors/userProfilePhotoEmpty.md index 6a8b8eef..e34a9f13 100644 --- a/docs/API_docs/constructors/userProfilePhotoEmpty.md +++ b/docs/API_docs/constructors/userProfilePhotoEmpty.md @@ -17,4 +17,5 @@ description: userProfilePhotoEmpty attributes, type and example ``` $userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusEmpty.md b/docs/API_docs/constructors/userStatusEmpty.md index 72c8447e..2da5acdc 100644 --- a/docs/API_docs/constructors/userStatusEmpty.md +++ b/docs/API_docs/constructors/userStatusEmpty.md @@ -17,4 +17,5 @@ description: userStatusEmpty attributes, type and example ``` $userStatusEmpty = ['_' => 'userStatusEmpty', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusLastMonth.md b/docs/API_docs/constructors/userStatusLastMonth.md index d7a4fd75..a69712d4 100644 --- a/docs/API_docs/constructors/userStatusLastMonth.md +++ b/docs/API_docs/constructors/userStatusLastMonth.md @@ -17,4 +17,5 @@ description: userStatusLastMonth attributes, type and example ``` $userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusLastWeek.md b/docs/API_docs/constructors/userStatusLastWeek.md index 17fccace..ae3b3c10 100644 --- a/docs/API_docs/constructors/userStatusLastWeek.md +++ b/docs/API_docs/constructors/userStatusLastWeek.md @@ -17,4 +17,5 @@ description: userStatusLastWeek attributes, type and example ``` $userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusOffline.md b/docs/API_docs/constructors/userStatusOffline.md index 7db5500a..1d612b73 100644 --- a/docs/API_docs/constructors/userStatusOffline.md +++ b/docs/API_docs/constructors/userStatusOffline.md @@ -22,4 +22,5 @@ description: userStatusOffline attributes, type and example ``` $userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusOnline.md b/docs/API_docs/constructors/userStatusOnline.md index f997b7f5..0f67d7fd 100644 --- a/docs/API_docs/constructors/userStatusOnline.md +++ b/docs/API_docs/constructors/userStatusOnline.md @@ -22,4 +22,5 @@ description: userStatusOnline attributes, type and example ``` $userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/userStatusRecently.md b/docs/API_docs/constructors/userStatusRecently.md index bdd98c65..64477b99 100644 --- a/docs/API_docs/constructors/userStatusRecently.md +++ b/docs/API_docs/constructors/userStatusRecently.md @@ -17,4 +17,5 @@ description: userStatusRecently attributes, type and example ``` $userStatusRecently = ['_' => 'userStatusRecently', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/vector.md b/docs/API_docs/constructors/vector.md index d18e547b..f9567743 100644 --- a/docs/API_docs/constructors/vector.md +++ b/docs/API_docs/constructors/vector.md @@ -17,4 +17,5 @@ description: vector attributes, type and example ``` $vector = ['_' => 'vector', ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/wallPaper.md b/docs/API_docs/constructors/wallPaper.md index f011ac93..dabeea9e 100644 --- a/docs/API_docs/constructors/wallPaper.md +++ b/docs/API_docs/constructors/wallPaper.md @@ -25,4 +25,5 @@ description: wallPaper attributes, type and example ``` $wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/wallPaperSolid.md b/docs/API_docs/constructors/wallPaperSolid.md index f7a9acbd..c0b231fa 100644 --- a/docs/API_docs/constructors/wallPaperSolid.md +++ b/docs/API_docs/constructors/wallPaperSolid.md @@ -25,4 +25,5 @@ description: wallPaperSolid attributes, type and example ``` $wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/webPage.md b/docs/API_docs/constructors/webPage.md index 93e305bf..bef51109 100644 --- a/docs/API_docs/constructors/webPage.md +++ b/docs/API_docs/constructors/webPage.md @@ -36,4 +36,5 @@ description: webPage attributes, type and example ``` $webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/webPageEmpty.md b/docs/API_docs/constructors/webPageEmpty.md index 096be721..197335af 100644 --- a/docs/API_docs/constructors/webPageEmpty.md +++ b/docs/API_docs/constructors/webPageEmpty.md @@ -22,4 +22,5 @@ description: webPageEmpty attributes, type and example ``` $webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs/constructors/webPagePending.md b/docs/API_docs/constructors/webPagePending.md index 49aa580d..4bc45776 100644 --- a/docs/API_docs/constructors/webPagePending.md +++ b/docs/API_docs/constructors/webPagePending.md @@ -23,4 +23,5 @@ description: webPagePending attributes, type and example ``` $webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs_46/constructors/accountDaysTTL.md b/docs/API_docs_46/constructors/accountDaysTTL.md deleted file mode 100644 index 00a739f5..00000000 --- a/docs/API_docs_46/constructors/accountDaysTTL.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: accountDaysTTL -description: accountDaysTTL attributes, type and example ---- -## Constructor: accountDaysTTL -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|days|[int](../types/int.md) | Required| - - - -### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) - - -### Example: - -``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_authorizations.md b/docs/API_docs_46/constructors/account_authorizations.md deleted file mode 100644 index 267ac6eb..00000000 --- a/docs/API_docs_46/constructors/account_authorizations.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: account_authorizations -description: account_authorizations attributes, type and example ---- -## Constructor: account\_authorizations -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|authorizations|Array of [Authorization](../types/Authorization.md) | Required| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -``` -$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_noPassword.md b/docs/API_docs_46/constructors/account_noPassword.md deleted file mode 100644 index 0c328fca..00000000 --- a/docs/API_docs_46/constructors/account_noPassword.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: account_noPassword -description: account_noPassword attributes, type and example ---- -## Constructor: account\_noPassword -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_salt|[bytes](../types/bytes.md) | Required| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -``` -$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_password.md b/docs/API_docs_46/constructors/account_password.md deleted file mode 100644 index 5cc9b168..00000000 --- a/docs/API_docs_46/constructors/account_password.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: account_password -description: account_password attributes, type and example ---- -## Constructor: account\_password -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|current\_salt|[bytes](../types/bytes.md) | Required| -|new\_salt|[bytes](../types/bytes.md) | Required| -|hint|[string](../types/string.md) | Required| -|has\_recovery|[Bool](../types/Bool.md) | Required| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -``` -$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_passwordInputSettings.md b/docs/API_docs_46/constructors/account_passwordInputSettings.md deleted file mode 100644 index 6a25eaf9..00000000 --- a/docs/API_docs_46/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: account_passwordInputSettings -description: account_passwordInputSettings attributes, type and example ---- -## Constructor: account\_passwordInputSettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_salt|[bytes](../types/bytes.md) | Optional| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional| -|hint|[string](../types/string.md) | Optional| -|email|[string](../types/string.md) | Optional| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -``` -$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_passwordSettings.md b/docs/API_docs_46/constructors/account_passwordSettings.md deleted file mode 100644 index 0971ad13..00000000 --- a/docs/API_docs_46/constructors/account_passwordSettings.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: account_passwordSettings -description: account_passwordSettings attributes, type and example ---- -## Constructor: account\_passwordSettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|email|[string](../types/string.md) | Required| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -``` -$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_privacyRules.md b/docs/API_docs_46/constructors/account_privacyRules.md deleted file mode 100644 index 16d82ecd..00000000 --- a/docs/API_docs_46/constructors/account_privacyRules.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: account_privacyRules -description: account_privacyRules attributes, type and example ---- -## Constructor: account\_privacyRules -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -``` -$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/account_sentChangePhoneCode.md b/docs/API_docs_46/constructors/account_sentChangePhoneCode.md deleted file mode 100644 index 4c70735d..00000000 --- a/docs/API_docs_46/constructors/account_sentChangePhoneCode.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: account_sentChangePhoneCode -description: account_sentChangePhoneCode attributes, type and example ---- -## Constructor: account\_sentChangePhoneCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_code\_hash|[string](../types/string.md) | Required| -|send\_call\_timeout|[int](../types/int.md) | Required| - - - -### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) - - -### Example: - -``` -$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/audio.md b/docs/API_docs_46/constructors/audio.md deleted file mode 100644 index 80007601..00000000 --- a/docs/API_docs_46/constructors/audio.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: audio -description: audio attributes, type and example ---- -## Constructor: audio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|duration|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|size|[int](../types/int.md) | Required| -|dc\_id|[int](../types/int.md) | Required| - - - -### Type: [Audio](../types/Audio.md) - - -### Example: - -``` -$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/audioEmpty.md b/docs/API_docs_46/constructors/audioEmpty.md deleted file mode 100644 index f809fa67..00000000 --- a/docs/API_docs_46/constructors/audioEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: audioEmpty -description: audioEmpty attributes, type and example ---- -## Constructor: audioEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Audio](../types/Audio.md) - - -### Example: - -``` -$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_authorization.md b/docs/API_docs_46/constructors/auth_authorization.md deleted file mode 100644 index 6f9debf6..00000000 --- a/docs/API_docs_46/constructors/auth_authorization.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_authorization -description: auth_authorization attributes, type and example ---- -## Constructor: auth\_authorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user|[User](../types/User.md) | Required| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -``` -$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_checkedPhone.md b/docs/API_docs_46/constructors/auth_checkedPhone.md deleted file mode 100644 index fb1c42c6..00000000 --- a/docs/API_docs_46/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_checkedPhone -description: auth_checkedPhone attributes, type and example ---- -## Constructor: auth\_checkedPhone -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_registered|[Bool](../types/Bool.md) | Required| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -``` -$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_exportedAuthorization.md b/docs/API_docs_46/constructors/auth_exportedAuthorization.md deleted file mode 100644 index e5d470c1..00000000 --- a/docs/API_docs_46/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_exportedAuthorization -description: auth_exportedAuthorization attributes, type and example ---- -## Constructor: auth\_exportedAuthorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -``` -$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_passwordRecovery.md b/docs/API_docs_46/constructors/auth_passwordRecovery.md deleted file mode 100644 index 69cf3a80..00000000 --- a/docs/API_docs_46/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_passwordRecovery -description: auth_passwordRecovery attributes, type and example ---- -## Constructor: auth\_passwordRecovery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|email\_pattern|[string](../types/string.md) | Required| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -``` -$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_sentAppCode.md b/docs/API_docs_46/constructors/auth_sentAppCode.md deleted file mode 100644 index 4c34a35e..00000000 --- a/docs/API_docs_46/constructors/auth_sentAppCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_sentAppCode -description: auth_sentAppCode attributes, type and example ---- -## Constructor: auth\_sentAppCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_registered|[Bool](../types/Bool.md) | Required| -|phone\_code\_hash|[string](../types/string.md) | Required| -|send\_call\_timeout|[int](../types/int.md) | Required| -|is\_password|[Bool](../types/Bool.md) | Required| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -``` -$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/auth_sentCode.md b/docs/API_docs_46/constructors/auth_sentCode.md deleted file mode 100644 index d9530637..00000000 --- a/docs/API_docs_46/constructors/auth_sentCode.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: auth_sentCode -description: auth_sentCode attributes, type and example ---- -## Constructor: auth\_sentCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_registered|[Bool](../types/Bool.md) | Required| -|phone\_code\_hash|[string](../types/string.md) | Required| -|send\_call\_timeout|[int](../types/int.md) | Required| -|is\_password|[Bool](../types/Bool.md) | Required| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -``` -$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/authorization.md b/docs/API_docs_46/constructors/authorization.md deleted file mode 100644 index cc684ec3..00000000 --- a/docs/API_docs_46/constructors/authorization.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: authorization -description: authorization attributes, type and example ---- -## Constructor: authorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[long](../types/long.md) | Required| -|device\_model|[string](../types/string.md) | Required| -|platform|[string](../types/string.md) | Required| -|system\_version|[string](../types/string.md) | Required| -|api\_id|[int](../types/int.md) | Required| -|app\_name|[string](../types/string.md) | Required| -|app\_version|[string](../types/string.md) | Required| -|date\_created|[int](../types/int.md) | Required| -|date\_active|[int](../types/int.md) | Required| -|ip|[string](../types/string.md) | Required| -|country|[string](../types/string.md) | Required| -|region|[string](../types/string.md) | Required| - - - -### Type: [Authorization](../types/Authorization.md) - - -### Example: - -``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botCommand.md b/docs/API_docs_46/constructors/botCommand.md deleted file mode 100644 index 1a2090ac..00000000 --- a/docs/API_docs_46/constructors/botCommand.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: botCommand -description: botCommand attributes, type and example ---- -## Constructor: botCommand -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|command|[string](../types/string.md) | Required| -|description|[string](../types/string.md) | Required| - - - -### Type: [BotCommand](../types/BotCommand.md) - - -### Example: - -``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInfo.md b/docs/API_docs_46/constructors/botInfo.md deleted file mode 100644 index 1f89653d..00000000 --- a/docs/API_docs_46/constructors/botInfo.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: botInfo -description: botInfo attributes, type and example ---- -## Constructor: botInfo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|share\_text|[string](../types/string.md) | Required| -|description|[string](../types/string.md) | Required| -|commands|Array of [BotCommand](../types/BotCommand.md) | Required| - - - -### Type: [BotInfo](../types/BotInfo.md) - - -### Example: - -``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInfoEmpty.md b/docs/API_docs_46/constructors/botInfoEmpty.md deleted file mode 100644 index c6b8691e..00000000 --- a/docs/API_docs_46/constructors/botInfoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: botInfoEmpty -description: botInfoEmpty attributes, type and example ---- -## Constructor: botInfoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [BotInfo](../types/BotInfo.md) - - -### Example: - -``` -$botInfoEmpty = ['_' => 'botInfoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInlineMediaResultDocument.md b/docs/API_docs_46/constructors/botInlineMediaResultDocument.md deleted file mode 100644 index 67d6c022..00000000 --- a/docs/API_docs_46/constructors/botInlineMediaResultDocument.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: botInlineMediaResultDocument -description: botInlineMediaResultDocument attributes, type and example ---- -## Constructor: botInlineMediaResultDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|document|[Document](../types/Document.md) | Required| -|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| - - - -### Type: [BotInlineResult](../types/BotInlineResult.md) - - -### Example: - -``` -$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInlineMediaResultPhoto.md b/docs/API_docs_46/constructors/botInlineMediaResultPhoto.md deleted file mode 100644 index c6ca46e3..00000000 --- a/docs/API_docs_46/constructors/botInlineMediaResultPhoto.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: botInlineMediaResultPhoto -description: botInlineMediaResultPhoto attributes, type and example ---- -## Constructor: botInlineMediaResultPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|photo|[Photo](../types/Photo.md) | Required| -|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| - - - -### Type: [BotInlineResult](../types/BotInlineResult.md) - - -### Example: - -``` -$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInlineMessageMediaAuto.md b/docs/API_docs_46/constructors/botInlineMessageMediaAuto.md deleted file mode 100644 index 7e2981a1..00000000 --- a/docs/API_docs_46/constructors/botInlineMessageMediaAuto.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: botInlineMessageMediaAuto -description: botInlineMessageMediaAuto attributes, type and example ---- -## Constructor: botInlineMessageMediaAuto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|caption|[string](../types/string.md) | Required| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInlineMessageText.md b/docs/API_docs_46/constructors/botInlineMessageText.md deleted file mode 100644 index dd6c53f2..00000000 --- a/docs/API_docs_46/constructors/botInlineMessageText.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: botInlineMessageText -description: botInlineMessageText attributes, type and example ---- -## Constructor: botInlineMessageText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|no\_webpage|[Bool](../types/Bool.md) | Optional| -|message|[string](../types/string.md) | Required| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/botInlineResult.md b/docs/API_docs_46/constructors/botInlineResult.md deleted file mode 100644 index efcbaed3..00000000 --- a/docs/API_docs_46/constructors/botInlineResult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: botInlineResult -description: botInlineResult attributes, type and example ---- -## Constructor: botInlineResult -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|url|[string](../types/string.md) | Optional| -|thumb\_url|[string](../types/string.md) | Optional| -|content\_url|[string](../types/string.md) | Optional| -|content\_type|[string](../types/string.md) | Optional| -|w|[int](../types/int.md) | Optional| -|h|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| - - - -### Type: [BotInlineResult](../types/BotInlineResult.md) - - -### Example: - -``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channel.md b/docs/API_docs_46/constructors/channel.md deleted file mode 100644 index 00a786a7..00000000 --- a/docs/API_docs_46/constructors/channel.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: channel -description: channel attributes, type and example ---- -## Constructor: channel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|creator|[Bool](../types/Bool.md) | Optional| -|kicked|[Bool](../types/Bool.md) | Optional| -|left|[Bool](../types/Bool.md) | Optional| -|editor|[Bool](../types/Bool.md) | Optional| -|moderator|[Bool](../types/Bool.md) | Optional| -|broadcast|[Bool](../types/Bool.md) | Optional| -|verified|[Bool](../types/Bool.md) | Optional| -|megagroup|[Bool](../types/Bool.md) | Optional| -|restricted|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|title|[string](../types/string.md) | Required| -|username|[string](../types/string.md) | Optional| -|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|restriction\_reason|[string](../types/string.md) | Optional| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelForbidden.md b/docs/API_docs_46/constructors/channelForbidden.md deleted file mode 100644 index 922b5b39..00000000 --- a/docs/API_docs_46/constructors/channelForbidden.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelForbidden -description: channelForbidden attributes, type and example ---- -## Constructor: channelForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|title|[string](../types/string.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelFull.md b/docs/API_docs_46/constructors/channelFull.md deleted file mode 100644 index 6799fa8a..00000000 --- a/docs/API_docs_46/constructors/channelFull.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: channelFull -description: channelFull attributes, type and example ---- -## Constructor: channelFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|can\_view\_participants|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|about|[string](../types/string.md) | Required| -|participants\_count|[int](../types/int.md) | Optional| -|admins\_count|[int](../types/int.md) | Optional| -|kicked\_count|[int](../types/int.md) | Optional| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|unread\_important\_count|[int](../types/int.md) | Required| -|chat\_photo|[Photo](../types/Photo.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| -|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| -|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| -|migrated\_from\_max\_id|[int](../types/int.md) | Optional| - - - -### Type: [ChatFull](../types/ChatFull.md) - - -### Example: - -``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelMessagesFilter.md b/docs/API_docs_46/constructors/channelMessagesFilter.md deleted file mode 100644 index b9c245f7..00000000 --- a/docs/API_docs_46/constructors/channelMessagesFilter.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelMessagesFilter -description: channelMessagesFilter attributes, type and example ---- -## Constructor: channelMessagesFilter -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|important\_only|[Bool](../types/Bool.md) | Optional| -|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| -|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| - - - -### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) - - -### Example: - -``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelMessagesFilterCollapsed.md b/docs/API_docs_46/constructors/channelMessagesFilterCollapsed.md deleted file mode 100644 index 74145483..00000000 --- a/docs/API_docs_46/constructors/channelMessagesFilterCollapsed.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelMessagesFilterCollapsed -description: channelMessagesFilterCollapsed attributes, type and example ---- -## Constructor: channelMessagesFilterCollapsed -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) - - -### Example: - -``` -$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelMessagesFilterEmpty.md b/docs/API_docs_46/constructors/channelMessagesFilterEmpty.md deleted file mode 100644 index 1d272f96..00000000 --- a/docs/API_docs_46/constructors/channelMessagesFilterEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelMessagesFilterEmpty -description: channelMessagesFilterEmpty attributes, type and example ---- -## Constructor: channelMessagesFilterEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) - - -### Example: - -``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipant.md b/docs/API_docs_46/constructors/channelParticipant.md deleted file mode 100644 index d9e2ee86..00000000 --- a/docs/API_docs_46/constructors/channelParticipant.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: channelParticipant -description: channelParticipant attributes, type and example ---- -## Constructor: channelParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantCreator.md b/docs/API_docs_46/constructors/channelParticipantCreator.md deleted file mode 100644 index 1164dc11..00000000 --- a/docs/API_docs_46/constructors/channelParticipantCreator.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: channelParticipantCreator -description: channelParticipantCreator attributes, type and example ---- -## Constructor: channelParticipantCreator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantEditor.md b/docs/API_docs_46/constructors/channelParticipantEditor.md deleted file mode 100644 index 2d649491..00000000 --- a/docs/API_docs_46/constructors/channelParticipantEditor.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantEditor -description: channelParticipantEditor attributes, type and example ---- -## Constructor: channelParticipantEditor -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantKicked.md b/docs/API_docs_46/constructors/channelParticipantKicked.md deleted file mode 100644 index ce90ce21..00000000 --- a/docs/API_docs_46/constructors/channelParticipantKicked.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantKicked -description: channelParticipantKicked attributes, type and example ---- -## Constructor: channelParticipantKicked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|kicked\_by|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantModerator.md b/docs/API_docs_46/constructors/channelParticipantModerator.md deleted file mode 100644 index 167e9345..00000000 --- a/docs/API_docs_46/constructors/channelParticipantModerator.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantModerator -description: channelParticipantModerator attributes, type and example ---- -## Constructor: channelParticipantModerator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantSelf.md b/docs/API_docs_46/constructors/channelParticipantSelf.md deleted file mode 100644 index effad581..00000000 --- a/docs/API_docs_46/constructors/channelParticipantSelf.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantSelf -description: channelParticipantSelf attributes, type and example ---- -## Constructor: channelParticipantSelf -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantsAdmins.md b/docs/API_docs_46/constructors/channelParticipantsAdmins.md deleted file mode 100644 index 995e1fce..00000000 --- a/docs/API_docs_46/constructors/channelParticipantsAdmins.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsAdmins -description: channelParticipantsAdmins attributes, type and example ---- -## Constructor: channelParticipantsAdmins -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantsBots.md b/docs/API_docs_46/constructors/channelParticipantsBots.md deleted file mode 100644 index 83b4152b..00000000 --- a/docs/API_docs_46/constructors/channelParticipantsBots.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsBots -description: channelParticipantsBots attributes, type and example ---- -## Constructor: channelParticipantsBots -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantsKicked.md b/docs/API_docs_46/constructors/channelParticipantsKicked.md deleted file mode 100644 index aeb52022..00000000 --- a/docs/API_docs_46/constructors/channelParticipantsKicked.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsKicked -description: channelParticipantsKicked attributes, type and example ---- -## Constructor: channelParticipantsKicked -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelParticipantsRecent.md b/docs/API_docs_46/constructors/channelParticipantsRecent.md deleted file mode 100644 index 8bd3f274..00000000 --- a/docs/API_docs_46/constructors/channelParticipantsRecent.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsRecent -description: channelParticipantsRecent attributes, type and example ---- -## Constructor: channelParticipantsRecent -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelRoleEditor.md b/docs/API_docs_46/constructors/channelRoleEditor.md deleted file mode 100644 index 380d63b0..00000000 --- a/docs/API_docs_46/constructors/channelRoleEditor.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleEditor -description: channelRoleEditor attributes, type and example ---- -## Constructor: channelRoleEditor -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelRoleEmpty.md b/docs/API_docs_46/constructors/channelRoleEmpty.md deleted file mode 100644 index 7f4c1346..00000000 --- a/docs/API_docs_46/constructors/channelRoleEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleEmpty -description: channelRoleEmpty attributes, type and example ---- -## Constructor: channelRoleEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channelRoleModerator.md b/docs/API_docs_46/constructors/channelRoleModerator.md deleted file mode 100644 index 706e9483..00000000 --- a/docs/API_docs_46/constructors/channelRoleModerator.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleModerator -description: channelRoleModerator attributes, type and example ---- -## Constructor: channelRoleModerator -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channels_channelParticipant.md b/docs/API_docs_46/constructors/channels_channelParticipant.md deleted file mode 100644 index f5e5212b..00000000 --- a/docs/API_docs_46/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: channels_channelParticipant -description: channels_channelParticipant attributes, type and example ---- -## Constructor: channels\_channelParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -``` -$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/channels_channelParticipants.md b/docs/API_docs_46/constructors/channels_channelParticipants.md deleted file mode 100644 index 178521ff..00000000 --- a/docs/API_docs_46/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channels_channelParticipants -description: channels_channelParticipants attributes, type and example ---- -## Constructor: channels\_channelParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -``` -$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chat.md b/docs/API_docs_46/constructors/chat.md deleted file mode 100644 index e840792e..00000000 --- a/docs/API_docs_46/constructors/chat.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: chat -description: chat attributes, type and example ---- -## Constructor: chat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|creator|[Bool](../types/Bool.md) | Optional| -|kicked|[Bool](../types/Bool.md) | Optional| -|left|[Bool](../types/Bool.md) | Optional| -|admins\_enabled|[Bool](../types/Bool.md) | Optional| -|admin|[Bool](../types/Bool.md) | Optional| -|deactivated|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| -|participants\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatEmpty.md b/docs/API_docs_46/constructors/chatEmpty.md deleted file mode 100644 index be037a3d..00000000 --- a/docs/API_docs_46/constructors/chatEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatEmpty -description: chatEmpty attributes, type and example ---- -## Constructor: chatEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatForbidden.md b/docs/API_docs_46/constructors/chatForbidden.md deleted file mode 100644 index d4672339..00000000 --- a/docs/API_docs_46/constructors/chatForbidden.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatForbidden -description: chatForbidden attributes, type and example ---- -## Constructor: chatForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatFull.md b/docs/API_docs_46/constructors/chatFull.md deleted file mode 100644 index d28e14e5..00000000 --- a/docs/API_docs_46/constructors/chatFull.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: chatFull -description: chatFull attributes, type and example ---- -## Constructor: chatFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| -|chat\_photo|[Photo](../types/Photo.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| -|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| - - - -### Type: [ChatFull](../types/ChatFull.md) - - -### Example: - -``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatInvite.md b/docs/API_docs_46/constructors/chatInvite.md deleted file mode 100644 index aa703d12..00000000 --- a/docs/API_docs_46/constructors/chatInvite.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: chatInvite -description: chatInvite attributes, type and example ---- -## Constructor: chatInvite -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel|[Bool](../types/Bool.md) | Optional| -|broadcast|[Bool](../types/Bool.md) | Optional| -|public|[Bool](../types/Bool.md) | Optional| -|megagroup|[Bool](../types/Bool.md) | Optional| -|title|[string](../types/string.md) | Required| - - - -### Type: [ChatInvite](../types/ChatInvite.md) - - -### Example: - -``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatInviteAlready.md b/docs/API_docs_46/constructors/chatInviteAlready.md deleted file mode 100644 index 26a55a14..00000000 --- a/docs/API_docs_46/constructors/chatInviteAlready.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatInviteAlready -description: chatInviteAlready attributes, type and example ---- -## Constructor: chatInviteAlready -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat|[Chat](../types/Chat.md) | Required| - - - -### Type: [ChatInvite](../types/ChatInvite.md) - - -### Example: - -``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatInviteEmpty.md b/docs/API_docs_46/constructors/chatInviteEmpty.md deleted file mode 100644 index e7bfcce4..00000000 --- a/docs/API_docs_46/constructors/chatInviteEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: chatInviteEmpty -description: chatInviteEmpty attributes, type and example ---- -## Constructor: chatInviteEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) - - -### Example: - -``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatInviteExported.md b/docs/API_docs_46/constructors/chatInviteExported.md deleted file mode 100644 index 7446f90c..00000000 --- a/docs/API_docs_46/constructors/chatInviteExported.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatInviteExported -description: chatInviteExported attributes, type and example ---- -## Constructor: chatInviteExported -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|link|[string](../types/string.md) | Required| - - - -### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) - - -### Example: - -``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatParticipant.md b/docs/API_docs_46/constructors/chatParticipant.md deleted file mode 100644 index f11a7929..00000000 --- a/docs/API_docs_46/constructors/chatParticipant.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipant -description: chatParticipant attributes, type and example ---- -## Constructor: chatParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatParticipantAdmin.md b/docs/API_docs_46/constructors/chatParticipantAdmin.md deleted file mode 100644 index 5864cb5c..00000000 --- a/docs/API_docs_46/constructors/chatParticipantAdmin.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipantAdmin -description: chatParticipantAdmin attributes, type and example ---- -## Constructor: chatParticipantAdmin -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatParticipantCreator.md b/docs/API_docs_46/constructors/chatParticipantCreator.md deleted file mode 100644 index 82862ec7..00000000 --- a/docs/API_docs_46/constructors/chatParticipantCreator.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatParticipantCreator -description: chatParticipantCreator attributes, type and example ---- -## Constructor: chatParticipantCreator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatParticipants.md b/docs/API_docs_46/constructors/chatParticipants.md deleted file mode 100644 index 84732ae7..00000000 --- a/docs/API_docs_46/constructors/chatParticipants.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipants -description: chatParticipants attributes, type and example ---- -## Constructor: chatParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipants](../types/ChatParticipants.md) - - -### Example: - -``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatParticipantsForbidden.md b/docs/API_docs_46/constructors/chatParticipantsForbidden.md deleted file mode 100644 index 8863cc6a..00000000 --- a/docs/API_docs_46/constructors/chatParticipantsForbidden.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatParticipantsForbidden -description: chatParticipantsForbidden attributes, type and example ---- -## Constructor: chatParticipantsForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| - - - -### Type: [ChatParticipants](../types/ChatParticipants.md) - - -### Example: - -``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatPhoto.md b/docs/API_docs_46/constructors/chatPhoto.md deleted file mode 100644 index e47114e1..00000000 --- a/docs/API_docs_46/constructors/chatPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatPhoto -description: chatPhoto attributes, type and example ---- -## Constructor: chatPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo\_small|[FileLocation](../types/FileLocation.md) | Required| -|photo\_big|[FileLocation](../types/FileLocation.md) | Required| - - - -### Type: [ChatPhoto](../types/ChatPhoto.md) - - -### Example: - -``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/chatPhotoEmpty.md b/docs/API_docs_46/constructors/chatPhotoEmpty.md deleted file mode 100644 index 51e31432..00000000 --- a/docs/API_docs_46/constructors/chatPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: chatPhotoEmpty -description: chatPhotoEmpty attributes, type and example ---- -## Constructor: chatPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChatPhoto](../types/ChatPhoto.md) - - -### Example: - -``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/config.md b/docs/API_docs_46/constructors/config.md deleted file mode 100644 index 7cf61724..00000000 --- a/docs/API_docs_46/constructors/config.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: config -description: config attributes, type and example ---- -## Constructor: config -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|expires|[int](../types/int.md) | Required| -|test\_mode|[Bool](../types/Bool.md) | Required| -|this\_dc|[int](../types/int.md) | Required| -|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| -|chat\_size\_max|[int](../types/int.md) | Required| -|megagroup\_size\_max|[int](../types/int.md) | Required| -|forwarded\_count\_max|[int](../types/int.md) | Required| -|online\_update\_period\_ms|[int](../types/int.md) | Required| -|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| -|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| -|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| -|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| -|notify\_default\_delay\_ms|[int](../types/int.md) | Required| -|chat\_big\_size|[int](../types/int.md) | Required| -|push\_chat\_period\_ms|[int](../types/int.md) | Required| -|push\_chat\_limit|[int](../types/int.md) | Required| -|saved\_gifs\_limit|[int](../types/int.md) | Required| -|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| - - - -### Type: [Config](../types/Config.md) - - -### Example: - -``` -$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'disabled_features' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contact.md b/docs/API_docs_46/constructors/contact.md deleted file mode 100644 index c11a8eb5..00000000 --- a/docs/API_docs_46/constructors/contact.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contact -description: contact attributes, type and example ---- -## Constructor: contact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|mutual|[Bool](../types/Bool.md) | Required| - - - -### Type: [Contact](../types/Contact.md) - - -### Example: - -``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactBlocked.md b/docs/API_docs_46/constructors/contactBlocked.md deleted file mode 100644 index ded92b90..00000000 --- a/docs/API_docs_46/constructors/contactBlocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contactBlocked -description: contactBlocked attributes, type and example ---- -## Constructor: contactBlocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ContactBlocked](../types/ContactBlocked.md) - - -### Example: - -``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactLinkContact.md b/docs/API_docs_46/constructors/contactLinkContact.md deleted file mode 100644 index ff4733dd..00000000 --- a/docs/API_docs_46/constructors/contactLinkContact.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkContact -description: contactLinkContact attributes, type and example ---- -## Constructor: contactLinkContact -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactLinkHasPhone.md b/docs/API_docs_46/constructors/contactLinkHasPhone.md deleted file mode 100644 index 84b2acf9..00000000 --- a/docs/API_docs_46/constructors/contactLinkHasPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkHasPhone -description: contactLinkHasPhone attributes, type and example ---- -## Constructor: contactLinkHasPhone -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactLinkNone.md b/docs/API_docs_46/constructors/contactLinkNone.md deleted file mode 100644 index 439416aa..00000000 --- a/docs/API_docs_46/constructors/contactLinkNone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkNone -description: contactLinkNone attributes, type and example ---- -## Constructor: contactLinkNone -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactLinkUnknown.md b/docs/API_docs_46/constructors/contactLinkUnknown.md deleted file mode 100644 index d7dcbf79..00000000 --- a/docs/API_docs_46/constructors/contactLinkUnknown.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkUnknown -description: contactLinkUnknown attributes, type and example ---- -## Constructor: contactLinkUnknown -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactStatus.md b/docs/API_docs_46/constructors/contactStatus.md deleted file mode 100644 index 6bca93e2..00000000 --- a/docs/API_docs_46/constructors/contactStatus.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contactStatus -description: contactStatus attributes, type and example ---- -## Constructor: contactStatus -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|status|[UserStatus](../types/UserStatus.md) | Required| - - - -### Type: [ContactStatus](../types/ContactStatus.md) - - -### Example: - -``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contactSuggested.md b/docs/API_docs_46/constructors/contactSuggested.md deleted file mode 100644 index 8bbdb360..00000000 --- a/docs/API_docs_46/constructors/contactSuggested.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contactSuggested -description: contactSuggested attributes, type and example ---- -## Constructor: contactSuggested -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|mutual\_contacts|[int](../types/int.md) | Required| - - - -### Type: [ContactSuggested](../types/ContactSuggested.md) - - -### Example: - -``` -$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_blocked.md b/docs/API_docs_46/constructors/contacts_blocked.md deleted file mode 100644 index 7c6e4993..00000000 --- a/docs/API_docs_46/constructors/contacts_blocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_blocked -description: contacts_blocked attributes, type and example ---- -## Constructor: contacts\_blocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -``` -$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_blockedSlice.md b/docs/API_docs_46/constructors/contacts_blockedSlice.md deleted file mode 100644 index 108130f4..00000000 --- a/docs/API_docs_46/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_blockedSlice -description: contacts_blockedSlice attributes, type and example ---- -## Constructor: contacts\_blockedSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -``` -$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_contacts.md b/docs/API_docs_46/constructors/contacts_contacts.md deleted file mode 100644 index 41abfa44..00000000 --- a/docs/API_docs_46/constructors/contacts_contacts.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_contacts -description: contacts_contacts attributes, type and example ---- -## Constructor: contacts\_contacts -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|contacts|Array of [Contact](../types/Contact.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -``` -$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_contactsNotModified.md b/docs/API_docs_46/constructors/contacts_contactsNotModified.md deleted file mode 100644 index b8af62af..00000000 --- a/docs/API_docs_46/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contacts_contactsNotModified -description: contacts_contactsNotModified attributes, type and example ---- -## Constructor: contacts\_contactsNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -``` -$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_found.md b/docs/API_docs_46/constructors/contacts_found.md deleted file mode 100644 index 80ace315..00000000 --- a/docs/API_docs_46/constructors/contacts_found.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_found -description: contacts_found attributes, type and example ---- -## Constructor: contacts\_found -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|results|Array of [Peer](../types/Peer.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -``` -$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_importedContacts.md b/docs/API_docs_46/constructors/contacts_importedContacts.md deleted file mode 100644 index c491d5e7..00000000 --- a/docs/API_docs_46/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_importedContacts -description: contacts_importedContacts attributes, type and example ---- -## Constructor: contacts\_importedContacts -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| -|retry\_contacts|Array of [long](../types/long.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -``` -$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_link.md b/docs/API_docs_46/constructors/contacts_link.md deleted file mode 100644 index 3573e7bd..00000000 --- a/docs/API_docs_46/constructors/contacts_link.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_link -description: contacts_link attributes, type and example ---- -## Constructor: contacts\_link -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|my\_link|[ContactLink](../types/ContactLink.md) | Required| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| -|user|[User](../types/User.md) | Required| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -``` -$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_resolvedPeer.md b/docs/API_docs_46/constructors/contacts_resolvedPeer.md deleted file mode 100644 index 8e2482dd..00000000 --- a/docs/API_docs_46/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_resolvedPeer -description: contacts_resolvedPeer attributes, type and example ---- -## Constructor: contacts\_resolvedPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -``` -$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/contacts_suggested.md b/docs/API_docs_46/constructors/contacts_suggested.md deleted file mode 100644 index a9d8ac73..00000000 --- a/docs/API_docs_46/constructors/contacts_suggested.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_suggested -description: contacts_suggested attributes, type and example ---- -## Constructor: contacts\_suggested -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Suggested](../types/contacts_Suggested.md) - - -### Example: - -``` -$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/dcOption.md b/docs/API_docs_46/constructors/dcOption.md deleted file mode 100644 index 14b6bb4a..00000000 --- a/docs/API_docs_46/constructors/dcOption.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: dcOption -description: dcOption attributes, type and example ---- -## Constructor: dcOption -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|ipv6|[Bool](../types/Bool.md) | Optional| -|media\_only|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|ip\_address|[string](../types/string.md) | Required| -|port|[int](../types/int.md) | Required| - - - -### Type: [DcOption](../types/DcOption.md) - - -### Example: - -``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/dialog.md b/docs/API_docs_46/constructors/dialog.md deleted file mode 100644 index 23019a32..00000000 --- a/docs/API_docs_46/constructors/dialog.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: dialog -description: dialog attributes, type and example ---- -## Constructor: dialog -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|top\_message|[int](../types/int.md) | Required| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| - - - -### Type: [Dialog](../types/Dialog.md) - - -### Example: - -``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/dialogChannel.md b/docs/API_docs_46/constructors/dialogChannel.md deleted file mode 100644 index 53adff8e..00000000 --- a/docs/API_docs_46/constructors/dialogChannel.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: dialogChannel -description: dialogChannel attributes, type and example ---- -## Constructor: dialogChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|top\_message|[int](../types/int.md) | Required| -|top\_important\_message|[int](../types/int.md) | Required| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|unread\_important\_count|[int](../types/int.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|pts|[int](../types/int.md) | Required| - - - -### Type: [Dialog](../types/Dialog.md) - - -### Example: - -``` -$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/disabledFeature.md b/docs/API_docs_46/constructors/disabledFeature.md deleted file mode 100644 index 5d3c6d19..00000000 --- a/docs/API_docs_46/constructors/disabledFeature.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: disabledFeature -description: disabledFeature attributes, type and example ---- -## Constructor: disabledFeature -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|feature|[string](../types/string.md) | Required| -|description|[string](../types/string.md) | Required| - - - -### Type: [DisabledFeature](../types/DisabledFeature.md) - - -### Example: - -``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/document.md b/docs/API_docs_46/constructors/document.md deleted file mode 100644 index d5ff36d6..00000000 --- a/docs/API_docs_46/constructors/document.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: document -description: document attributes, type and example ---- -## Constructor: document -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|size|[int](../types/int.md) | Required| -|thumb|[PhotoSize](../types/PhotoSize.md) | Required| -|dc\_id|[int](../types/int.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| - - - -### Type: [Document](../types/Document.md) - - -### Example: - -``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeAnimated.md b/docs/API_docs_46/constructors/documentAttributeAnimated.md deleted file mode 100644 index 0d2bb9bb..00000000 --- a/docs/API_docs_46/constructors/documentAttributeAnimated.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: documentAttributeAnimated -description: documentAttributeAnimated attributes, type and example ---- -## Constructor: documentAttributeAnimated -[Back to constructors index](index.md) - - - - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeAudio.md b/docs/API_docs_46/constructors/documentAttributeAudio.md deleted file mode 100644 index 59f7480e..00000000 --- a/docs/API_docs_46/constructors/documentAttributeAudio.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: documentAttributeAudio -description: documentAttributeAudio attributes, type and example ---- -## Constructor: documentAttributeAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|duration|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|performer|[string](../types/string.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeFilename.md b/docs/API_docs_46/constructors/documentAttributeFilename.md deleted file mode 100644 index ff73a651..00000000 --- a/docs/API_docs_46/constructors/documentAttributeFilename.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: documentAttributeFilename -description: documentAttributeFilename attributes, type and example ---- -## Constructor: documentAttributeFilename -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file\_name|[string](../types/string.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeImageSize.md b/docs/API_docs_46/constructors/documentAttributeImageSize.md deleted file mode 100644 index f783f76d..00000000 --- a/docs/API_docs_46/constructors/documentAttributeImageSize.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: documentAttributeImageSize -description: documentAttributeImageSize attributes, type and example ---- -## Constructor: documentAttributeImageSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeSticker.md b/docs/API_docs_46/constructors/documentAttributeSticker.md deleted file mode 100644 index dadd5103..00000000 --- a/docs/API_docs_46/constructors/documentAttributeSticker.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: documentAttributeSticker -description: documentAttributeSticker attributes, type and example ---- -## Constructor: documentAttributeSticker -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|alt|[string](../types/string.md) | Required| -|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentAttributeVideo.md b/docs/API_docs_46/constructors/documentAttributeVideo.md deleted file mode 100644 index 32bba12f..00000000 --- a/docs/API_docs_46/constructors/documentAttributeVideo.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: documentAttributeVideo -description: documentAttributeVideo attributes, type and example ---- -## Constructor: documentAttributeVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|duration|[int](../types/int.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/documentEmpty.md b/docs/API_docs_46/constructors/documentEmpty.md deleted file mode 100644 index 5e6415ed..00000000 --- a/docs/API_docs_46/constructors/documentEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: documentEmpty -description: documentEmpty attributes, type and example ---- -## Constructor: documentEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Document](../types/Document.md) - - -### Example: - -``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedChat.md b/docs/API_docs_46/constructors/encryptedChat.md deleted file mode 100644 index 6a1e9454..00000000 --- a/docs/API_docs_46/constructors/encryptedChat.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: encryptedChat -description: encryptedChat attributes, type and example ---- -## Constructor: encryptedChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| -|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| -|key\_fingerprint|[long](../types/long.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedChatDiscarded.md b/docs/API_docs_46/constructors/encryptedChatDiscarded.md deleted file mode 100644 index 6fb93755..00000000 --- a/docs/API_docs_46/constructors/encryptedChatDiscarded.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: encryptedChatDiscarded -description: encryptedChatDiscarded attributes, type and example ---- -## Constructor: encryptedChatDiscarded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedChatEmpty.md b/docs/API_docs_46/constructors/encryptedChatEmpty.md deleted file mode 100644 index 45994b87..00000000 --- a/docs/API_docs_46/constructors/encryptedChatEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: encryptedChatEmpty -description: encryptedChatEmpty attributes, type and example ---- -## Constructor: encryptedChatEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedChatRequested.md b/docs/API_docs_46/constructors/encryptedChatRequested.md deleted file mode 100644 index 9f1e4b17..00000000 --- a/docs/API_docs_46/constructors/encryptedChatRequested.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: encryptedChatRequested -description: encryptedChatRequested attributes, type and example ---- -## Constructor: encryptedChatRequested -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| -|g\_a|[bytes](../types/bytes.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedChatWaiting.md b/docs/API_docs_46/constructors/encryptedChatWaiting.md deleted file mode 100644 index 4e679df8..00000000 --- a/docs/API_docs_46/constructors/encryptedChatWaiting.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: encryptedChatWaiting -description: encryptedChatWaiting attributes, type and example ---- -## Constructor: encryptedChatWaiting -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedFile.md b/docs/API_docs_46/constructors/encryptedFile.md deleted file mode 100644 index aacddbc2..00000000 --- a/docs/API_docs_46/constructors/encryptedFile.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: encryptedFile -description: encryptedFile attributes, type and example ---- -## Constructor: encryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|size|[int](../types/int.md) | Required| -|dc\_id|[int](../types/int.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [EncryptedFile](../types/EncryptedFile.md) - - -### Example: - -``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedFileEmpty.md b/docs/API_docs_46/constructors/encryptedFileEmpty.md deleted file mode 100644 index 9633ef93..00000000 --- a/docs/API_docs_46/constructors/encryptedFileEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: encryptedFileEmpty -description: encryptedFileEmpty attributes, type and example ---- -## Constructor: encryptedFileEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [EncryptedFile](../types/EncryptedFile.md) - - -### Example: - -``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedMessage.md b/docs/API_docs_46/constructors/encryptedMessage.md deleted file mode 100644 index 6dc303e4..00000000 --- a/docs/API_docs_46/constructors/encryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: encryptedMessage -description: encryptedMessage attributes, type and example ---- -## Constructor: encryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| -|file|[EncryptedFile](../types/EncryptedFile.md) | Required| - - - -### Type: [EncryptedMessage](../types/EncryptedMessage.md) - - -### Example: - -``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/encryptedMessageService.md b/docs/API_docs_46/constructors/encryptedMessageService.md deleted file mode 100644 index bdb240cd..00000000 --- a/docs/API_docs_46/constructors/encryptedMessageService.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: encryptedMessageService -description: encryptedMessageService attributes, type and example ---- -## Constructor: encryptedMessageService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [EncryptedMessage](../types/EncryptedMessage.md) - - -### Example: - -``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/error.md b/docs/API_docs_46/constructors/error.md deleted file mode 100644 index 6b6c7e79..00000000 --- a/docs/API_docs_46/constructors/error.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: error -description: error attributes, type and example ---- -## Constructor: error -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|code|[int](../types/int.md) | Required| -|text|[string](../types/string.md) | Required| - - - -### Type: [Error](../types/Error.md) - - -### Example: - -``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/fileLocation.md b/docs/API_docs_46/constructors/fileLocation.md deleted file mode 100644 index 5b13d61c..00000000 --- a/docs/API_docs_46/constructors/fileLocation.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: fileLocation -description: fileLocation attributes, type and example ---- -## Constructor: fileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dc\_id|[int](../types/int.md) | Required| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [FileLocation](../types/FileLocation.md) - - -### Example: - -``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/fileLocationUnavailable.md b/docs/API_docs_46/constructors/fileLocationUnavailable.md deleted file mode 100644 index 6e3c393d..00000000 --- a/docs/API_docs_46/constructors/fileLocationUnavailable.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: fileLocationUnavailable -description: fileLocationUnavailable attributes, type and example ---- -## Constructor: fileLocationUnavailable -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [FileLocation](../types/FileLocation.md) - - -### Example: - -``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/foundGif.md b/docs/API_docs_46/constructors/foundGif.md deleted file mode 100644 index 8002d0b9..00000000 --- a/docs/API_docs_46/constructors/foundGif.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: foundGif -description: foundGif attributes, type and example ---- -## Constructor: foundGif -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|thumb\_url|[string](../types/string.md) | Required| -|content\_url|[string](../types/string.md) | Required| -|content\_type|[string](../types/string.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [FoundGif](../types/FoundGif.md) - - -### Example: - -``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/foundGifCached.md b/docs/API_docs_46/constructors/foundGifCached.md deleted file mode 100644 index 08ef6d43..00000000 --- a/docs/API_docs_46/constructors/foundGifCached.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: foundGifCached -description: foundGifCached attributes, type and example ---- -## Constructor: foundGifCached -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|photo|[Photo](../types/Photo.md) | Required| -|document|[Document](../types/Document.md) | Required| - - - -### Type: [FoundGif](../types/FoundGif.md) - - -### Example: - -``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/geoPoint.md b/docs/API_docs_46/constructors/geoPoint.md deleted file mode 100644 index d62a3e25..00000000 --- a/docs/API_docs_46/constructors/geoPoint.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: geoPoint -description: geoPoint attributes, type and example ---- -## Constructor: geoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|longitude|[double](../types/double.md) | Required| -|latitude|[double](../types/double.md) | Required| - - - -### Type: [GeoPoint](../types/GeoPoint.md) - - -### Example: - -``` -$geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/geoPointEmpty.md b/docs/API_docs_46/constructors/geoPointEmpty.md deleted file mode 100644 index 97e09e08..00000000 --- a/docs/API_docs_46/constructors/geoPointEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: geoPointEmpty -description: geoPointEmpty attributes, type and example ---- -## Constructor: geoPointEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [GeoPoint](../types/GeoPoint.md) - - -### Example: - -``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_appChangelog.md b/docs/API_docs_46/constructors/help_appChangelog.md deleted file mode 100644 index 15e829ce..00000000 --- a/docs/API_docs_46/constructors/help_appChangelog.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_appChangelog -description: help_appChangelog attributes, type and example ---- -## Constructor: help\_appChangelog -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -``` -$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_appChangelogEmpty.md b/docs/API_docs_46/constructors/help_appChangelogEmpty.md deleted file mode 100644 index e5cf48bb..00000000 --- a/docs/API_docs_46/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_appChangelogEmpty -description: help_appChangelogEmpty attributes, type and example ---- -## Constructor: help\_appChangelogEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -``` -$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_appUpdate.md b/docs/API_docs_46/constructors/help_appUpdate.md deleted file mode 100644 index 96b847df..00000000 --- a/docs/API_docs_46/constructors/help_appUpdate.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: help_appUpdate -description: help_appUpdate attributes, type and example ---- -## Constructor: help\_appUpdate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|critical|[Bool](../types/Bool.md) | Required| -|url|[string](../types/string.md) | Required| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -``` -$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_inviteText.md b/docs/API_docs_46/constructors/help_inviteText.md deleted file mode 100644 index accebfbf..00000000 --- a/docs/API_docs_46/constructors/help_inviteText.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_inviteText -description: help_inviteText attributes, type and example ---- -## Constructor: help\_inviteText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[string](../types/string.md) | Required| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -``` -$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_noAppUpdate.md b/docs/API_docs_46/constructors/help_noAppUpdate.md deleted file mode 100644 index 1a045da7..00000000 --- a/docs/API_docs_46/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_noAppUpdate -description: help_noAppUpdate attributes, type and example ---- -## Constructor: help\_noAppUpdate -[Back to constructors index](index.md) - - - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -``` -$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_support.md b/docs/API_docs_46/constructors/help_support.md deleted file mode 100644 index 62f7d603..00000000 --- a/docs/API_docs_46/constructors/help_support.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_support -description: help_support attributes, type and example ---- -## Constructor: help\_support -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|user|[User](../types/User.md) | Required| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -``` -$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/help_termsOfService.md b/docs/API_docs_46/constructors/help_termsOfService.md deleted file mode 100644 index a2b329d9..00000000 --- a/docs/API_docs_46/constructors/help_termsOfService.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_termsOfService -description: help_termsOfService attributes, type and example ---- -## Constructor: help\_termsOfService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -``` -$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/importedContact.md b/docs/API_docs_46/constructors/importedContact.md deleted file mode 100644 index 173f750a..00000000 --- a/docs/API_docs_46/constructors/importedContact.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: importedContact -description: importedContact attributes, type and example ---- -## Constructor: importedContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|client\_id|[long](../types/long.md) | Required| - - - -### Type: [ImportedContact](../types/ImportedContact.md) - - -### Example: - -``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputAppEvent.md b/docs/API_docs_46/constructors/inputAppEvent.md deleted file mode 100644 index a9d938bd..00000000 --- a/docs/API_docs_46/constructors/inputAppEvent.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputAppEvent -description: inputAppEvent attributes, type and example ---- -## Constructor: inputAppEvent -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|time|[double](../types/double.md) | Required| -|type|[string](../types/string.md) | Required| -|peer|[long](../types/long.md) | Required| -|data|[string](../types/string.md) | Required| - - - -### Type: [InputAppEvent](../types/InputAppEvent.md) - - -### Example: - -``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputAudio.md b/docs/API_docs_46/constructors/inputAudio.md deleted file mode 100644 index 3dea5cca..00000000 --- a/docs/API_docs_46/constructors/inputAudio.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputAudio -description: inputAudio attributes, type and example ---- -## Constructor: inputAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputAudio](../types/InputAudio.md) - - -### Example: - -``` -$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputAudioEmpty.md b/docs/API_docs_46/constructors/inputAudioEmpty.md deleted file mode 100644 index 46082600..00000000 --- a/docs/API_docs_46/constructors/inputAudioEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputAudioEmpty -description: inputAudioEmpty attributes, type and example ---- -## Constructor: inputAudioEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputAudio](../types/InputAudio.md) - - -### Example: - -``` -$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputAudioFileLocation.md b/docs/API_docs_46/constructors/inputAudioFileLocation.md deleted file mode 100644 index b4e7315a..00000000 --- a/docs/API_docs_46/constructors/inputAudioFileLocation.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputAudioFileLocation -description: inputAudioFileLocation attributes, type and example ---- -## Constructor: inputAudioFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs_46/constructors/inputBotInlineMessageMediaAuto.md deleted file mode 100644 index 5e261eba..00000000 --- a/docs/API_docs_46/constructors/inputBotInlineMessageMediaAuto.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputBotInlineMessageMediaAuto -description: inputBotInlineMessageMediaAuto attributes, type and example ---- -## Constructor: inputBotInlineMessageMediaAuto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputBotInlineMessageText.md b/docs/API_docs_46/constructors/inputBotInlineMessageText.md deleted file mode 100644 index 3ca1b0ab..00000000 --- a/docs/API_docs_46/constructors/inputBotInlineMessageText.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputBotInlineMessageText -description: inputBotInlineMessageText attributes, type and example ---- -## Constructor: inputBotInlineMessageText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|no\_webpage|[Bool](../types/Bool.md) | Optional| -|message|[string](../types/string.md) | Required| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputBotInlineResult.md b/docs/API_docs_46/constructors/inputBotInlineResult.md deleted file mode 100644 index 0fef7703..00000000 --- a/docs/API_docs_46/constructors/inputBotInlineResult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: inputBotInlineResult -description: inputBotInlineResult attributes, type and example ---- -## Constructor: inputBotInlineResult -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|url|[string](../types/string.md) | Optional| -|thumb\_url|[string](../types/string.md) | Optional| -|content\_url|[string](../types/string.md) | Optional| -|content\_type|[string](../types/string.md) | Optional| -|w|[int](../types/int.md) | Optional| -|h|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| - - - -### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) - - -### Example: - -``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputChannel.md b/docs/API_docs_46/constructors/inputChannel.md deleted file mode 100644 index cc973e18..00000000 --- a/docs/API_docs_46/constructors/inputChannel.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChannel -description: inputChannel attributes, type and example ---- -## Constructor: inputChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputChannel](../types/InputChannel.md) - - -### Example: - -``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputChannelEmpty.md b/docs/API_docs_46/constructors/inputChannelEmpty.md deleted file mode 100644 index d40ec5bd..00000000 --- a/docs/API_docs_46/constructors/inputChannelEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputChannelEmpty -description: inputChannelEmpty attributes, type and example ---- -## Constructor: inputChannelEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputChannel](../types/InputChannel.md) - - -### Example: - -``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputChatPhoto.md b/docs/API_docs_46/constructors/inputChatPhoto.md deleted file mode 100644 index 6bb88da8..00000000 --- a/docs/API_docs_46/constructors/inputChatPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChatPhoto -description: inputChatPhoto attributes, type and example ---- -## Constructor: inputChatPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[InputPhoto](../types/InputPhoto.md) | Required| -|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputChatPhotoEmpty.md b/docs/API_docs_46/constructors/inputChatPhotoEmpty.md deleted file mode 100644 index 7edad211..00000000 --- a/docs/API_docs_46/constructors/inputChatPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputChatPhotoEmpty -description: inputChatPhotoEmpty attributes, type and example ---- -## Constructor: inputChatPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputChatUploadedPhoto.md b/docs/API_docs_46/constructors/inputChatUploadedPhoto.md deleted file mode 100644 index 9f1db42d..00000000 --- a/docs/API_docs_46/constructors/inputChatUploadedPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChatUploadedPhoto -description: inputChatUploadedPhoto attributes, type and example ---- -## Constructor: inputChatUploadedPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputDocument.md b/docs/API_docs_46/constructors/inputDocument.md deleted file mode 100644 index 6d1b80f4..00000000 --- a/docs/API_docs_46/constructors/inputDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputDocument -description: inputDocument attributes, type and example ---- -## Constructor: inputDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputDocument](../types/InputDocument.md) - - -### Example: - -``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputDocumentEmpty.md b/docs/API_docs_46/constructors/inputDocumentEmpty.md deleted file mode 100644 index 089427be..00000000 --- a/docs/API_docs_46/constructors/inputDocumentEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputDocumentEmpty -description: inputDocumentEmpty attributes, type and example ---- -## Constructor: inputDocumentEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputDocument](../types/InputDocument.md) - - -### Example: - -``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputDocumentFileLocation.md b/docs/API_docs_46/constructors/inputDocumentFileLocation.md deleted file mode 100644 index 0e80b73c..00000000 --- a/docs/API_docs_46/constructors/inputDocumentFileLocation.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputDocumentFileLocation -description: inputDocumentFileLocation attributes, type and example ---- -## Constructor: inputDocumentFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedChat.md b/docs/API_docs_46/constructors/inputEncryptedChat.md deleted file mode 100644 index ff7c4e5a..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedChat.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedChat -description: inputEncryptedChat attributes, type and example ---- -## Constructor: inputEncryptedChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) - - -### Example: - -``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedFile.md b/docs/API_docs_46/constructors/inputEncryptedFile.md deleted file mode 100644 index d8e2fd7a..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedFile.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedFile -description: inputEncryptedFile attributes, type and example ---- -## Constructor: inputEncryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs_46/constructors/inputEncryptedFileBigUploaded.md deleted file mode 100644 index 0f8fea21..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedFileBigUploaded.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputEncryptedFileBigUploaded -description: inputEncryptedFileBigUploaded attributes, type and example ---- -## Constructor: inputEncryptedFileBigUploaded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedFileEmpty.md b/docs/API_docs_46/constructors/inputEncryptedFileEmpty.md deleted file mode 100644 index 9548a02f..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedFileEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputEncryptedFileEmpty -description: inputEncryptedFileEmpty attributes, type and example ---- -## Constructor: inputEncryptedFileEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedFileLocation.md b/docs/API_docs_46/constructors/inputEncryptedFileLocation.md deleted file mode 100644 index 22ca4629..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedFileLocation.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedFileLocation -description: inputEncryptedFileLocation attributes, type and example ---- -## Constructor: inputEncryptedFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputEncryptedFileUploaded.md b/docs/API_docs_46/constructors/inputEncryptedFileUploaded.md deleted file mode 100644 index 5d8e0cae..00000000 --- a/docs/API_docs_46/constructors/inputEncryptedFileUploaded.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputEncryptedFileUploaded -description: inputEncryptedFileUploaded attributes, type and example ---- -## Constructor: inputEncryptedFileUploaded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|md5\_checksum|[string](../types/string.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputFile.md b/docs/API_docs_46/constructors/inputFile.md deleted file mode 100644 index 662f9bed..00000000 --- a/docs/API_docs_46/constructors/inputFile.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputFile -description: inputFile attributes, type and example ---- -## Constructor: inputFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|name|[string](../types/string.md) | Required| -|md5\_checksum|[string](../types/string.md) | Required| - - - -### Type: [InputFile](../types/InputFile.md) - - -### Example: - -``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputFileBig.md b/docs/API_docs_46/constructors/inputFileBig.md deleted file mode 100644 index 92cef306..00000000 --- a/docs/API_docs_46/constructors/inputFileBig.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputFileBig -description: inputFileBig attributes, type and example ---- -## Constructor: inputFileBig -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|name|[string](../types/string.md) | Required| - - - -### Type: [InputFile](../types/InputFile.md) - - -### Example: - -``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputFileLocation.md b/docs/API_docs_46/constructors/inputFileLocation.md deleted file mode 100644 index e76bf621..00000000 --- a/docs/API_docs_46/constructors/inputFileLocation.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputFileLocation -description: inputFileLocation attributes, type and example ---- -## Constructor: inputFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputGeoPoint.md b/docs/API_docs_46/constructors/inputGeoPoint.md deleted file mode 100644 index 9e3d30a5..00000000 --- a/docs/API_docs_46/constructors/inputGeoPoint.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputGeoPoint -description: inputGeoPoint attributes, type and example ---- -## Constructor: inputGeoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|latitude|[double](../types/double.md) | Required| -|longitude|[double](../types/double.md) | Required| - - - -### Type: [InputGeoPoint](../types/InputGeoPoint.md) - - -### Example: - -``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputGeoPointEmpty.md b/docs/API_docs_46/constructors/inputGeoPointEmpty.md deleted file mode 100644 index 6bfb339e..00000000 --- a/docs/API_docs_46/constructors/inputGeoPointEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputGeoPointEmpty -description: inputGeoPointEmpty attributes, type and example ---- -## Constructor: inputGeoPointEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputGeoPoint](../types/InputGeoPoint.md) - - -### Example: - -``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaAudio.md b/docs/API_docs_46/constructors/inputMediaAudio.md deleted file mode 100644 index b89e4b28..00000000 --- a/docs/API_docs_46/constructors/inputMediaAudio.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputMediaAudio -description: inputMediaAudio attributes, type and example ---- -## Constructor: inputMediaAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|audio|[InputAudio](../types/InputAudio.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaContact.md b/docs/API_docs_46/constructors/inputMediaContact.md deleted file mode 100644 index 7dab254c..00000000 --- a/docs/API_docs_46/constructors/inputMediaContact.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputMediaContact -description: inputMediaContact attributes, type and example ---- -## Constructor: inputMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaDocument.md b/docs/API_docs_46/constructors/inputMediaDocument.md deleted file mode 100644 index 4d2be8d5..00000000 --- a/docs/API_docs_46/constructors/inputMediaDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaDocument -description: inputMediaDocument attributes, type and example ---- -## Constructor: inputMediaDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|document\_id|[InputDocument](../types/InputDocument.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaEmpty.md b/docs/API_docs_46/constructors/inputMediaEmpty.md deleted file mode 100644 index be60d9a1..00000000 --- a/docs/API_docs_46/constructors/inputMediaEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMediaEmpty -description: inputMediaEmpty attributes, type and example ---- -## Constructor: inputMediaEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaGeoPoint.md b/docs/API_docs_46/constructors/inputMediaGeoPoint.md deleted file mode 100644 index f6df21c6..00000000 --- a/docs/API_docs_46/constructors/inputMediaGeoPoint.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputMediaGeoPoint -description: inputMediaGeoPoint attributes, type and example ---- -## Constructor: inputMediaGeoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaGifExternal.md b/docs/API_docs_46/constructors/inputMediaGifExternal.md deleted file mode 100644 index 2c1449df..00000000 --- a/docs/API_docs_46/constructors/inputMediaGifExternal.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaGifExternal -description: inputMediaGifExternal attributes, type and example ---- -## Constructor: inputMediaGifExternal -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|q|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaPhoto.md b/docs/API_docs_46/constructors/inputMediaPhoto.md deleted file mode 100644 index db7ebc07..00000000 --- a/docs/API_docs_46/constructors/inputMediaPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaPhoto -description: inputMediaPhoto attributes, type and example ---- -## Constructor: inputMediaPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[InputPhoto](../types/InputPhoto.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedAudio.md b/docs/API_docs_46/constructors/inputMediaUploadedAudio.md deleted file mode 100644 index 43af2608..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedAudio.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputMediaUploadedAudio -description: inputMediaUploadedAudio attributes, type and example ---- -## Constructor: inputMediaUploadedAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|duration|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedDocument.md b/docs/API_docs_46/constructors/inputMediaUploadedDocument.md deleted file mode 100644 index d13eb0ee..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedDocument.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputMediaUploadedDocument -description: inputMediaUploadedDocument attributes, type and example ---- -## Constructor: inputMediaUploadedDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedPhoto.md b/docs/API_docs_46/constructors/inputMediaUploadedPhoto.md deleted file mode 100644 index 1300d34c..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaUploadedPhoto -description: inputMediaUploadedPhoto attributes, type and example ---- -## Constructor: inputMediaUploadedPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs_46/constructors/inputMediaUploadedThumbDocument.md deleted file mode 100644 index 3c5d4d36..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedThumbDocument.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: inputMediaUploadedThumbDocument -description: inputMediaUploadedThumbDocument attributes, type and example ---- -## Constructor: inputMediaUploadedThumbDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|thumb|[InputFile](../types/InputFile.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedThumbVideo.md b/docs/API_docs_46/constructors/inputMediaUploadedThumbVideo.md deleted file mode 100644 index 57ffaed0..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedThumbVideo.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: inputMediaUploadedThumbVideo -description: inputMediaUploadedThumbVideo attributes, type and example ---- -## Constructor: inputMediaUploadedThumbVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|thumb|[InputFile](../types/InputFile.md) | Required| -|duration|[int](../types/int.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaUploadedVideo.md b/docs/API_docs_46/constructors/inputMediaUploadedVideo.md deleted file mode 100644 index 529316ec..00000000 --- a/docs/API_docs_46/constructors/inputMediaUploadedVideo.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: inputMediaUploadedVideo -description: inputMediaUploadedVideo attributes, type and example ---- -## Constructor: inputMediaUploadedVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|duration|[int](../types/int.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaVenue.md b/docs/API_docs_46/constructors/inputMediaVenue.md deleted file mode 100644 index e4059c99..00000000 --- a/docs/API_docs_46/constructors/inputMediaVenue.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: inputMediaVenue -description: inputMediaVenue attributes, type and example ---- -## Constructor: inputMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMediaVideo.md b/docs/API_docs_46/constructors/inputMediaVideo.md deleted file mode 100644 index 8725c7ef..00000000 --- a/docs/API_docs_46/constructors/inputMediaVideo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaVideo -description: inputMediaVideo attributes, type and example ---- -## Constructor: inputMediaVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|video|[InputVideo](../types/InputVideo.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterAudio.md b/docs/API_docs_46/constructors/inputMessagesFilterAudio.md deleted file mode 100644 index 57a45181..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterAudio.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterAudio -description: inputMessagesFilterAudio attributes, type and example ---- -## Constructor: inputMessagesFilterAudio -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterAudioDocuments.md b/docs/API_docs_46/constructors/inputMessagesFilterAudioDocuments.md deleted file mode 100644 index 06c27ee3..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterAudioDocuments.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterAudioDocuments -description: inputMessagesFilterAudioDocuments attributes, type and example ---- -## Constructor: inputMessagesFilterAudioDocuments -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterDocument.md b/docs/API_docs_46/constructors/inputMessagesFilterDocument.md deleted file mode 100644 index 1f10a27d..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterDocument.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterDocument -description: inputMessagesFilterDocument attributes, type and example ---- -## Constructor: inputMessagesFilterDocument -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterEmpty.md b/docs/API_docs_46/constructors/inputMessagesFilterEmpty.md deleted file mode 100644 index 86761bba..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterEmpty -description: inputMessagesFilterEmpty attributes, type and example ---- -## Constructor: inputMessagesFilterEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterGif.md b/docs/API_docs_46/constructors/inputMessagesFilterGif.md deleted file mode 100644 index 9ea7a126..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterGif.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterGif -description: inputMessagesFilterGif attributes, type and example ---- -## Constructor: inputMessagesFilterGif -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideo.md deleted file mode 100644 index 12445813..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideo.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotoVideo -description: inputMessagesFilterPhotoVideo attributes, type and example ---- -## Constructor: inputMessagesFilterPhotoVideo -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideoDocuments.md deleted file mode 100644 index 1117897c..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotoVideoDocuments -description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ---- -## Constructor: inputMessagesFilterPhotoVideoDocuments -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterPhotos.md b/docs/API_docs_46/constructors/inputMessagesFilterPhotos.md deleted file mode 100644 index 43581ee1..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterPhotos.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotos -description: inputMessagesFilterPhotos attributes, type and example ---- -## Constructor: inputMessagesFilterPhotos -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterUrl.md b/docs/API_docs_46/constructors/inputMessagesFilterUrl.md deleted file mode 100644 index d9de39da..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterUrl.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterUrl -description: inputMessagesFilterUrl attributes, type and example ---- -## Constructor: inputMessagesFilterUrl -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputMessagesFilterVideo.md b/docs/API_docs_46/constructors/inputMessagesFilterVideo.md deleted file mode 100644 index 8a621d7f..00000000 --- a/docs/API_docs_46/constructors/inputMessagesFilterVideo.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterVideo -description: inputMessagesFilterVideo attributes, type and example ---- -## Constructor: inputMessagesFilterVideo -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputNotifyAll.md b/docs/API_docs_46/constructors/inputNotifyAll.md deleted file mode 100644 index ec141ca2..00000000 --- a/docs/API_docs_46/constructors/inputNotifyAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyAll -description: inputNotifyAll attributes, type and example ---- -## Constructor: inputNotifyAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputNotifyChats.md b/docs/API_docs_46/constructors/inputNotifyChats.md deleted file mode 100644 index f217cb53..00000000 --- a/docs/API_docs_46/constructors/inputNotifyChats.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyChats -description: inputNotifyChats attributes, type and example ---- -## Constructor: inputNotifyChats -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputNotifyPeer.md b/docs/API_docs_46/constructors/inputNotifyPeer.md deleted file mode 100644 index 2741ab77..00000000 --- a/docs/API_docs_46/constructors/inputNotifyPeer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputNotifyPeer -description: inputNotifyPeer attributes, type and example ---- -## Constructor: inputNotifyPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[InputPeer](../types/InputPeer.md) | Required| - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputNotifyUsers.md b/docs/API_docs_46/constructors/inputNotifyUsers.md deleted file mode 100644 index 252cb85b..00000000 --- a/docs/API_docs_46/constructors/inputNotifyUsers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyUsers -description: inputNotifyUsers attributes, type and example ---- -## Constructor: inputNotifyUsers -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerChannel.md b/docs/API_docs_46/constructors/inputPeerChannel.md deleted file mode 100644 index 831ec775..00000000 --- a/docs/API_docs_46/constructors/inputPeerChannel.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPeerChannel -description: inputPeerChannel attributes, type and example ---- -## Constructor: inputPeerChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerChat.md b/docs/API_docs_46/constructors/inputPeerChat.md deleted file mode 100644 index a2b044e7..00000000 --- a/docs/API_docs_46/constructors/inputPeerChat.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPeerChat -description: inputPeerChat attributes, type and example ---- -## Constructor: inputPeerChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerEmpty.md b/docs/API_docs_46/constructors/inputPeerEmpty.md deleted file mode 100644 index 902231cd..00000000 --- a/docs/API_docs_46/constructors/inputPeerEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerEmpty -description: inputPeerEmpty attributes, type and example ---- -## Constructor: inputPeerEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs_46/constructors/inputPeerNotifyEventsAll.md deleted file mode 100644 index 9bc2ec78..00000000 --- a/docs/API_docs_46/constructors/inputPeerNotifyEventsAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerNotifyEventsAll -description: inputPeerNotifyEventsAll attributes, type and example ---- -## Constructor: inputPeerNotifyEventsAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) - - -### Example: - -``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs_46/constructors/inputPeerNotifyEventsEmpty.md deleted file mode 100644 index 8b652905..00000000 --- a/docs/API_docs_46/constructors/inputPeerNotifyEventsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerNotifyEventsEmpty -description: inputPeerNotifyEventsEmpty attributes, type and example ---- -## Constructor: inputPeerNotifyEventsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) - - -### Example: - -``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerNotifySettings.md b/docs/API_docs_46/constructors/inputPeerNotifySettings.md deleted file mode 100644 index 7b442185..00000000 --- a/docs/API_docs_46/constructors/inputPeerNotifySettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputPeerNotifySettings -description: inputPeerNotifySettings attributes, type and example ---- -## Constructor: inputPeerNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|mute\_until|[int](../types/int.md) | Required| -|sound|[string](../types/string.md) | Required| -|show\_previews|[Bool](../types/Bool.md) | Required| -|events\_mask|[int](../types/int.md) | Required| - - - -### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) - - -### Example: - -``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerSelf.md b/docs/API_docs_46/constructors/inputPeerSelf.md deleted file mode 100644 index f6b89172..00000000 --- a/docs/API_docs_46/constructors/inputPeerSelf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerSelf -description: inputPeerSelf attributes, type and example ---- -## Constructor: inputPeerSelf -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPeerUser.md b/docs/API_docs_46/constructors/inputPeerUser.md deleted file mode 100644 index 1e081a56..00000000 --- a/docs/API_docs_46/constructors/inputPeerUser.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPeerUser -description: inputPeerUser attributes, type and example ---- -## Constructor: inputPeerUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPhoneContact.md b/docs/API_docs_46/constructors/inputPhoneContact.md deleted file mode 100644 index 6dcad61a..00000000 --- a/docs/API_docs_46/constructors/inputPhoneContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputPhoneContact -description: inputPhoneContact attributes, type and example ---- -## Constructor: inputPhoneContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|client\_id|[long](../types/long.md) | Required| -|phone|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| - - - -### Type: [InputContact](../types/InputContact.md) - - -### Example: - -``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPhoto.md b/docs/API_docs_46/constructors/inputPhoto.md deleted file mode 100644 index 72172344..00000000 --- a/docs/API_docs_46/constructors/inputPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPhoto -description: inputPhoto attributes, type and example ---- -## Constructor: inputPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPhoto](../types/InputPhoto.md) - - -### Example: - -``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPhotoCrop.md b/docs/API_docs_46/constructors/inputPhotoCrop.md deleted file mode 100644 index 331795a8..00000000 --- a/docs/API_docs_46/constructors/inputPhotoCrop.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputPhotoCrop -description: inputPhotoCrop attributes, type and example ---- -## Constructor: inputPhotoCrop -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|crop\_left|[double](../types/double.md) | Required| -|crop\_top|[double](../types/double.md) | Required| -|crop\_width|[double](../types/double.md) | Required| - - - -### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) - - -### Example: - -``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPhotoCropAuto.md b/docs/API_docs_46/constructors/inputPhotoCropAuto.md deleted file mode 100644 index 90abf402..00000000 --- a/docs/API_docs_46/constructors/inputPhotoCropAuto.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPhotoCropAuto -description: inputPhotoCropAuto attributes, type and example ---- -## Constructor: inputPhotoCropAuto -[Back to constructors index](index.md) - - - - - - -### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) - - -### Example: - -``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPhotoEmpty.md b/docs/API_docs_46/constructors/inputPhotoEmpty.md deleted file mode 100644 index fc7dbe2d..00000000 --- a/docs/API_docs_46/constructors/inputPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPhotoEmpty -description: inputPhotoEmpty attributes, type and example ---- -## Constructor: inputPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPhoto](../types/InputPhoto.md) - - -### Example: - -``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs_46/constructors/inputPrivacyKeyStatusTimestamp.md deleted file mode 100644 index 6dfe73ba..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyKeyStatusTimestamp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyKeyStatusTimestamp -description: inputPrivacyKeyStatusTimestamp attributes, type and example ---- -## Constructor: inputPrivacyKeyStatusTimestamp -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) - - -### Example: - -``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs_46/constructors/inputPrivacyValueAllowAll.md deleted file mode 100644 index 4a3395c6..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueAllowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueAllowAll -description: inputPrivacyValueAllowAll attributes, type and example ---- -## Constructor: inputPrivacyValueAllowAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs_46/constructors/inputPrivacyValueAllowContacts.md deleted file mode 100644 index 54956388..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueAllowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueAllowContacts -description: inputPrivacyValueAllowContacts attributes, type and example ---- -## Constructor: inputPrivacyValueAllowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs_46/constructors/inputPrivacyValueAllowUsers.md deleted file mode 100644 index 42888bf2..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueAllowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPrivacyValueAllowUsers -description: inputPrivacyValueAllowUsers attributes, type and example ---- -## Constructor: inputPrivacyValueAllowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [InputUser](../types/InputUser.md) | Required| - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs_46/constructors/inputPrivacyValueDisallowAll.md deleted file mode 100644 index 284ff6c6..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueDisallowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueDisallowAll -description: inputPrivacyValueDisallowAll attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs_46/constructors/inputPrivacyValueDisallowContacts.md deleted file mode 100644 index 28340639..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueDisallowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueDisallowContacts -description: inputPrivacyValueDisallowContacts attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs_46/constructors/inputPrivacyValueDisallowUsers.md deleted file mode 100644 index 200874dd..00000000 --- a/docs/API_docs_46/constructors/inputPrivacyValueDisallowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPrivacyValueDisallowUsers -description: inputPrivacyValueDisallowUsers attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [InputUser](../types/InputUser.md) | Required| - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputReportReasonOther.md b/docs/API_docs_46/constructors/inputReportReasonOther.md deleted file mode 100644 index 1084ed42..00000000 --- a/docs/API_docs_46/constructors/inputReportReasonOther.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputReportReasonOther -description: inputReportReasonOther attributes, type and example ---- -## Constructor: inputReportReasonOther -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputReportReasonPornography.md b/docs/API_docs_46/constructors/inputReportReasonPornography.md deleted file mode 100644 index a21c52f5..00000000 --- a/docs/API_docs_46/constructors/inputReportReasonPornography.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonPornography -description: inputReportReasonPornography attributes, type and example ---- -## Constructor: inputReportReasonPornography -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputReportReasonSpam.md b/docs/API_docs_46/constructors/inputReportReasonSpam.md deleted file mode 100644 index 0d03afa4..00000000 --- a/docs/API_docs_46/constructors/inputReportReasonSpam.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonSpam -description: inputReportReasonSpam attributes, type and example ---- -## Constructor: inputReportReasonSpam -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputReportReasonViolence.md b/docs/API_docs_46/constructors/inputReportReasonViolence.md deleted file mode 100644 index 085a629a..00000000 --- a/docs/API_docs_46/constructors/inputReportReasonViolence.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonViolence -description: inputReportReasonViolence attributes, type and example ---- -## Constructor: inputReportReasonViolence -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputStickerSetEmpty.md b/docs/API_docs_46/constructors/inputStickerSetEmpty.md deleted file mode 100644 index bbe3a642..00000000 --- a/docs/API_docs_46/constructors/inputStickerSetEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputStickerSetEmpty -description: inputStickerSetEmpty attributes, type and example ---- -## Constructor: inputStickerSetEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputStickerSetID.md b/docs/API_docs_46/constructors/inputStickerSetID.md deleted file mode 100644 index 7189e367..00000000 --- a/docs/API_docs_46/constructors/inputStickerSetID.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputStickerSetID -description: inputStickerSetID attributes, type and example ---- -## Constructor: inputStickerSetID -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputStickerSetShortName.md b/docs/API_docs_46/constructors/inputStickerSetShortName.md deleted file mode 100644 index 4cebd065..00000000 --- a/docs/API_docs_46/constructors/inputStickerSetShortName.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputStickerSetShortName -description: inputStickerSetShortName attributes, type and example ---- -## Constructor: inputStickerSetShortName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|short\_name|[string](../types/string.md) | Required| - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputUser.md b/docs/API_docs_46/constructors/inputUser.md deleted file mode 100644 index b577f9da..00000000 --- a/docs/API_docs_46/constructors/inputUser.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputUser -description: inputUser attributes, type and example ---- -## Constructor: inputUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputUserEmpty.md b/docs/API_docs_46/constructors/inputUserEmpty.md deleted file mode 100644 index f926a65e..00000000 --- a/docs/API_docs_46/constructors/inputUserEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputUserEmpty -description: inputUserEmpty attributes, type and example ---- -## Constructor: inputUserEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputUserSelf.md b/docs/API_docs_46/constructors/inputUserSelf.md deleted file mode 100644 index 92235855..00000000 --- a/docs/API_docs_46/constructors/inputUserSelf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputUserSelf -description: inputUserSelf attributes, type and example ---- -## Constructor: inputUserSelf -[Back to constructors index](index.md) - - - - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputVideo.md b/docs/API_docs_46/constructors/inputVideo.md deleted file mode 100644 index 67d70662..00000000 --- a/docs/API_docs_46/constructors/inputVideo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputVideo -description: inputVideo attributes, type and example ---- -## Constructor: inputVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputVideo](../types/InputVideo.md) - - -### Example: - -``` -$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputVideoEmpty.md b/docs/API_docs_46/constructors/inputVideoEmpty.md deleted file mode 100644 index 1142d66e..00000000 --- a/docs/API_docs_46/constructors/inputVideoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputVideoEmpty -description: inputVideoEmpty attributes, type and example ---- -## Constructor: inputVideoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputVideo](../types/InputVideo.md) - - -### Example: - -``` -$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/inputVideoFileLocation.md b/docs/API_docs_46/constructors/inputVideoFileLocation.md deleted file mode 100644 index d25346a7..00000000 --- a/docs/API_docs_46/constructors/inputVideoFileLocation.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputVideoFileLocation -description: inputVideoFileLocation attributes, type and example ---- -## Constructor: inputVideoFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/keyboardButton.md b/docs/API_docs_46/constructors/keyboardButton.md deleted file mode 100644 index f67b177c..00000000 --- a/docs/API_docs_46/constructors/keyboardButton.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButton -description: keyboardButton attributes, type and example ---- -## Constructor: keyboardButton -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/keyboardButtonRow.md b/docs/API_docs_46/constructors/keyboardButtonRow.md deleted file mode 100644 index 919953be..00000000 --- a/docs/API_docs_46/constructors/keyboardButtonRow.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButtonRow -description: keyboardButtonRow attributes, type and example ---- -## Constructor: keyboardButtonRow -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| - - - -### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) - - -### Example: - -``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChannelCreate.md b/docs/API_docs_46/constructors/messageActionChannelCreate.md deleted file mode 100644 index 8ecacf17..00000000 --- a/docs/API_docs_46/constructors/messageActionChannelCreate.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChannelCreate -description: messageActionChannelCreate attributes, type and example ---- -## Constructor: messageActionChannelCreate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs_46/constructors/messageActionChannelMigrateFrom.md deleted file mode 100644 index 34fe5825..00000000 --- a/docs/API_docs_46/constructors/messageActionChannelMigrateFrom.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageActionChannelMigrateFrom -description: messageActionChannelMigrateFrom attributes, type and example ---- -## Constructor: messageActionChannelMigrateFrom -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatAddUser.md b/docs/API_docs_46/constructors/messageActionChatAddUser.md deleted file mode 100644 index 2c87731d..00000000 --- a/docs/API_docs_46/constructors/messageActionChatAddUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatAddUser -description: messageActionChatAddUser attributes, type and example ---- -## Constructor: messageActionChatAddUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatCreate.md b/docs/API_docs_46/constructors/messageActionChatCreate.md deleted file mode 100644 index 0a9c5ff7..00000000 --- a/docs/API_docs_46/constructors/messageActionChatCreate.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageActionChatCreate -description: messageActionChatCreate attributes, type and example ---- -## Constructor: messageActionChatCreate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatDeletePhoto.md b/docs/API_docs_46/constructors/messageActionChatDeletePhoto.md deleted file mode 100644 index b7a7ed40..00000000 --- a/docs/API_docs_46/constructors/messageActionChatDeletePhoto.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionChatDeletePhoto -description: messageActionChatDeletePhoto attributes, type and example ---- -## Constructor: messageActionChatDeletePhoto -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatDeleteUser.md b/docs/API_docs_46/constructors/messageActionChatDeleteUser.md deleted file mode 100644 index 0e129bae..00000000 --- a/docs/API_docs_46/constructors/messageActionChatDeleteUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatDeleteUser -description: messageActionChatDeleteUser attributes, type and example ---- -## Constructor: messageActionChatDeleteUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatEditPhoto.md b/docs/API_docs_46/constructors/messageActionChatEditPhoto.md deleted file mode 100644 index 0582bd4a..00000000 --- a/docs/API_docs_46/constructors/messageActionChatEditPhoto.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatEditPhoto -description: messageActionChatEditPhoto attributes, type and example ---- -## Constructor: messageActionChatEditPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatEditTitle.md b/docs/API_docs_46/constructors/messageActionChatEditTitle.md deleted file mode 100644 index 0ac22537..00000000 --- a/docs/API_docs_46/constructors/messageActionChatEditTitle.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatEditTitle -description: messageActionChatEditTitle attributes, type and example ---- -## Constructor: messageActionChatEditTitle -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatJoinedByLink.md b/docs/API_docs_46/constructors/messageActionChatJoinedByLink.md deleted file mode 100644 index 4f1595a3..00000000 --- a/docs/API_docs_46/constructors/messageActionChatJoinedByLink.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatJoinedByLink -description: messageActionChatJoinedByLink attributes, type and example ---- -## Constructor: messageActionChatJoinedByLink -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|inviter\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionChatMigrateTo.md b/docs/API_docs_46/constructors/messageActionChatMigrateTo.md deleted file mode 100644 index 487f769d..00000000 --- a/docs/API_docs_46/constructors/messageActionChatMigrateTo.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatMigrateTo -description: messageActionChatMigrateTo attributes, type and example ---- -## Constructor: messageActionChatMigrateTo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageActionEmpty.md b/docs/API_docs_46/constructors/messageActionEmpty.md deleted file mode 100644 index 92d2b5de..00000000 --- a/docs/API_docs_46/constructors/messageActionEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionEmpty -description: messageActionEmpty attributes, type and example ---- -## Constructor: messageActionEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEmpty.md b/docs/API_docs_46/constructors/messageEmpty.md deleted file mode 100644 index 421695cc..00000000 --- a/docs/API_docs_46/constructors/messageEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageEmpty -description: messageEmpty attributes, type and example ---- -## Constructor: messageEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [MTMessage](../types/MTMessage.md) - - -### Example: - -``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityBold.md b/docs/API_docs_46/constructors/messageEntityBold.md deleted file mode 100644 index 324bacf7..00000000 --- a/docs/API_docs_46/constructors/messageEntityBold.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityBold -description: messageEntityBold attributes, type and example ---- -## Constructor: messageEntityBold -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityBotCommand.md b/docs/API_docs_46/constructors/messageEntityBotCommand.md deleted file mode 100644 index 3a91d5ef..00000000 --- a/docs/API_docs_46/constructors/messageEntityBotCommand.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityBotCommand -description: messageEntityBotCommand attributes, type and example ---- -## Constructor: messageEntityBotCommand -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityCode.md b/docs/API_docs_46/constructors/messageEntityCode.md deleted file mode 100644 index 82f8ad1c..00000000 --- a/docs/API_docs_46/constructors/messageEntityCode.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityCode -description: messageEntityCode attributes, type and example ---- -## Constructor: messageEntityCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityEmail.md b/docs/API_docs_46/constructors/messageEntityEmail.md deleted file mode 100644 index 07ca52ce..00000000 --- a/docs/API_docs_46/constructors/messageEntityEmail.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityEmail -description: messageEntityEmail attributes, type and example ---- -## Constructor: messageEntityEmail -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityHashtag.md b/docs/API_docs_46/constructors/messageEntityHashtag.md deleted file mode 100644 index 108e692d..00000000 --- a/docs/API_docs_46/constructors/messageEntityHashtag.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityHashtag -description: messageEntityHashtag attributes, type and example ---- -## Constructor: messageEntityHashtag -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityItalic.md b/docs/API_docs_46/constructors/messageEntityItalic.md deleted file mode 100644 index b8a5eabc..00000000 --- a/docs/API_docs_46/constructors/messageEntityItalic.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityItalic -description: messageEntityItalic attributes, type and example ---- -## Constructor: messageEntityItalic -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityMention.md b/docs/API_docs_46/constructors/messageEntityMention.md deleted file mode 100644 index 661f55f4..00000000 --- a/docs/API_docs_46/constructors/messageEntityMention.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityMention -description: messageEntityMention attributes, type and example ---- -## Constructor: messageEntityMention -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityPre.md b/docs/API_docs_46/constructors/messageEntityPre.md deleted file mode 100644 index 818f88a5..00000000 --- a/docs/API_docs_46/constructors/messageEntityPre.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messageEntityPre -description: messageEntityPre attributes, type and example ---- -## Constructor: messageEntityPre -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|language|[string](../types/string.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityTextUrl.md b/docs/API_docs_46/constructors/messageEntityTextUrl.md deleted file mode 100644 index 231bab6e..00000000 --- a/docs/API_docs_46/constructors/messageEntityTextUrl.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messageEntityTextUrl -description: messageEntityTextUrl attributes, type and example ---- -## Constructor: messageEntityTextUrl -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|url|[string](../types/string.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityUnknown.md b/docs/API_docs_46/constructors/messageEntityUnknown.md deleted file mode 100644 index bd398067..00000000 --- a/docs/API_docs_46/constructors/messageEntityUnknown.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityUnknown -description: messageEntityUnknown attributes, type and example ---- -## Constructor: messageEntityUnknown -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageEntityUrl.md b/docs/API_docs_46/constructors/messageEntityUrl.md deleted file mode 100644 index b60d69b6..00000000 --- a/docs/API_docs_46/constructors/messageEntityUrl.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityUrl -description: messageEntityUrl attributes, type and example ---- -## Constructor: messageEntityUrl -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageGroup.md b/docs/API_docs_46/constructors/messageGroup.md deleted file mode 100644 index 0fc7db49..00000000 --- a/docs/API_docs_46/constructors/messageGroup.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messageGroup -description: messageGroup attributes, type and example ---- -## Constructor: messageGroup -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|min\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| -|count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [MessageGroup](../types/MessageGroup.md) - - -### Example: - -``` -$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaAudio.md b/docs/API_docs_46/constructors/messageMediaAudio.md deleted file mode 100644 index b3045e81..00000000 --- a/docs/API_docs_46/constructors/messageMediaAudio.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageMediaAudio -description: messageMediaAudio attributes, type and example ---- -## Constructor: messageMediaAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|audio|[Audio](../types/Audio.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaContact.md b/docs/API_docs_46/constructors/messageMediaContact.md deleted file mode 100644 index 8b97f285..00000000 --- a/docs/API_docs_46/constructors/messageMediaContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messageMediaContact -description: messageMediaContact attributes, type and example ---- -## Constructor: messageMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaDocument.md b/docs/API_docs_46/constructors/messageMediaDocument.md deleted file mode 100644 index 3bafd493..00000000 --- a/docs/API_docs_46/constructors/messageMediaDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageMediaDocument -description: messageMediaDocument attributes, type and example ---- -## Constructor: messageMediaDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|document|[Document](../types/Document.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaEmpty.md b/docs/API_docs_46/constructors/messageMediaEmpty.md deleted file mode 100644 index 1c121b94..00000000 --- a/docs/API_docs_46/constructors/messageMediaEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageMediaEmpty -description: messageMediaEmpty attributes, type and example ---- -## Constructor: messageMediaEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaGeo.md b/docs/API_docs_46/constructors/messageMediaGeo.md deleted file mode 100644 index 671b9a38..00000000 --- a/docs/API_docs_46/constructors/messageMediaGeo.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageMediaGeo -description: messageMediaGeo attributes, type and example ---- -## Constructor: messageMediaGeo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaPhoto.md b/docs/API_docs_46/constructors/messageMediaPhoto.md deleted file mode 100644 index 0e37d2f0..00000000 --- a/docs/API_docs_46/constructors/messageMediaPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageMediaPhoto -description: messageMediaPhoto attributes, type and example ---- -## Constructor: messageMediaPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaUnsupported.md b/docs/API_docs_46/constructors/messageMediaUnsupported.md deleted file mode 100644 index 4263b13b..00000000 --- a/docs/API_docs_46/constructors/messageMediaUnsupported.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageMediaUnsupported -description: messageMediaUnsupported attributes, type and example ---- -## Constructor: messageMediaUnsupported -[Back to constructors index](index.md) - - - - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaVenue.md b/docs/API_docs_46/constructors/messageMediaVenue.md deleted file mode 100644 index 4e87ec88..00000000 --- a/docs/API_docs_46/constructors/messageMediaVenue.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messageMediaVenue -description: messageMediaVenue attributes, type and example ---- -## Constructor: messageMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaVideo.md b/docs/API_docs_46/constructors/messageMediaVideo.md deleted file mode 100644 index 233edb40..00000000 --- a/docs/API_docs_46/constructors/messageMediaVideo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageMediaVideo -description: messageMediaVideo attributes, type and example ---- -## Constructor: messageMediaVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|video|[Video](../types/Video.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageMediaWebPage.md b/docs/API_docs_46/constructors/messageMediaWebPage.md deleted file mode 100644 index 07e1cfc4..00000000 --- a/docs/API_docs_46/constructors/messageMediaWebPage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageMediaWebPage -description: messageMediaWebPage attributes, type and example ---- -## Constructor: messageMediaWebPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|webpage|[WebPage](../types/WebPage.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageRange.md b/docs/API_docs_46/constructors/messageRange.md deleted file mode 100644 index 144fc383..00000000 --- a/docs/API_docs_46/constructors/messageRange.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageRange -description: messageRange attributes, type and example ---- -## Constructor: messageRange -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|min\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageRange](../types/MessageRange.md) - - -### Example: - -``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messageService.md b/docs/API_docs_46/constructors/messageService.md deleted file mode 100644 index 988d6291..00000000 --- a/docs/API_docs_46/constructors/messageService.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: messageService -description: messageService attributes, type and example ---- -## Constructor: messageService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|unread|[Bool](../types/Bool.md) | Optional| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|from\_id|[int](../types/int.md) | Optional| -|to\_id|[Peer](../types/Peer.md) | Required| -|date|[int](../types/int.md) | Required| -|action|[MessageAction](../types/MessageAction.md) | Required| - - - -### Type: [MTMessage](../types/MTMessage.md) - - -### Example: - -``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_affectedHistory.md b/docs/API_docs_46/constructors/messages_affectedHistory.md deleted file mode 100644 index eb8b1432..00000000 --- a/docs/API_docs_46/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_affectedHistory -description: messages_affectedHistory attributes, type and example ---- -## Constructor: messages\_affectedHistory -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|offset|[int](../types/int.md) | Required| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -``` -$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_affectedMessages.md b/docs/API_docs_46/constructors/messages_affectedMessages.md deleted file mode 100644 index 0933c204..00000000 --- a/docs/API_docs_46/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_affectedMessages -description: messages_affectedMessages attributes, type and example ---- -## Constructor: messages\_affectedMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -``` -$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_allStickers.md b/docs/API_docs_46/constructors/messages_allStickers.md deleted file mode 100644 index cdab8b24..00000000 --- a/docs/API_docs_46/constructors/messages_allStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_allStickers -description: messages_allStickers attributes, type and example ---- -## Constructor: messages\_allStickers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[int](../types/int.md) | Required| -|sets|Array of [StickerSet](../types/StickerSet.md) | Required| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -``` -$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_allStickersNotModified.md b/docs/API_docs_46/constructors/messages_allStickersNotModified.md deleted file mode 100644 index 068320c3..00000000 --- a/docs/API_docs_46/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_allStickersNotModified -description: messages_allStickersNotModified attributes, type and example ---- -## Constructor: messages\_allStickersNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -``` -$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_botResults.md b/docs/API_docs_46/constructors/messages_botResults.md deleted file mode 100644 index f9763fb2..00000000 --- a/docs/API_docs_46/constructors/messages_botResults.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_botResults -description: messages_botResults attributes, type and example ---- -## Constructor: messages\_botResults -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|gallery|[Bool](../types/Bool.md) | Optional| -|query\_id|[long](../types/long.md) | Required| -|next\_offset|[string](../types/string.md) | Optional| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -``` -$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'results' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_channelMessages.md b/docs/API_docs_46/constructors/messages_channelMessages.md deleted file mode 100644 index e503f703..00000000 --- a/docs/API_docs_46/constructors/messages_channelMessages.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: messages_channelMessages -description: messages_channelMessages attributes, type and example ---- -## Constructor: messages\_channelMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|count|[int](../types/int.md) | Required| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_chatFull.md b/docs/API_docs_46/constructors/messages_chatFull.md deleted file mode 100644 index 4f908b68..00000000 --- a/docs/API_docs_46/constructors/messages_chatFull.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_chatFull -description: messages_chatFull attributes, type and example ---- -## Constructor: messages\_chatFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|full\_chat|[ChatFull](../types/ChatFull.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -``` -$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_chats.md b/docs/API_docs_46/constructors/messages_chats.md deleted file mode 100644 index 1d71f09e..00000000 --- a/docs/API_docs_46/constructors/messages_chats.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_chats -description: messages_chats attributes, type and example ---- -## Constructor: messages\_chats -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chats|Array of [Chat](../types/Chat.md) | Required| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -``` -$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_dhConfig.md b/docs/API_docs_46/constructors/messages_dhConfig.md deleted file mode 100644 index 92cd141e..00000000 --- a/docs/API_docs_46/constructors/messages_dhConfig.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_dhConfig -description: messages_dhConfig attributes, type and example ---- -## Constructor: messages\_dhConfig -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|g|[int](../types/int.md) | Required| -|p|[bytes](../types/bytes.md) | Required| -|version|[int](../types/int.md) | Required| -|random|[bytes](../types/bytes.md) | Required| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -``` -$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_dhConfigNotModified.md b/docs/API_docs_46/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5818e747..00000000 --- a/docs/API_docs_46/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_dhConfigNotModified -description: messages_dhConfigNotModified attributes, type and example ---- -## Constructor: messages\_dhConfigNotModified -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|random|[bytes](../types/bytes.md) | Required| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -``` -$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_dialogs.md b/docs/API_docs_46/constructors/messages_dialogs.md deleted file mode 100644 index 3dfcf653..00000000 --- a/docs/API_docs_46/constructors/messages_dialogs.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_dialogs -description: messages_dialogs attributes, type and example ---- -## Constructor: messages\_dialogs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dialogs|Array of [Dialog](../types/Dialog.md) | Required| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -``` -$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_dialogsSlice.md b/docs/API_docs_46/constructors/messages_dialogsSlice.md deleted file mode 100644 index 96b48580..00000000 --- a/docs/API_docs_46/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messages_dialogsSlice -description: messages_dialogsSlice attributes, type and example ---- -## Constructor: messages\_dialogsSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|dialogs|Array of [Dialog](../types/Dialog.md) | Required| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -``` -$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_foundGifs.md b/docs/API_docs_46/constructors/messages_foundGifs.md deleted file mode 100644 index 8268a6b6..00000000 --- a/docs/API_docs_46/constructors/messages_foundGifs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_foundGifs -description: messages_foundGifs attributes, type and example ---- -## Constructor: messages\_foundGifs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|next\_offset|[int](../types/int.md) | Required| -|results|Array of [FoundGif](../types/FoundGif.md) | Required| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -``` -$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_messages.md b/docs/API_docs_46/constructors/messages_messages.md deleted file mode 100644 index e09c5d7f..00000000 --- a/docs/API_docs_46/constructors/messages_messages.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_messages -description: messages_messages attributes, type and example ---- -## Constructor: messages\_messages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_messagesSlice.md b/docs/API_docs_46/constructors/messages_messagesSlice.md deleted file mode 100644 index e1c8196a..00000000 --- a/docs/API_docs_46/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_messagesSlice -description: messages_messagesSlice attributes, type and example ---- -## Constructor: messages\_messagesSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_savedGifs.md b/docs/API_docs_46/constructors/messages_savedGifs.md deleted file mode 100644 index 8c2ba5ca..00000000 --- a/docs/API_docs_46/constructors/messages_savedGifs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_savedGifs -description: messages_savedGifs attributes, type and example ---- -## Constructor: messages\_savedGifs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[int](../types/int.md) | Required| -|gifs|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -``` -$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_savedGifsNotModified.md b/docs/API_docs_46/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 91ce9aed..00000000 --- a/docs/API_docs_46/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_savedGifsNotModified -description: messages_savedGifsNotModified attributes, type and example ---- -## Constructor: messages\_savedGifsNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -``` -$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_sentEncryptedFile.md b/docs/API_docs_46/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index 3485e0c2..00000000 --- a/docs/API_docs_46/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_sentEncryptedFile -description: messages_sentEncryptedFile attributes, type and example ---- -## Constructor: messages\_sentEncryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|file|[EncryptedFile](../types/EncryptedFile.md) | Required| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -``` -$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_sentEncryptedMessage.md b/docs/API_docs_46/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 23004749..00000000 --- a/docs/API_docs_46/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_sentEncryptedMessage -description: messages_sentEncryptedMessage attributes, type and example ---- -## Constructor: messages\_sentEncryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -``` -$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_stickerSet.md b/docs/API_docs_46/constructors/messages_stickerSet.md deleted file mode 100644 index 0024f636..00000000 --- a/docs/API_docs_46/constructors/messages_stickerSet.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_stickerSet -description: messages_stickerSet attributes, type and example ---- -## Constructor: messages\_stickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|set|[StickerSet](../types/StickerSet.md) | Required| -|packs|Array of [StickerPack](../types/StickerPack.md) | Required| -|documents|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -``` -$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_stickers.md b/docs/API_docs_46/constructors/messages_stickers.md deleted file mode 100644 index 02d0e2e1..00000000 --- a/docs/API_docs_46/constructors/messages_stickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_stickers -description: messages_stickers attributes, type and example ---- -## Constructor: messages\_stickers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[string](../types/string.md) | Required| -|stickers|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -``` -$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/messages_stickersNotModified.md b/docs/API_docs_46/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3b43f4c2..00000000 --- a/docs/API_docs_46/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_stickersNotModified -description: messages_stickersNotModified attributes, type and example ---- -## Constructor: messages\_stickersNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -``` -$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/nearestDc.md b/docs/API_docs_46/constructors/nearestDc.md deleted file mode 100644 index 70b4ef47..00000000 --- a/docs/API_docs_46/constructors/nearestDc.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: nearestDc -description: nearestDc attributes, type and example ---- -## Constructor: nearestDc -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|country|[string](../types/string.md) | Required| -|this\_dc|[int](../types/int.md) | Required| -|nearest\_dc|[int](../types/int.md) | Required| - - - -### Type: [NearestDc](../types/NearestDc.md) - - -### Example: - -``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/notifyAll.md b/docs/API_docs_46/constructors/notifyAll.md deleted file mode 100644 index 37b7ac98..00000000 --- a/docs/API_docs_46/constructors/notifyAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyAll -description: notifyAll attributes, type and example ---- -## Constructor: notifyAll -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyAll = ['_' => 'notifyAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/notifyChats.md b/docs/API_docs_46/constructors/notifyChats.md deleted file mode 100644 index 0f3cf91e..00000000 --- a/docs/API_docs_46/constructors/notifyChats.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyChats -description: notifyChats attributes, type and example ---- -## Constructor: notifyChats -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyChats = ['_' => 'notifyChats', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/notifyPeer.md b/docs/API_docs_46/constructors/notifyPeer.md deleted file mode 100644 index ea5b1284..00000000 --- a/docs/API_docs_46/constructors/notifyPeer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: notifyPeer -description: notifyPeer attributes, type and example ---- -## Constructor: notifyPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/notifyUsers.md b/docs/API_docs_46/constructors/notifyUsers.md deleted file mode 100644 index 0265ec49..00000000 --- a/docs/API_docs_46/constructors/notifyUsers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyUsers -description: notifyUsers attributes, type and example ---- -## Constructor: notifyUsers -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyUsers = ['_' => 'notifyUsers', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerChannel.md b/docs/API_docs_46/constructors/peerChannel.md deleted file mode 100644 index 52073455..00000000 --- a/docs/API_docs_46/constructors/peerChannel.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerChannel -description: peerChannel attributes, type and example ---- -## Constructor: peerChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerChat.md b/docs/API_docs_46/constructors/peerChat.md deleted file mode 100644 index 4be6446e..00000000 --- a/docs/API_docs_46/constructors/peerChat.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerChat -description: peerChat attributes, type and example ---- -## Constructor: peerChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerNotifyEventsAll.md b/docs/API_docs_46/constructors/peerNotifyEventsAll.md deleted file mode 100644 index 7e00908f..00000000 --- a/docs/API_docs_46/constructors/peerNotifyEventsAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifyEventsAll -description: peerNotifyEventsAll attributes, type and example ---- -## Constructor: peerNotifyEventsAll -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) - - -### Example: - -``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerNotifyEventsEmpty.md b/docs/API_docs_46/constructors/peerNotifyEventsEmpty.md deleted file mode 100644 index c2280599..00000000 --- a/docs/API_docs_46/constructors/peerNotifyEventsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifyEventsEmpty -description: peerNotifyEventsEmpty attributes, type and example ---- -## Constructor: peerNotifyEventsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) - - -### Example: - -``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerNotifySettings.md b/docs/API_docs_46/constructors/peerNotifySettings.md deleted file mode 100644 index 2b8c4a04..00000000 --- a/docs/API_docs_46/constructors/peerNotifySettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: peerNotifySettings -description: peerNotifySettings attributes, type and example ---- -## Constructor: peerNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|mute\_until|[int](../types/int.md) | Required| -|sound|[string](../types/string.md) | Required| -|show\_previews|[Bool](../types/Bool.md) | Required| -|events\_mask|[int](../types/int.md) | Required| - - - -### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) - - -### Example: - -``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerNotifySettingsEmpty.md b/docs/API_docs_46/constructors/peerNotifySettingsEmpty.md deleted file mode 100644 index fd06975c..00000000 --- a/docs/API_docs_46/constructors/peerNotifySettingsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifySettingsEmpty -description: peerNotifySettingsEmpty attributes, type and example ---- -## Constructor: peerNotifySettingsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) - - -### Example: - -``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/peerUser.md b/docs/API_docs_46/constructors/peerUser.md deleted file mode 100644 index ad976808..00000000 --- a/docs/API_docs_46/constructors/peerUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerUser -description: peerUser attributes, type and example ---- -## Constructor: peerUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photo.md b/docs/API_docs_46/constructors/photo.md deleted file mode 100644 index eb6dbf10..00000000 --- a/docs/API_docs_46/constructors/photo.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: photo -description: photo attributes, type and example ---- -## Constructor: photo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| - - - -### Type: [Photo](../types/Photo.md) - - -### Example: - -``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photoCachedSize.md b/docs/API_docs_46/constructors/photoCachedSize.md deleted file mode 100644 index 8a2812ac..00000000 --- a/docs/API_docs_46/constructors/photoCachedSize.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: photoCachedSize -description: photoCachedSize attributes, type and example ---- -## Constructor: photoCachedSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|location|[FileLocation](../types/FileLocation.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photoEmpty.md b/docs/API_docs_46/constructors/photoEmpty.md deleted file mode 100644 index b24baa7b..00000000 --- a/docs/API_docs_46/constructors/photoEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: photoEmpty -description: photoEmpty attributes, type and example ---- -## Constructor: photoEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Photo](../types/Photo.md) - - -### Example: - -``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photoSize.md b/docs/API_docs_46/constructors/photoSize.md deleted file mode 100644 index 2daefc38..00000000 --- a/docs/API_docs_46/constructors/photoSize.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: photoSize -description: photoSize attributes, type and example ---- -## Constructor: photoSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|location|[FileLocation](../types/FileLocation.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|size|[int](../types/int.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photoSizeEmpty.md b/docs/API_docs_46/constructors/photoSizeEmpty.md deleted file mode 100644 index e4772c6a..00000000 --- a/docs/API_docs_46/constructors/photoSizeEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: photoSizeEmpty -description: photoSizeEmpty attributes, type and example ---- -## Constructor: photoSizeEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photos_photo.md b/docs/API_docs_46/constructors/photos_photo.md deleted file mode 100644 index 6360d063..00000000 --- a/docs/API_docs_46/constructors/photos_photo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: photos_photo -description: photos_photo attributes, type and example ---- -## Constructor: photos\_photo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -``` -$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photos_photos.md b/docs/API_docs_46/constructors/photos_photos.md deleted file mode 100644 index 0a80f572..00000000 --- a/docs/API_docs_46/constructors/photos_photos.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: photos_photos -description: photos_photos attributes, type and example ---- -## Constructor: photos\_photos -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photos|Array of [Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -``` -$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/photos_photosSlice.md b/docs/API_docs_46/constructors/photos_photosSlice.md deleted file mode 100644 index 59b709cd..00000000 --- a/docs/API_docs_46/constructors/photos_photosSlice.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: photos_photosSlice -description: photos_photosSlice attributes, type and example ---- -## Constructor: photos\_photosSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|photos|Array of [Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -``` -$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs_46/constructors/privacyKeyStatusTimestamp.md deleted file mode 100644 index 6b78b639..00000000 --- a/docs/API_docs_46/constructors/privacyKeyStatusTimestamp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyKeyStatusTimestamp -description: privacyKeyStatusTimestamp attributes, type and example ---- -## Constructor: privacyKeyStatusTimestamp -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyKey](../types/PrivacyKey.md) - - -### Example: - -``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueAllowAll.md b/docs/API_docs_46/constructors/privacyValueAllowAll.md deleted file mode 100644 index 3caa3a6a..00000000 --- a/docs/API_docs_46/constructors/privacyValueAllowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueAllowAll -description: privacyValueAllowAll attributes, type and example ---- -## Constructor: privacyValueAllowAll -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueAllowContacts.md b/docs/API_docs_46/constructors/privacyValueAllowContacts.md deleted file mode 100644 index a0a92f61..00000000 --- a/docs/API_docs_46/constructors/privacyValueAllowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueAllowContacts -description: privacyValueAllowContacts attributes, type and example ---- -## Constructor: privacyValueAllowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueAllowUsers.md b/docs/API_docs_46/constructors/privacyValueAllowUsers.md deleted file mode 100644 index b2a99fe0..00000000 --- a/docs/API_docs_46/constructors/privacyValueAllowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: privacyValueAllowUsers -description: privacyValueAllowUsers attributes, type and example ---- -## Constructor: privacyValueAllowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueDisallowAll.md b/docs/API_docs_46/constructors/privacyValueDisallowAll.md deleted file mode 100644 index 8050d7d2..00000000 --- a/docs/API_docs_46/constructors/privacyValueDisallowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueDisallowAll -description: privacyValueDisallowAll attributes, type and example ---- -## Constructor: privacyValueDisallowAll -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueDisallowContacts.md b/docs/API_docs_46/constructors/privacyValueDisallowContacts.md deleted file mode 100644 index ce529dc4..00000000 --- a/docs/API_docs_46/constructors/privacyValueDisallowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueDisallowContacts -description: privacyValueDisallowContacts attributes, type and example ---- -## Constructor: privacyValueDisallowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/privacyValueDisallowUsers.md b/docs/API_docs_46/constructors/privacyValueDisallowUsers.md deleted file mode 100644 index 7036cfe1..00000000 --- a/docs/API_docs_46/constructors/privacyValueDisallowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: privacyValueDisallowUsers -description: privacyValueDisallowUsers attributes, type and example ---- -## Constructor: privacyValueDisallowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/receivedNotifyMessage.md b/docs/API_docs_46/constructors/receivedNotifyMessage.md deleted file mode 100644 index df326902..00000000 --- a/docs/API_docs_46/constructors/receivedNotifyMessage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: receivedNotifyMessage -description: receivedNotifyMessage attributes, type and example ---- -## Constructor: receivedNotifyMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) - - -### Example: - -``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/replyKeyboardForceReply.md b/docs/API_docs_46/constructors/replyKeyboardForceReply.md deleted file mode 100644 index 65cd28d3..00000000 --- a/docs/API_docs_46/constructors/replyKeyboardForceReply.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: replyKeyboardForceReply -description: replyKeyboardForceReply attributes, type and example ---- -## Constructor: replyKeyboardForceReply -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|single\_use|[Bool](../types/Bool.md) | Optional| -|selective|[Bool](../types/Bool.md) | Optional| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/replyKeyboardHide.md b/docs/API_docs_46/constructors/replyKeyboardHide.md deleted file mode 100644 index b4bc40a7..00000000 --- a/docs/API_docs_46/constructors/replyKeyboardHide.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: replyKeyboardHide -description: replyKeyboardHide attributes, type and example ---- -## Constructor: replyKeyboardHide -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|selective|[Bool](../types/Bool.md) | Optional| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/replyKeyboardMarkup.md b/docs/API_docs_46/constructors/replyKeyboardMarkup.md deleted file mode 100644 index 270df64d..00000000 --- a/docs/API_docs_46/constructors/replyKeyboardMarkup.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: replyKeyboardMarkup -description: replyKeyboardMarkup attributes, type and example ---- -## Constructor: replyKeyboardMarkup -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|resize|[Bool](../types/Bool.md) | Optional| -|single\_use|[Bool](../types/Bool.md) | Optional| -|selective|[Bool](../types/Bool.md) | Optional| -|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageCancelAction.md b/docs/API_docs_46/constructors/sendMessageCancelAction.md deleted file mode 100644 index 28daa59b..00000000 --- a/docs/API_docs_46/constructors/sendMessageCancelAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageCancelAction -description: sendMessageCancelAction attributes, type and example ---- -## Constructor: sendMessageCancelAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageChooseContactAction.md b/docs/API_docs_46/constructors/sendMessageChooseContactAction.md deleted file mode 100644 index e3572596..00000000 --- a/docs/API_docs_46/constructors/sendMessageChooseContactAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageChooseContactAction -description: sendMessageChooseContactAction attributes, type and example ---- -## Constructor: sendMessageChooseContactAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageGeoLocationAction.md b/docs/API_docs_46/constructors/sendMessageGeoLocationAction.md deleted file mode 100644 index 03ea56c3..00000000 --- a/docs/API_docs_46/constructors/sendMessageGeoLocationAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageGeoLocationAction -description: sendMessageGeoLocationAction attributes, type and example ---- -## Constructor: sendMessageGeoLocationAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageRecordAudioAction.md b/docs/API_docs_46/constructors/sendMessageRecordAudioAction.md deleted file mode 100644 index d272ccd7..00000000 --- a/docs/API_docs_46/constructors/sendMessageRecordAudioAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageRecordAudioAction -description: sendMessageRecordAudioAction attributes, type and example ---- -## Constructor: sendMessageRecordAudioAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageRecordVideoAction.md b/docs/API_docs_46/constructors/sendMessageRecordVideoAction.md deleted file mode 100644 index be9e2c48..00000000 --- a/docs/API_docs_46/constructors/sendMessageRecordVideoAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageRecordVideoAction -description: sendMessageRecordVideoAction attributes, type and example ---- -## Constructor: sendMessageRecordVideoAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageTypingAction.md b/docs/API_docs_46/constructors/sendMessageTypingAction.md deleted file mode 100644 index 3ad7084c..00000000 --- a/docs/API_docs_46/constructors/sendMessageTypingAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageTypingAction -description: sendMessageTypingAction attributes, type and example ---- -## Constructor: sendMessageTypingAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageUploadAudioAction.md b/docs/API_docs_46/constructors/sendMessageUploadAudioAction.md deleted file mode 100644 index 70067213..00000000 --- a/docs/API_docs_46/constructors/sendMessageUploadAudioAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadAudioAction -description: sendMessageUploadAudioAction attributes, type and example ---- -## Constructor: sendMessageUploadAudioAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs_46/constructors/sendMessageUploadDocumentAction.md deleted file mode 100644 index ce1cf442..00000000 --- a/docs/API_docs_46/constructors/sendMessageUploadDocumentAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadDocumentAction -description: sendMessageUploadDocumentAction attributes, type and example ---- -## Constructor: sendMessageUploadDocumentAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs_46/constructors/sendMessageUploadPhotoAction.md deleted file mode 100644 index b9cd2ea9..00000000 --- a/docs/API_docs_46/constructors/sendMessageUploadPhotoAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadPhotoAction -description: sendMessageUploadPhotoAction attributes, type and example ---- -## Constructor: sendMessageUploadPhotoAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/sendMessageUploadVideoAction.md b/docs/API_docs_46/constructors/sendMessageUploadVideoAction.md deleted file mode 100644 index 03f65b6e..00000000 --- a/docs/API_docs_46/constructors/sendMessageUploadVideoAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadVideoAction -description: sendMessageUploadVideoAction attributes, type and example ---- -## Constructor: sendMessageUploadVideoAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/stickerPack.md b/docs/API_docs_46/constructors/stickerPack.md deleted file mode 100644 index d6a15058..00000000 --- a/docs/API_docs_46/constructors/stickerPack.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: stickerPack -description: stickerPack attributes, type and example ---- -## Constructor: stickerPack -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|emoticon|[string](../types/string.md) | Required| -|documents|Array of [long](../types/long.md) | Required| - - - -### Type: [StickerPack](../types/StickerPack.md) - - -### Example: - -``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/stickerSet.md b/docs/API_docs_46/constructors/stickerSet.md deleted file mode 100644 index 2ecf0326..00000000 --- a/docs/API_docs_46/constructors/stickerSet.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: stickerSet -description: stickerSet attributes, type and example ---- -## Constructor: stickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|installed|[Bool](../types/Bool.md) | Optional| -|disabled|[Bool](../types/Bool.md) | Optional| -|official|[Bool](../types/Bool.md) | Optional| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|title|[string](../types/string.md) | Required| -|short\_name|[string](../types/string.md) | Required| -|count|[int](../types/int.md) | Required| -|hash|[int](../types/int.md) | Required| - - - -### Type: [StickerSet](../types/StickerSet.md) - - -### Example: - -``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileGif.md b/docs/API_docs_46/constructors/storage_fileGif.md deleted file mode 100644 index ca2e33b2..00000000 --- a/docs/API_docs_46/constructors/storage_fileGif.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileGif -description: storage_fileGif attributes, type and example ---- -## Constructor: storage\_fileGif -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileGif = ['_' => 'storage_fileGif', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileJpeg.md b/docs/API_docs_46/constructors/storage_fileJpeg.md deleted file mode 100644 index 04e3ec00..00000000 --- a/docs/API_docs_46/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileJpeg -description: storage_fileJpeg attributes, type and example ---- -## Constructor: storage\_fileJpeg -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileMov.md b/docs/API_docs_46/constructors/storage_fileMov.md deleted file mode 100644 index 1cea0f2d..00000000 --- a/docs/API_docs_46/constructors/storage_fileMov.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMov -description: storage_fileMov attributes, type and example ---- -## Constructor: storage\_fileMov -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMov = ['_' => 'storage_fileMov', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileMp3.md b/docs/API_docs_46/constructors/storage_fileMp3.md deleted file mode 100644 index 73ab3557..00000000 --- a/docs/API_docs_46/constructors/storage_fileMp3.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMp3 -description: storage_fileMp3 attributes, type and example ---- -## Constructor: storage\_fileMp3 -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileMp4.md b/docs/API_docs_46/constructors/storage_fileMp4.md deleted file mode 100644 index 66d23c20..00000000 --- a/docs/API_docs_46/constructors/storage_fileMp4.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMp4 -description: storage_fileMp4 attributes, type and example ---- -## Constructor: storage\_fileMp4 -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_filePartial.md b/docs/API_docs_46/constructors/storage_filePartial.md deleted file mode 100644 index 28c0f66c..00000000 --- a/docs/API_docs_46/constructors/storage_filePartial.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePartial -description: storage_filePartial attributes, type and example ---- -## Constructor: storage\_filePartial -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePartial = ['_' => 'storage_filePartial', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_filePdf.md b/docs/API_docs_46/constructors/storage_filePdf.md deleted file mode 100644 index afa57fcc..00000000 --- a/docs/API_docs_46/constructors/storage_filePdf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePdf -description: storage_filePdf attributes, type and example ---- -## Constructor: storage\_filePdf -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePdf = ['_' => 'storage_filePdf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_filePng.md b/docs/API_docs_46/constructors/storage_filePng.md deleted file mode 100644 index 28cec34c..00000000 --- a/docs/API_docs_46/constructors/storage_filePng.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePng -description: storage_filePng attributes, type and example ---- -## Constructor: storage\_filePng -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePng = ['_' => 'storage_filePng', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileUnknown.md b/docs/API_docs_46/constructors/storage_fileUnknown.md deleted file mode 100644 index 07586f11..00000000 --- a/docs/API_docs_46/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileUnknown -description: storage_fileUnknown attributes, type and example ---- -## Constructor: storage\_fileUnknown -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/storage_fileWebp.md b/docs/API_docs_46/constructors/storage_fileWebp.md deleted file mode 100644 index efb0c672..00000000 --- a/docs/API_docs_46/constructors/storage_fileWebp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileWebp -description: storage_fileWebp attributes, type and example ---- -## Constructor: storage\_fileWebp -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileWebp = ['_' => 'storage_fileWebp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/true.md b/docs/API_docs_46/constructors/true.md deleted file mode 100644 index aa7d8ac7..00000000 --- a/docs/API_docs_46/constructors/true.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: true -description: true attributes, type and example ---- -## Constructor: true -[Back to constructors index](index.md) - - - - - - -### Type: [True](../types/True.md) - - -### Example: - -``` -$true = ['_' => 'true', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateBotInlineQuery.md b/docs/API_docs_46/constructors/updateBotInlineQuery.md deleted file mode 100644 index 3d832109..00000000 --- a/docs/API_docs_46/constructors/updateBotInlineQuery.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateBotInlineQuery -description: updateBotInlineQuery attributes, type and example ---- -## Constructor: updateBotInlineQuery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|query\_id|[long](../types/long.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|query|[string](../types/string.md) | Required| -|offset|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChannel.md b/docs/API_docs_46/constructors/updateChannel.md deleted file mode 100644 index 8a9f13b2..00000000 --- a/docs/API_docs_46/constructors/updateChannel.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateChannel -description: updateChannel attributes, type and example ---- -## Constructor: updateChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChannelGroup.md b/docs/API_docs_46/constructors/updateChannelGroup.md deleted file mode 100644 index 3b80c8cb..00000000 --- a/docs/API_docs_46/constructors/updateChannelGroup.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateChannelGroup -description: updateChannelGroup attributes, type and example ---- -## Constructor: updateChannelGroup -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|group|[MessageGroup](../types/MessageGroup.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChannelMessageViews.md b/docs/API_docs_46/constructors/updateChannelMessageViews.md deleted file mode 100644 index 32862895..00000000 --- a/docs/API_docs_46/constructors/updateChannelMessageViews.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChannelMessageViews -description: updateChannelMessageViews attributes, type and example ---- -## Constructor: updateChannelMessageViews -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|id|[int](../types/int.md) | Required| -|views|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChannelTooLong.md b/docs/API_docs_46/constructors/updateChannelTooLong.md deleted file mode 100644 index f2d8e77d..00000000 --- a/docs/API_docs_46/constructors/updateChannelTooLong.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateChannelTooLong -description: updateChannelTooLong attributes, type and example ---- -## Constructor: updateChannelTooLong -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatAdmins.md b/docs/API_docs_46/constructors/updateChatAdmins.md deleted file mode 100644 index 6694a840..00000000 --- a/docs/API_docs_46/constructors/updateChatAdmins.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatAdmins -description: updateChatAdmins attributes, type and example ---- -## Constructor: updateChatAdmins -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|enabled|[Bool](../types/Bool.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatParticipantAdd.md b/docs/API_docs_46/constructors/updateChatParticipantAdd.md deleted file mode 100644 index 6f0c88fb..00000000 --- a/docs/API_docs_46/constructors/updateChatParticipantAdd.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updateChatParticipantAdd -description: updateChatParticipantAdd attributes, type and example ---- -## Constructor: updateChatParticipantAdd -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatParticipantAdmin.md b/docs/API_docs_46/constructors/updateChatParticipantAdmin.md deleted file mode 100644 index f2e493c4..00000000 --- a/docs/API_docs_46/constructors/updateChatParticipantAdmin.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateChatParticipantAdmin -description: updateChatParticipantAdmin attributes, type and example ---- -## Constructor: updateChatParticipantAdmin -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|is\_admin|[Bool](../types/Bool.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatParticipantDelete.md b/docs/API_docs_46/constructors/updateChatParticipantDelete.md deleted file mode 100644 index 7693f7f1..00000000 --- a/docs/API_docs_46/constructors/updateChatParticipantDelete.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatParticipantDelete -description: updateChatParticipantDelete attributes, type and example ---- -## Constructor: updateChatParticipantDelete -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatParticipants.md b/docs/API_docs_46/constructors/updateChatParticipants.md deleted file mode 100644 index 0cf963cf..00000000 --- a/docs/API_docs_46/constructors/updateChatParticipants.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateChatParticipants -description: updateChatParticipants attributes, type and example ---- -## Constructor: updateChatParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateChatUserTyping.md b/docs/API_docs_46/constructors/updateChatUserTyping.md deleted file mode 100644 index ae150ac2..00000000 --- a/docs/API_docs_46/constructors/updateChatUserTyping.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatUserTyping -description: updateChatUserTyping attributes, type and example ---- -## Constructor: updateChatUserTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|action|[SendMessageAction](../types/SendMessageAction.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateContactLink.md b/docs/API_docs_46/constructors/updateContactLink.md deleted file mode 100644 index eb6ee178..00000000 --- a/docs/API_docs_46/constructors/updateContactLink.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateContactLink -description: updateContactLink attributes, type and example ---- -## Constructor: updateContactLink -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|my\_link|[ContactLink](../types/ContactLink.md) | Required| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateContactRegistered.md b/docs/API_docs_46/constructors/updateContactRegistered.md deleted file mode 100644 index 589eb7d3..00000000 --- a/docs/API_docs_46/constructors/updateContactRegistered.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateContactRegistered -description: updateContactRegistered attributes, type and example ---- -## Constructor: updateContactRegistered -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateDcOptions.md b/docs/API_docs_46/constructors/updateDcOptions.md deleted file mode 100644 index 066cabcc..00000000 --- a/docs/API_docs_46/constructors/updateDcOptions.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateDcOptions -description: updateDcOptions attributes, type and example ---- -## Constructor: updateDcOptions -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateDeleteChannelMessages.md b/docs/API_docs_46/constructors/updateDeleteChannelMessages.md deleted file mode 100644 index 3c401ff4..00000000 --- a/docs/API_docs_46/constructors/updateDeleteChannelMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateDeleteChannelMessages -description: updateDeleteChannelMessages attributes, type and example ---- -## Constructor: updateDeleteChannelMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|messages|Array of [int](../types/int.md) | Required| -|channel\_pts|[int](../types/int.md) | Required| -|channel\_pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'channel_pts' => int, 'channel_pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateDeleteMessages.md b/docs/API_docs_46/constructors/updateDeleteMessages.md deleted file mode 100644 index 195058a8..00000000 --- a/docs/API_docs_46/constructors/updateDeleteMessages.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateDeleteMessages -description: updateDeleteMessages attributes, type and example ---- -## Constructor: updateDeleteMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateEncryptedChatTyping.md b/docs/API_docs_46/constructors/updateEncryptedChatTyping.md deleted file mode 100644 index baace573..00000000 --- a/docs/API_docs_46/constructors/updateEncryptedChatTyping.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateEncryptedChatTyping -description: updateEncryptedChatTyping attributes, type and example ---- -## Constructor: updateEncryptedChatTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateEncryptedMessagesRead.md b/docs/API_docs_46/constructors/updateEncryptedMessagesRead.md deleted file mode 100644 index a024c007..00000000 --- a/docs/API_docs_46/constructors/updateEncryptedMessagesRead.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateEncryptedMessagesRead -description: updateEncryptedMessagesRead attributes, type and example ---- -## Constructor: updateEncryptedMessagesRead -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|max\_date|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateEncryption.md b/docs/API_docs_46/constructors/updateEncryption.md deleted file mode 100644 index 124ed1e8..00000000 --- a/docs/API_docs_46/constructors/updateEncryption.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateEncryption -description: updateEncryption attributes, type and example ---- -## Constructor: updateEncryption -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|encr\_chat|[EncryptedChat](../types/EncryptedChat.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateMessageID.md b/docs/API_docs_46/constructors/updateMessageID.md deleted file mode 100644 index 68ade34d..00000000 --- a/docs/API_docs_46/constructors/updateMessageID.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateMessageID -description: updateMessageID attributes, type and example ---- -## Constructor: updateMessageID -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNewAuthorization.md b/docs/API_docs_46/constructors/updateNewAuthorization.md deleted file mode 100644 index 86b90947..00000000 --- a/docs/API_docs_46/constructors/updateNewAuthorization.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateNewAuthorization -description: updateNewAuthorization attributes, type and example ---- -## Constructor: updateNewAuthorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|auth\_key\_id|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|device|[string](../types/string.md) | Required| -|location|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNewChannelMessage.md b/docs/API_docs_46/constructors/updateNewChannelMessage.md deleted file mode 100644 index 3602020f..00000000 --- a/docs/API_docs_46/constructors/updateNewChannelMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateNewChannelMessage -description: updateNewChannelMessage attributes, type and example ---- -## Constructor: updateNewChannelMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[MTMessage](../types/MTMessage.md) | Required| -|channel\_pts|[int](../types/int.md) | Required| -|channel\_pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => MTMessage, 'channel_pts' => int, 'channel_pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNewEncryptedMessage.md b/docs/API_docs_46/constructors/updateNewEncryptedMessage.md deleted file mode 100644 index 3195d3f8..00000000 --- a/docs/API_docs_46/constructors/updateNewEncryptedMessage.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateNewEncryptedMessage -description: updateNewEncryptedMessage attributes, type and example ---- -## Constructor: updateNewEncryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|encr\_message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| -|qts|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNewMessage.md b/docs/API_docs_46/constructors/updateNewMessage.md deleted file mode 100644 index c3f5bba7..00000000 --- a/docs/API_docs_46/constructors/updateNewMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateNewMessage -description: updateNewMessage attributes, type and example ---- -## Constructor: updateNewMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[MTMessage](../types/MTMessage.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => MTMessage, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNewStickerSet.md b/docs/API_docs_46/constructors/updateNewStickerSet.md deleted file mode 100644 index 223d0670..00000000 --- a/docs/API_docs_46/constructors/updateNewStickerSet.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateNewStickerSet -description: updateNewStickerSet attributes, type and example ---- -## Constructor: updateNewStickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateNotifySettings.md b/docs/API_docs_46/constructors/updateNotifySettings.md deleted file mode 100644 index d505485d..00000000 --- a/docs/API_docs_46/constructors/updateNotifySettings.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateNotifySettings -description: updateNotifySettings attributes, type and example ---- -## Constructor: updateNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|notify\_peer|[NotifyPeer](../types/NotifyPeer.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updatePrivacy.md b/docs/API_docs_46/constructors/updatePrivacy.md deleted file mode 100644 index 7d29789c..00000000 --- a/docs/API_docs_46/constructors/updatePrivacy.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updatePrivacy -description: updatePrivacy attributes, type and example ---- -## Constructor: updatePrivacy -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|key|[PrivacyKey](../types/PrivacyKey.md) | Required| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateReadChannelInbox.md b/docs/API_docs_46/constructors/updateReadChannelInbox.md deleted file mode 100644 index 8abde064..00000000 --- a/docs/API_docs_46/constructors/updateReadChannelInbox.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateReadChannelInbox -description: updateReadChannelInbox attributes, type and example ---- -## Constructor: updateReadChannelInbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateReadHistoryInbox.md b/docs/API_docs_46/constructors/updateReadHistoryInbox.md deleted file mode 100644 index 4ade3037..00000000 --- a/docs/API_docs_46/constructors/updateReadHistoryInbox.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateReadHistoryInbox -description: updateReadHistoryInbox attributes, type and example ---- -## Constructor: updateReadHistoryInbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|max\_id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateReadHistoryOutbox.md b/docs/API_docs_46/constructors/updateReadHistoryOutbox.md deleted file mode 100644 index cb4896d3..00000000 --- a/docs/API_docs_46/constructors/updateReadHistoryOutbox.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateReadHistoryOutbox -description: updateReadHistoryOutbox attributes, type and example ---- -## Constructor: updateReadHistoryOutbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|max\_id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateReadMessagesContents.md b/docs/API_docs_46/constructors/updateReadMessagesContents.md deleted file mode 100644 index 95f92a34..00000000 --- a/docs/API_docs_46/constructors/updateReadMessagesContents.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateReadMessagesContents -description: updateReadMessagesContents attributes, type and example ---- -## Constructor: updateReadMessagesContents -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateSavedGifs.md b/docs/API_docs_46/constructors/updateSavedGifs.md deleted file mode 100644 index f85d2d05..00000000 --- a/docs/API_docs_46/constructors/updateSavedGifs.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updateSavedGifs -description: updateSavedGifs attributes, type and example ---- -## Constructor: updateSavedGifs -[Back to constructors index](index.md) - - - - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateServiceNotification.md b/docs/API_docs_46/constructors/updateServiceNotification.md deleted file mode 100644 index e2ec31c8..00000000 --- a/docs/API_docs_46/constructors/updateServiceNotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateServiceNotification -description: updateServiceNotification attributes, type and example ---- -## Constructor: updateServiceNotification -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|message\_text|[string](../types/string.md) | Required| -|media|[MessageMedia](../types/MessageMedia.md) | Required| -|popup|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message_text' => string, 'media' => MessageMedia, 'popup' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateShort.md b/docs/API_docs_46/constructors/updateShort.md deleted file mode 100644 index ffda6b42..00000000 --- a/docs/API_docs_46/constructors/updateShort.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateShort -description: updateShort attributes, type and example ---- -## Constructor: updateShort -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|update|[Update](../types/Update.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateShortChatMessage.md b/docs/API_docs_46/constructors/updateShortChatMessage.md deleted file mode 100644 index 7964eed9..00000000 --- a/docs/API_docs_46/constructors/updateShortChatMessage.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: updateShortChatMessage -description: updateShortChatMessage attributes, type and example ---- -## Constructor: updateShortChatMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|unread|[Bool](../types/Bool.md) | Optional| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|from\_id|[int](../types/int.md) | Required| -|chat\_id|[int](../types/int.md) | Required| -|message|[string](../types/string.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| -|fwd\_date|[int](../types/int.md) | Optional| -|via\_bot\_id|[int](../types/int.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateShortMessage.md b/docs/API_docs_46/constructors/updateShortMessage.md deleted file mode 100644 index 9b486572..00000000 --- a/docs/API_docs_46/constructors/updateShortMessage.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updateShortMessage -description: updateShortMessage attributes, type and example ---- -## Constructor: updateShortMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|unread|[Bool](../types/Bool.md) | Optional| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|message|[string](../types/string.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| -|fwd\_date|[int](../types/int.md) | Optional| -|via\_bot\_id|[int](../types/int.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateShortSentMessage.md b/docs/API_docs_46/constructors/updateShortSentMessage.md deleted file mode 100644 index b8f0d589..00000000 --- a/docs/API_docs_46/constructors/updateShortSentMessage.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: updateShortSentMessage -description: updateShortSentMessage attributes, type and example ---- -## Constructor: updateShortSentMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|unread|[Bool](../types/Bool.md) | Optional| -|out|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|media|[MessageMedia](../types/MessageMedia.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateStickerSets.md b/docs/API_docs_46/constructors/updateStickerSets.md deleted file mode 100644 index 138b9ae5..00000000 --- a/docs/API_docs_46/constructors/updateStickerSets.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updateStickerSets -description: updateStickerSets attributes, type and example ---- -## Constructor: updateStickerSets -[Back to constructors index](index.md) - - - - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateStickerSetsOrder.md b/docs/API_docs_46/constructors/updateStickerSetsOrder.md deleted file mode 100644 index f1b0160c..00000000 --- a/docs/API_docs_46/constructors/updateStickerSetsOrder.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateStickerSetsOrder -description: updateStickerSetsOrder attributes, type and example ---- -## Constructor: updateStickerSetsOrder -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|order|Array of [long](../types/long.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserBlocked.md b/docs/API_docs_46/constructors/updateUserBlocked.md deleted file mode 100644 index cfe25f6f..00000000 --- a/docs/API_docs_46/constructors/updateUserBlocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserBlocked -description: updateUserBlocked attributes, type and example ---- -## Constructor: updateUserBlocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|blocked|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserName.md b/docs/API_docs_46/constructors/updateUserName.md deleted file mode 100644 index 96f3b99c..00000000 --- a/docs/API_docs_46/constructors/updateUserName.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateUserName -description: updateUserName attributes, type and example ---- -## Constructor: updateUserName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|username|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserPhone.md b/docs/API_docs_46/constructors/updateUserPhone.md deleted file mode 100644 index 8a50ff64..00000000 --- a/docs/API_docs_46/constructors/updateUserPhone.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserPhone -description: updateUserPhone attributes, type and example ---- -## Constructor: updateUserPhone -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|phone|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserPhoto.md b/docs/API_docs_46/constructors/updateUserPhoto.md deleted file mode 100644 index 7d7d62cb..00000000 --- a/docs/API_docs_46/constructors/updateUserPhoto.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateUserPhoto -description: updateUserPhoto attributes, type and example ---- -## Constructor: updateUserPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| -|previous|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserStatus.md b/docs/API_docs_46/constructors/updateUserStatus.md deleted file mode 100644 index f1a049b8..00000000 --- a/docs/API_docs_46/constructors/updateUserStatus.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserStatus -description: updateUserStatus attributes, type and example ---- -## Constructor: updateUserStatus -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|status|[UserStatus](../types/UserStatus.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateUserTyping.md b/docs/API_docs_46/constructors/updateUserTyping.md deleted file mode 100644 index 54aabc7f..00000000 --- a/docs/API_docs_46/constructors/updateUserTyping.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserTyping -description: updateUserTyping attributes, type and example ---- -## Constructor: updateUserTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|action|[SendMessageAction](../types/SendMessageAction.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updateWebPage.md b/docs/API_docs_46/constructors/updateWebPage.md deleted file mode 100644 index 28ead1eb..00000000 --- a/docs/API_docs_46/constructors/updateWebPage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateWebPage -description: updateWebPage attributes, type and example ---- -## Constructor: updateWebPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|webpage|[WebPage](../types/WebPage.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates.md b/docs/API_docs_46/constructors/updates.md deleted file mode 100644 index b4f2ce4b..00000000 --- a/docs/API_docs_46/constructors/updates.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updates -description: updates attributes, type and example ---- -## Constructor: updates -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|updates|Array of [Update](../types/Update.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updatesCombined.md b/docs/API_docs_46/constructors/updatesCombined.md deleted file mode 100644 index a40f7cf2..00000000 --- a/docs/API_docs_46/constructors/updatesCombined.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updatesCombined -description: updatesCombined attributes, type and example ---- -## Constructor: updatesCombined -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|updates|Array of [Update](../types/Update.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|date|[int](../types/int.md) | Required| -|seq\_start|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updatesTooLong.md b/docs/API_docs_46/constructors/updatesTooLong.md deleted file mode 100644 index 2298d56c..00000000 --- a/docs/API_docs_46/constructors/updatesTooLong.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updatesTooLong -description: updatesTooLong attributes, type and example ---- -## Constructor: updatesTooLong -[Back to constructors index](index.md) - - - - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_channelDifference.md b/docs/API_docs_46/constructors/updates_channelDifference.md deleted file mode 100644 index 45919508..00000000 --- a/docs/API_docs_46/constructors/updates_channelDifference.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: updates_channelDifference -description: updates_channelDifference attributes, type and example ---- -## Constructor: updates\_channelDifference -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|channel\_pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| -|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs_46/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 7e8db539..00000000 --- a/docs/API_docs_46/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updates_channelDifferenceEmpty -description: updates_channelDifferenceEmpty attributes, type and example ---- -## Constructor: updates\_channelDifferenceEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|channel\_pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'channel_pts' => int, 'timeout' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs_46/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 8575723e..00000000 --- a/docs/API_docs_46/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: updates_channelDifferenceTooLong -description: updates_channelDifferenceTooLong attributes, type and example ---- -## Constructor: updates\_channelDifferenceTooLong -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|channel\_pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| -|top\_message|[int](../types/int.md) | Required| -|top\_important\_message|[int](../types/int.md) | Required| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|unread\_important\_count|[int](../types/int.md) | Required| -|messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_difference.md b/docs/API_docs_46/constructors/updates_difference.md deleted file mode 100644 index 7ff5687c..00000000 --- a/docs/API_docs_46/constructors/updates_difference.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updates_difference -description: updates_difference attributes, type and example ---- -## Constructor: updates\_difference -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|state|[updates\_State](../types/updates_State.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_differenceEmpty.md b/docs/API_docs_46/constructors/updates_differenceEmpty.md deleted file mode 100644 index f25f1310..00000000 --- a/docs/API_docs_46/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_differenceEmpty -description: updates_differenceEmpty attributes, type and example ---- -## Constructor: updates\_differenceEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_differenceSlice.md b/docs/API_docs_46/constructors/updates_differenceSlice.md deleted file mode 100644 index 83419fe9..00000000 --- a/docs/API_docs_46/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updates_differenceSlice -description: updates_differenceSlice attributes, type and example ---- -## Constructor: updates\_differenceSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/updates_state.md b/docs/API_docs_46/constructors/updates_state.md deleted file mode 100644 index cb4f88e0..00000000 --- a/docs/API_docs_46/constructors/updates_state.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updates_state -description: updates_state attributes, type and example ---- -## Constructor: updates\_state -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|qts|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -``` -$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/upload_file.md b/docs/API_docs_46/constructors/upload_file.md deleted file mode 100644 index 67b5a404..00000000 --- a/docs/API_docs_46/constructors/upload_file.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: upload_file -description: upload_file attributes, type and example ---- -## Constructor: upload\_file -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[storage\_FileType](../types/storage_FileType.md) | Required| -|mtime|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -``` -$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/user.md b/docs/API_docs_46/constructors/user.md deleted file mode 100644 index bf2605c3..00000000 --- a/docs/API_docs_46/constructors/user.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: user -description: user attributes, type and example ---- -## Constructor: user -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|self|[Bool](../types/Bool.md) | Optional| -|contact|[Bool](../types/Bool.md) | Optional| -|mutual\_contact|[Bool](../types/Bool.md) | Optional| -|deleted|[Bool](../types/Bool.md) | Optional| -|bot|[Bool](../types/Bool.md) | Optional| -|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| -|bot\_nochats|[Bool](../types/Bool.md) | Optional| -|verified|[Bool](../types/Bool.md) | Optional| -|restricted|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Optional| -|first\_name|[string](../types/string.md) | Optional| -|last\_name|[string](../types/string.md) | Optional| -|username|[string](../types/string.md) | Optional| -|phone|[string](../types/string.md) | Optional| -|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| -|status|[UserStatus](../types/UserStatus.md) | Optional| -|bot\_info\_version|[int](../types/int.md) | Optional| -|restriction\_reason|[string](../types/string.md) | Optional| -|bot\_inline\_placeholder|[string](../types/string.md) | Optional| - - - -### Type: [User](../types/User.md) - - -### Example: - -``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userEmpty.md b/docs/API_docs_46/constructors/userEmpty.md deleted file mode 100644 index 2ffac362..00000000 --- a/docs/API_docs_46/constructors/userEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userEmpty -description: userEmpty attributes, type and example ---- -## Constructor: userEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [User](../types/User.md) - - -### Example: - -``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userFull.md b/docs/API_docs_46/constructors/userFull.md deleted file mode 100644 index 1124e83a..00000000 --- a/docs/API_docs_46/constructors/userFull.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: userFull -description: userFull attributes, type and example ---- -## Constructor: userFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user|[User](../types/User.md) | Required| -|link|[contacts\_Link](../types/contacts_Link.md) | Required| -|profile\_photo|[Photo](../types/Photo.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|blocked|[Bool](../types/Bool.md) | Required| -|bot\_info|[BotInfo](../types/BotInfo.md) | Required| - - - -### Type: [UserFull](../types/UserFull.md) - - -### Example: - -``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userProfilePhoto.md b/docs/API_docs_46/constructors/userProfilePhoto.md deleted file mode 100644 index e9e33b63..00000000 --- a/docs/API_docs_46/constructors/userProfilePhoto.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: userProfilePhoto -description: userProfilePhoto attributes, type and example ---- -## Constructor: userProfilePhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo\_id|[long](../types/long.md) | Required| -|photo\_small|[FileLocation](../types/FileLocation.md) | Required| -|photo\_big|[FileLocation](../types/FileLocation.md) | Required| - - - -### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) - - -### Example: - -``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userProfilePhotoEmpty.md b/docs/API_docs_46/constructors/userProfilePhotoEmpty.md deleted file mode 100644 index 6a8b8eef..00000000 --- a/docs/API_docs_46/constructors/userProfilePhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userProfilePhotoEmpty -description: userProfilePhotoEmpty attributes, type and example ---- -## Constructor: userProfilePhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) - - -### Example: - -``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusEmpty.md b/docs/API_docs_46/constructors/userStatusEmpty.md deleted file mode 100644 index 72c8447e..00000000 --- a/docs/API_docs_46/constructors/userStatusEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusEmpty -description: userStatusEmpty attributes, type and example ---- -## Constructor: userStatusEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusLastMonth.md b/docs/API_docs_46/constructors/userStatusLastMonth.md deleted file mode 100644 index d7a4fd75..00000000 --- a/docs/API_docs_46/constructors/userStatusLastMonth.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusLastMonth -description: userStatusLastMonth attributes, type and example ---- -## Constructor: userStatusLastMonth -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusLastWeek.md b/docs/API_docs_46/constructors/userStatusLastWeek.md deleted file mode 100644 index 17fccace..00000000 --- a/docs/API_docs_46/constructors/userStatusLastWeek.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusLastWeek -description: userStatusLastWeek attributes, type and example ---- -## Constructor: userStatusLastWeek -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusOffline.md b/docs/API_docs_46/constructors/userStatusOffline.md deleted file mode 100644 index 7db5500a..00000000 --- a/docs/API_docs_46/constructors/userStatusOffline.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userStatusOffline -description: userStatusOffline attributes, type and example ---- -## Constructor: userStatusOffline -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|was\_online|[int](../types/int.md) | Required| - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusOnline.md b/docs/API_docs_46/constructors/userStatusOnline.md deleted file mode 100644 index f997b7f5..00000000 --- a/docs/API_docs_46/constructors/userStatusOnline.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userStatusOnline -description: userStatusOnline attributes, type and example ---- -## Constructor: userStatusOnline -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|expires|[int](../types/int.md) | Required| - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/userStatusRecently.md b/docs/API_docs_46/constructors/userStatusRecently.md deleted file mode 100644 index bdd98c65..00000000 --- a/docs/API_docs_46/constructors/userStatusRecently.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusRecently -description: userStatusRecently attributes, type and example ---- -## Constructor: userStatusRecently -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/video.md b/docs/API_docs_46/constructors/video.md deleted file mode 100644 index 204397c7..00000000 --- a/docs/API_docs_46/constructors/video.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: video -description: video attributes, type and example ---- -## Constructor: video -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|duration|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|size|[int](../types/int.md) | Required| -|thumb|[PhotoSize](../types/PhotoSize.md) | Required| -|dc\_id|[int](../types/int.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [Video](../types/Video.md) - - -### Example: - -``` -$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/videoEmpty.md b/docs/API_docs_46/constructors/videoEmpty.md deleted file mode 100644 index 325add86..00000000 --- a/docs/API_docs_46/constructors/videoEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: videoEmpty -description: videoEmpty attributes, type and example ---- -## Constructor: videoEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Video](../types/Video.md) - - -### Example: - -``` -$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/wallPaper.md b/docs/API_docs_46/constructors/wallPaper.md deleted file mode 100644 index f011ac93..00000000 --- a/docs/API_docs_46/constructors/wallPaper.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: wallPaper -description: wallPaper attributes, type and example ---- -## Constructor: wallPaper -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| -|color|[int](../types/int.md) | Required| - - - -### Type: [WallPaper](../types/WallPaper.md) - - -### Example: - -``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/wallPaperSolid.md b/docs/API_docs_46/constructors/wallPaperSolid.md deleted file mode 100644 index f7a9acbd..00000000 --- a/docs/API_docs_46/constructors/wallPaperSolid.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: wallPaperSolid -description: wallPaperSolid attributes, type and example ---- -## Constructor: wallPaperSolid -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|bg\_color|[int](../types/int.md) | Required| -|color|[int](../types/int.md) | Required| - - - -### Type: [WallPaper](../types/WallPaper.md) - - -### Example: - -``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/webPage.md b/docs/API_docs_46/constructors/webPage.md deleted file mode 100644 index 93e305bf..00000000 --- a/docs/API_docs_46/constructors/webPage.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: webPage -description: webPage attributes, type and example ---- -## Constructor: webPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|url|[string](../types/string.md) | Required| -|display\_url|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Optional| -|site\_name|[string](../types/string.md) | Optional| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|photo|[Photo](../types/Photo.md) | Optional| -|embed\_url|[string](../types/string.md) | Optional| -|embed\_type|[string](../types/string.md) | Optional| -|embed\_width|[int](../types/int.md) | Optional| -|embed\_height|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|author|[string](../types/string.md) | Optional| -|document|[Document](../types/Document.md) | Optional| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/webPageEmpty.md b/docs/API_docs_46/constructors/webPageEmpty.md deleted file mode 100644 index 096be721..00000000 --- a/docs/API_docs_46/constructors/webPageEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: webPageEmpty -description: webPageEmpty attributes, type and example ---- -## Constructor: webPageEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/constructors/webPagePending.md b/docs/API_docs_46/constructors/webPagePending.md deleted file mode 100644 index 49aa580d..00000000 --- a/docs/API_docs_46/constructors/webPagePending.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: webPagePending -description: webPagePending attributes, type and example ---- -## Constructor: webPagePending -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_46/index.md b/docs/API_docs_46/index.md deleted file mode 100644 index f2e1e5f8..00000000 --- a/docs/API_docs_46/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: MadelineProto API documentation (layer 46) -description: MadelineProto API documentation (layer 46) ---- -# MadelineProto API documentation (layer 46) - -[Methods](methods/) - -[Constructors](constructors/) - -[Types](types/) - - -[Back to main documentation](..) diff --git a/docs/API_docs_55/constructors/accountDaysTTL.md b/docs/API_docs_55/constructors/accountDaysTTL.md deleted file mode 100644 index 00a739f5..00000000 --- a/docs/API_docs_55/constructors/accountDaysTTL.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: accountDaysTTL -description: accountDaysTTL attributes, type and example ---- -## Constructor: accountDaysTTL -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|days|[int](../types/int.md) | Required| - - - -### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) - - -### Example: - -``` -$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_authorizations.md b/docs/API_docs_55/constructors/account_authorizations.md deleted file mode 100644 index 267ac6eb..00000000 --- a/docs/API_docs_55/constructors/account_authorizations.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: account_authorizations -description: account_authorizations attributes, type and example ---- -## Constructor: account\_authorizations -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|authorizations|Array of [Authorization](../types/Authorization.md) | Required| - - - -### Type: [account\_Authorizations](../types/account_Authorizations.md) - - -### Example: - -``` -$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_noPassword.md b/docs/API_docs_55/constructors/account_noPassword.md deleted file mode 100644 index 0c328fca..00000000 --- a/docs/API_docs_55/constructors/account_noPassword.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: account_noPassword -description: account_noPassword attributes, type and example ---- -## Constructor: account\_noPassword -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_salt|[bytes](../types/bytes.md) | Required| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -``` -$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_password.md b/docs/API_docs_55/constructors/account_password.md deleted file mode 100644 index 5cc9b168..00000000 --- a/docs/API_docs_55/constructors/account_password.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: account_password -description: account_password attributes, type and example ---- -## Constructor: account\_password -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|current\_salt|[bytes](../types/bytes.md) | Required| -|new\_salt|[bytes](../types/bytes.md) | Required| -|hint|[string](../types/string.md) | Required| -|has\_recovery|[Bool](../types/Bool.md) | Required| -|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| - - - -### Type: [account\_Password](../types/account_Password.md) - - -### Example: - -``` -$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_passwordInputSettings.md b/docs/API_docs_55/constructors/account_passwordInputSettings.md deleted file mode 100644 index 6a25eaf9..00000000 --- a/docs/API_docs_55/constructors/account_passwordInputSettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: account_passwordInputSettings -description: account_passwordInputSettings attributes, type and example ---- -## Constructor: account\_passwordInputSettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_salt|[bytes](../types/bytes.md) | Optional| -|new\_password\_hash|[bytes](../types/bytes.md) | Optional| -|hint|[string](../types/string.md) | Optional| -|email|[string](../types/string.md) | Optional| - - - -### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) - - -### Example: - -``` -$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_passwordSettings.md b/docs/API_docs_55/constructors/account_passwordSettings.md deleted file mode 100644 index 0971ad13..00000000 --- a/docs/API_docs_55/constructors/account_passwordSettings.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: account_passwordSettings -description: account_passwordSettings attributes, type and example ---- -## Constructor: account\_passwordSettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|email|[string](../types/string.md) | Required| - - - -### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) - - -### Example: - -``` -$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/account_privacyRules.md b/docs/API_docs_55/constructors/account_privacyRules.md deleted file mode 100644 index 16d82ecd..00000000 --- a/docs/API_docs_55/constructors/account_privacyRules.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: account_privacyRules -description: account_privacyRules attributes, type and example ---- -## Constructor: account\_privacyRules -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) - - -### Example: - -``` -$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_authorization.md b/docs/API_docs_55/constructors/auth_authorization.md deleted file mode 100644 index e27a2aef..00000000 --- a/docs/API_docs_55/constructors/auth_authorization.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_authorization -description: auth_authorization attributes, type and example ---- -## Constructor: auth\_authorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|tmp\_sessions|[int](../types/int.md) | Optional| -|user|[User](../types/User.md) | Required| - - - -### Type: [auth\_Authorization](../types/auth_Authorization.md) - - -### Example: - -``` -$auth_authorization = ['_' => 'auth_authorization', 'tmp_sessions' => int, 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_checkedPhone.md b/docs/API_docs_55/constructors/auth_checkedPhone.md deleted file mode 100644 index fb1c42c6..00000000 --- a/docs/API_docs_55/constructors/auth_checkedPhone.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_checkedPhone -description: auth_checkedPhone attributes, type and example ---- -## Constructor: auth\_checkedPhone -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_registered|[Bool](../types/Bool.md) | Required| - - - -### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) - - -### Example: - -``` -$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_codeTypeCall.md b/docs/API_docs_55/constructors/auth_codeTypeCall.md deleted file mode 100644 index f043790a..00000000 --- a/docs/API_docs_55/constructors/auth_codeTypeCall.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_codeTypeCall -description: auth_codeTypeCall attributes, type and example ---- -## Constructor: auth\_codeTypeCall -[Back to constructors index](index.md) - - - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -``` -$auth_codeTypeCall = ['_' => 'auth_codeTypeCall', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_codeTypeFlashCall.md b/docs/API_docs_55/constructors/auth_codeTypeFlashCall.md deleted file mode 100644 index 7cfd2903..00000000 --- a/docs/API_docs_55/constructors/auth_codeTypeFlashCall.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_codeTypeFlashCall -description: auth_codeTypeFlashCall attributes, type and example ---- -## Constructor: auth\_codeTypeFlashCall -[Back to constructors index](index.md) - - - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -``` -$auth_codeTypeFlashCall = ['_' => 'auth_codeTypeFlashCall', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_codeTypeSms.md b/docs/API_docs_55/constructors/auth_codeTypeSms.md deleted file mode 100644 index 3abecb43..00000000 --- a/docs/API_docs_55/constructors/auth_codeTypeSms.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: auth_codeTypeSms -description: auth_codeTypeSms attributes, type and example ---- -## Constructor: auth\_codeTypeSms -[Back to constructors index](index.md) - - - - - - -### Type: [auth\_CodeType](../types/auth_CodeType.md) - - -### Example: - -``` -$auth_codeTypeSms = ['_' => 'auth_codeTypeSms', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_exportedAuthorization.md b/docs/API_docs_55/constructors/auth_exportedAuthorization.md deleted file mode 100644 index e5d470c1..00000000 --- a/docs/API_docs_55/constructors/auth_exportedAuthorization.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: auth_exportedAuthorization -description: auth_exportedAuthorization attributes, type and example ---- -## Constructor: auth\_exportedAuthorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) - - -### Example: - -``` -$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_passwordRecovery.md b/docs/API_docs_55/constructors/auth_passwordRecovery.md deleted file mode 100644 index 69cf3a80..00000000 --- a/docs/API_docs_55/constructors/auth_passwordRecovery.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_passwordRecovery -description: auth_passwordRecovery attributes, type and example ---- -## Constructor: auth\_passwordRecovery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|email\_pattern|[string](../types/string.md) | Required| - - - -### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) - - -### Example: - -``` -$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_sentCode.md b/docs/API_docs_55/constructors/auth_sentCode.md deleted file mode 100644 index 8ee68276..00000000 --- a/docs/API_docs_55/constructors/auth_sentCode.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: auth_sentCode -description: auth_sentCode attributes, type and example ---- -## Constructor: auth\_sentCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_registered|[Bool](../types/Bool.md) | Optional| -|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Required| -|phone\_code\_hash|[string](../types/string.md) | Required| -|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional| -|timeout|[int](../types/int.md) | Optional| - - - -### Type: [auth\_SentCode](../types/auth_SentCode.md) - - -### Example: - -``` -$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_sentCodeTypeApp.md b/docs/API_docs_55/constructors/auth_sentCodeTypeApp.md deleted file mode 100644 index 5813497b..00000000 --- a/docs/API_docs_55/constructors/auth_sentCodeTypeApp.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_sentCodeTypeApp -description: auth_sentCodeTypeApp attributes, type and example ---- -## Constructor: auth\_sentCodeTypeApp -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|length|[int](../types/int.md) | Required| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -``` -$auth_sentCodeTypeApp = ['_' => 'auth_sentCodeTypeApp', 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_sentCodeTypeCall.md b/docs/API_docs_55/constructors/auth_sentCodeTypeCall.md deleted file mode 100644 index 91f706da..00000000 --- a/docs/API_docs_55/constructors/auth_sentCodeTypeCall.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_sentCodeTypeCall -description: auth_sentCodeTypeCall attributes, type and example ---- -## Constructor: auth\_sentCodeTypeCall -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|length|[int](../types/int.md) | Required| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -``` -$auth_sentCodeTypeCall = ['_' => 'auth_sentCodeTypeCall', 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_sentCodeTypeFlashCall.md b/docs/API_docs_55/constructors/auth_sentCodeTypeFlashCall.md deleted file mode 100644 index 3cb65680..00000000 --- a/docs/API_docs_55/constructors/auth_sentCodeTypeFlashCall.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_sentCodeTypeFlashCall -description: auth_sentCodeTypeFlashCall attributes, type and example ---- -## Constructor: auth\_sentCodeTypeFlashCall -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pattern|[string](../types/string.md) | Required| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -``` -$auth_sentCodeTypeFlashCall = ['_' => 'auth_sentCodeTypeFlashCall', 'pattern' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/auth_sentCodeTypeSms.md b/docs/API_docs_55/constructors/auth_sentCodeTypeSms.md deleted file mode 100644 index 565fc481..00000000 --- a/docs/API_docs_55/constructors/auth_sentCodeTypeSms.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: auth_sentCodeTypeSms -description: auth_sentCodeTypeSms attributes, type and example ---- -## Constructor: auth\_sentCodeTypeSms -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|length|[int](../types/int.md) | Required| - - - -### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) - - -### Example: - -``` -$auth_sentCodeTypeSms = ['_' => 'auth_sentCodeTypeSms', 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/authorization.md b/docs/API_docs_55/constructors/authorization.md deleted file mode 100644 index cc684ec3..00000000 --- a/docs/API_docs_55/constructors/authorization.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: authorization -description: authorization attributes, type and example ---- -## Constructor: authorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[long](../types/long.md) | Required| -|device\_model|[string](../types/string.md) | Required| -|platform|[string](../types/string.md) | Required| -|system\_version|[string](../types/string.md) | Required| -|api\_id|[int](../types/int.md) | Required| -|app\_name|[string](../types/string.md) | Required| -|app\_version|[string](../types/string.md) | Required| -|date\_created|[int](../types/int.md) | Required| -|date\_active|[int](../types/int.md) | Required| -|ip|[string](../types/string.md) | Required| -|country|[string](../types/string.md) | Required| -|region|[string](../types/string.md) | Required| - - - -### Type: [Authorization](../types/Authorization.md) - - -### Example: - -``` -$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botCommand.md b/docs/API_docs_55/constructors/botCommand.md deleted file mode 100644 index 1a2090ac..00000000 --- a/docs/API_docs_55/constructors/botCommand.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: botCommand -description: botCommand attributes, type and example ---- -## Constructor: botCommand -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|command|[string](../types/string.md) | Required| -|description|[string](../types/string.md) | Required| - - - -### Type: [BotCommand](../types/BotCommand.md) - - -### Example: - -``` -$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInfo.md b/docs/API_docs_55/constructors/botInfo.md deleted file mode 100644 index d7dc92d6..00000000 --- a/docs/API_docs_55/constructors/botInfo.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: botInfo -description: botInfo attributes, type and example ---- -## Constructor: botInfo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|description|[string](../types/string.md) | Required| -|commands|Array of [BotCommand](../types/BotCommand.md) | Required| - - - -### Type: [BotInfo](../types/BotInfo.md) - - -### Example: - -``` -$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMediaResult.md b/docs/API_docs_55/constructors/botInlineMediaResult.md deleted file mode 100644 index ee6d98df..00000000 --- a/docs/API_docs_55/constructors/botInlineMediaResult.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: botInlineMediaResult -description: botInlineMediaResult attributes, type and example ---- -## Constructor: botInlineMediaResult -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|photo|[Photo](../types/Photo.md) | Optional| -|document|[Document](../types/Document.md) | Optional| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| - - - -### Type: [BotInlineResult](../types/BotInlineResult.md) - - -### Example: - -``` -$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMessageMediaAuto.md b/docs/API_docs_55/constructors/botInlineMessageMediaAuto.md deleted file mode 100644 index 410654bb..00000000 --- a/docs/API_docs_55/constructors/botInlineMessageMediaAuto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: botInlineMessageMediaAuto -description: botInlineMessageMediaAuto attributes, type and example ---- -## Constructor: botInlineMessageMediaAuto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|caption|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMessageMediaContact.md b/docs/API_docs_55/constructors/botInlineMessageMediaContact.md deleted file mode 100644 index 2377dc8e..00000000 --- a/docs/API_docs_55/constructors/botInlineMessageMediaContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: botInlineMessageMediaContact -description: botInlineMessageMediaContact attributes, type and example ---- -## Constructor: botInlineMessageMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMessageMediaGeo.md b/docs/API_docs_55/constructors/botInlineMessageMediaGeo.md deleted file mode 100644 index 59718b34..00000000 --- a/docs/API_docs_55/constructors/botInlineMessageMediaGeo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: botInlineMessageMediaGeo -description: botInlineMessageMediaGeo attributes, type and example ---- -## Constructor: botInlineMessageMediaGeo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMessageMediaVenue.md b/docs/API_docs_55/constructors/botInlineMessageMediaVenue.md deleted file mode 100644 index c0a5331e..00000000 --- a/docs/API_docs_55/constructors/botInlineMessageMediaVenue.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: botInlineMessageMediaVenue -description: botInlineMessageMediaVenue attributes, type and example ---- -## Constructor: botInlineMessageMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineMessageText.md b/docs/API_docs_55/constructors/botInlineMessageText.md deleted file mode 100644 index 2ec7dce6..00000000 --- a/docs/API_docs_55/constructors/botInlineMessageText.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: botInlineMessageText -description: botInlineMessageText attributes, type and example ---- -## Constructor: botInlineMessageText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|no\_webpage|[Bool](../types/Bool.md) | Optional| -|message|[string](../types/string.md) | Required| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [BotInlineMessage](../types/BotInlineMessage.md) - - -### Example: - -``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/botInlineResult.md b/docs/API_docs_55/constructors/botInlineResult.md deleted file mode 100644 index efcbaed3..00000000 --- a/docs/API_docs_55/constructors/botInlineResult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: botInlineResult -description: botInlineResult attributes, type and example ---- -## Constructor: botInlineResult -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|url|[string](../types/string.md) | Optional| -|thumb\_url|[string](../types/string.md) | Optional| -|content\_url|[string](../types/string.md) | Optional| -|content\_type|[string](../types/string.md) | Optional| -|w|[int](../types/int.md) | Optional| -|h|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| - - - -### Type: [BotInlineResult](../types/BotInlineResult.md) - - -### Example: - -``` -$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channel.md b/docs/API_docs_55/constructors/channel.md deleted file mode 100644 index 1b3dca76..00000000 --- a/docs/API_docs_55/constructors/channel.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: channel -description: channel attributes, type and example ---- -## Constructor: channel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|creator|[Bool](../types/Bool.md) | Optional| -|kicked|[Bool](../types/Bool.md) | Optional| -|left|[Bool](../types/Bool.md) | Optional| -|editor|[Bool](../types/Bool.md) | Optional| -|moderator|[Bool](../types/Bool.md) | Optional| -|broadcast|[Bool](../types/Bool.md) | Optional| -|verified|[Bool](../types/Bool.md) | Optional| -|megagroup|[Bool](../types/Bool.md) | Optional| -|restricted|[Bool](../types/Bool.md) | Optional| -|democracy|[Bool](../types/Bool.md) | Optional| -|signatures|[Bool](../types/Bool.md) | Optional| -|min|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Optional| -|title|[string](../types/string.md) | Required| -|username|[string](../types/string.md) | Optional| -|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|restriction\_reason|[string](../types/string.md) | Optional| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelForbidden.md b/docs/API_docs_55/constructors/channelForbidden.md deleted file mode 100644 index 2ce1f9ad..00000000 --- a/docs/API_docs_55/constructors/channelForbidden.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: channelForbidden -description: channelForbidden attributes, type and example ---- -## Constructor: channelForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|broadcast|[Bool](../types/Bool.md) | Optional| -|megagroup|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|title|[string](../types/string.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelFull.md b/docs/API_docs_55/constructors/channelFull.md deleted file mode 100644 index b3bfd0ef..00000000 --- a/docs/API_docs_55/constructors/channelFull.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: channelFull -description: channelFull attributes, type and example ---- -## Constructor: channelFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|can\_view\_participants|[Bool](../types/Bool.md) | Optional| -|can\_set\_username|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|about|[string](../types/string.md) | Required| -|participants\_count|[int](../types/int.md) | Optional| -|admins\_count|[int](../types/int.md) | Optional| -|kicked\_count|[int](../types/int.md) | Optional| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|read\_outbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|chat\_photo|[Photo](../types/Photo.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| -|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| -|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| -|migrated\_from\_max\_id|[int](../types/int.md) | Optional| -|pinned\_msg\_id|[int](../types/int.md) | Optional| - - - -### Type: [ChatFull](../types/ChatFull.md) - - -### Example: - -``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelMessagesFilter.md b/docs/API_docs_55/constructors/channelMessagesFilter.md deleted file mode 100644 index 7ea6ad1c..00000000 --- a/docs/API_docs_55/constructors/channelMessagesFilter.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: channelMessagesFilter -description: channelMessagesFilter attributes, type and example ---- -## Constructor: channelMessagesFilter -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| -|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| - - - -### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) - - -### Example: - -``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelMessagesFilterEmpty.md b/docs/API_docs_55/constructors/channelMessagesFilterEmpty.md deleted file mode 100644 index 1d272f96..00000000 --- a/docs/API_docs_55/constructors/channelMessagesFilterEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelMessagesFilterEmpty -description: channelMessagesFilterEmpty attributes, type and example ---- -## Constructor: channelMessagesFilterEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) - - -### Example: - -``` -$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipant.md b/docs/API_docs_55/constructors/channelParticipant.md deleted file mode 100644 index d9e2ee86..00000000 --- a/docs/API_docs_55/constructors/channelParticipant.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: channelParticipant -description: channelParticipant attributes, type and example ---- -## Constructor: channelParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantCreator.md b/docs/API_docs_55/constructors/channelParticipantCreator.md deleted file mode 100644 index 1164dc11..00000000 --- a/docs/API_docs_55/constructors/channelParticipantCreator.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: channelParticipantCreator -description: channelParticipantCreator attributes, type and example ---- -## Constructor: channelParticipantCreator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantEditor.md b/docs/API_docs_55/constructors/channelParticipantEditor.md deleted file mode 100644 index 2d649491..00000000 --- a/docs/API_docs_55/constructors/channelParticipantEditor.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantEditor -description: channelParticipantEditor attributes, type and example ---- -## Constructor: channelParticipantEditor -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantKicked.md b/docs/API_docs_55/constructors/channelParticipantKicked.md deleted file mode 100644 index ce90ce21..00000000 --- a/docs/API_docs_55/constructors/channelParticipantKicked.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantKicked -description: channelParticipantKicked attributes, type and example ---- -## Constructor: channelParticipantKicked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|kicked\_by|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantModerator.md b/docs/API_docs_55/constructors/channelParticipantModerator.md deleted file mode 100644 index 167e9345..00000000 --- a/docs/API_docs_55/constructors/channelParticipantModerator.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantModerator -description: channelParticipantModerator attributes, type and example ---- -## Constructor: channelParticipantModerator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantSelf.md b/docs/API_docs_55/constructors/channelParticipantSelf.md deleted file mode 100644 index effad581..00000000 --- a/docs/API_docs_55/constructors/channelParticipantSelf.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channelParticipantSelf -description: channelParticipantSelf attributes, type and example ---- -## Constructor: channelParticipantSelf -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChannelParticipant](../types/ChannelParticipant.md) - - -### Example: - -``` -$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantsAdmins.md b/docs/API_docs_55/constructors/channelParticipantsAdmins.md deleted file mode 100644 index 995e1fce..00000000 --- a/docs/API_docs_55/constructors/channelParticipantsAdmins.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsAdmins -description: channelParticipantsAdmins attributes, type and example ---- -## Constructor: channelParticipantsAdmins -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantsBots.md b/docs/API_docs_55/constructors/channelParticipantsBots.md deleted file mode 100644 index 83b4152b..00000000 --- a/docs/API_docs_55/constructors/channelParticipantsBots.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsBots -description: channelParticipantsBots attributes, type and example ---- -## Constructor: channelParticipantsBots -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantsKicked.md b/docs/API_docs_55/constructors/channelParticipantsKicked.md deleted file mode 100644 index aeb52022..00000000 --- a/docs/API_docs_55/constructors/channelParticipantsKicked.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsKicked -description: channelParticipantsKicked attributes, type and example ---- -## Constructor: channelParticipantsKicked -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelParticipantsRecent.md b/docs/API_docs_55/constructors/channelParticipantsRecent.md deleted file mode 100644 index 8bd3f274..00000000 --- a/docs/API_docs_55/constructors/channelParticipantsRecent.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelParticipantsRecent -description: channelParticipantsRecent attributes, type and example ---- -## Constructor: channelParticipantsRecent -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) - - -### Example: - -``` -$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelRoleEditor.md b/docs/API_docs_55/constructors/channelRoleEditor.md deleted file mode 100644 index 380d63b0..00000000 --- a/docs/API_docs_55/constructors/channelRoleEditor.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleEditor -description: channelRoleEditor attributes, type and example ---- -## Constructor: channelRoleEditor -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleEditor = ['_' => 'channelRoleEditor', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelRoleEmpty.md b/docs/API_docs_55/constructors/channelRoleEmpty.md deleted file mode 100644 index 7f4c1346..00000000 --- a/docs/API_docs_55/constructors/channelRoleEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleEmpty -description: channelRoleEmpty attributes, type and example ---- -## Constructor: channelRoleEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channelRoleModerator.md b/docs/API_docs_55/constructors/channelRoleModerator.md deleted file mode 100644 index 706e9483..00000000 --- a/docs/API_docs_55/constructors/channelRoleModerator.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: channelRoleModerator -description: channelRoleModerator attributes, type and example ---- -## Constructor: channelRoleModerator -[Back to constructors index](index.md) - - - - - - -### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) - - -### Example: - -``` -$channelRoleModerator = ['_' => 'channelRoleModerator', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channels_channelParticipant.md b/docs/API_docs_55/constructors/channels_channelParticipant.md deleted file mode 100644 index f5e5212b..00000000 --- a/docs/API_docs_55/constructors/channels_channelParticipant.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: channels_channelParticipant -description: channels_channelParticipant attributes, type and example ---- -## Constructor: channels\_channelParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) - - -### Example: - -``` -$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/channels_channelParticipants.md b/docs/API_docs_55/constructors/channels_channelParticipants.md deleted file mode 100644 index 178521ff..00000000 --- a/docs/API_docs_55/constructors/channels_channelParticipants.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: channels_channelParticipants -description: channels_channelParticipants attributes, type and example ---- -## Constructor: channels\_channelParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) - - -### Example: - -``` -$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chat.md b/docs/API_docs_55/constructors/chat.md deleted file mode 100644 index e840792e..00000000 --- a/docs/API_docs_55/constructors/chat.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: chat -description: chat attributes, type and example ---- -## Constructor: chat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|creator|[Bool](../types/Bool.md) | Optional| -|kicked|[Bool](../types/Bool.md) | Optional| -|left|[Bool](../types/Bool.md) | Optional| -|admins\_enabled|[Bool](../types/Bool.md) | Optional| -|admin|[Bool](../types/Bool.md) | Optional| -|deactivated|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| -|participants\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatEmpty.md b/docs/API_docs_55/constructors/chatEmpty.md deleted file mode 100644 index be037a3d..00000000 --- a/docs/API_docs_55/constructors/chatEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatEmpty -description: chatEmpty attributes, type and example ---- -## Constructor: chatEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatForbidden.md b/docs/API_docs_55/constructors/chatForbidden.md deleted file mode 100644 index d4672339..00000000 --- a/docs/API_docs_55/constructors/chatForbidden.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatForbidden -description: chatForbidden attributes, type and example ---- -## Constructor: chatForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| - - - -### Type: [Chat](../types/Chat.md) - - -### Example: - -``` -$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatFull.md b/docs/API_docs_55/constructors/chatFull.md deleted file mode 100644 index d28e14e5..00000000 --- a/docs/API_docs_55/constructors/chatFull.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: chatFull -description: chatFull attributes, type and example ---- -## Constructor: chatFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| -|chat\_photo|[Photo](../types/Photo.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| -|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| - - - -### Type: [ChatFull](../types/ChatFull.md) - - -### Example: - -``` -$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatInvite.md b/docs/API_docs_55/constructors/chatInvite.md deleted file mode 100644 index c0e8a2ab..00000000 --- a/docs/API_docs_55/constructors/chatInvite.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: chatInvite -description: chatInvite attributes, type and example ---- -## Constructor: chatInvite -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel|[Bool](../types/Bool.md) | Optional| -|broadcast|[Bool](../types/Bool.md) | Optional| -|public|[Bool](../types/Bool.md) | Optional| -|megagroup|[Bool](../types/Bool.md) | Optional| -|title|[string](../types/string.md) | Required| -|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| -|participants\_count|[int](../types/int.md) | Required| -|participants|Array of [User](../types/User.md) | Optional| - - - -### Type: [ChatInvite](../types/ChatInvite.md) - - -### Example: - -``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatInviteAlready.md b/docs/API_docs_55/constructors/chatInviteAlready.md deleted file mode 100644 index 26a55a14..00000000 --- a/docs/API_docs_55/constructors/chatInviteAlready.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatInviteAlready -description: chatInviteAlready attributes, type and example ---- -## Constructor: chatInviteAlready -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat|[Chat](../types/Chat.md) | Required| - - - -### Type: [ChatInvite](../types/ChatInvite.md) - - -### Example: - -``` -$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatInviteEmpty.md b/docs/API_docs_55/constructors/chatInviteEmpty.md deleted file mode 100644 index e7bfcce4..00000000 --- a/docs/API_docs_55/constructors/chatInviteEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: chatInviteEmpty -description: chatInviteEmpty attributes, type and example ---- -## Constructor: chatInviteEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) - - -### Example: - -``` -$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatInviteExported.md b/docs/API_docs_55/constructors/chatInviteExported.md deleted file mode 100644 index 7446f90c..00000000 --- a/docs/API_docs_55/constructors/chatInviteExported.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatInviteExported -description: chatInviteExported attributes, type and example ---- -## Constructor: chatInviteExported -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|link|[string](../types/string.md) | Required| - - - -### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) - - -### Example: - -``` -$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatParticipant.md b/docs/API_docs_55/constructors/chatParticipant.md deleted file mode 100644 index f11a7929..00000000 --- a/docs/API_docs_55/constructors/chatParticipant.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipant -description: chatParticipant attributes, type and example ---- -## Constructor: chatParticipant -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatParticipantAdmin.md b/docs/API_docs_55/constructors/chatParticipantAdmin.md deleted file mode 100644 index 5864cb5c..00000000 --- a/docs/API_docs_55/constructors/chatParticipantAdmin.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipantAdmin -description: chatParticipantAdmin attributes, type and example ---- -## Constructor: chatParticipantAdmin -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatParticipantCreator.md b/docs/API_docs_55/constructors/chatParticipantCreator.md deleted file mode 100644 index 82862ec7..00000000 --- a/docs/API_docs_55/constructors/chatParticipantCreator.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: chatParticipantCreator -description: chatParticipantCreator attributes, type and example ---- -## Constructor: chatParticipantCreator -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipant](../types/ChatParticipant.md) - - -### Example: - -``` -$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatParticipants.md b/docs/API_docs_55/constructors/chatParticipants.md deleted file mode 100644 index 84732ae7..00000000 --- a/docs/API_docs_55/constructors/chatParticipants.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: chatParticipants -description: chatParticipants attributes, type and example ---- -## Constructor: chatParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [ChatParticipants](../types/ChatParticipants.md) - - -### Example: - -``` -$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatParticipantsForbidden.md b/docs/API_docs_55/constructors/chatParticipantsForbidden.md deleted file mode 100644 index 8863cc6a..00000000 --- a/docs/API_docs_55/constructors/chatParticipantsForbidden.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatParticipantsForbidden -description: chatParticipantsForbidden attributes, type and example ---- -## Constructor: chatParticipantsForbidden -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| - - - -### Type: [ChatParticipants](../types/ChatParticipants.md) - - -### Example: - -``` -$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatPhoto.md b/docs/API_docs_55/constructors/chatPhoto.md deleted file mode 100644 index e47114e1..00000000 --- a/docs/API_docs_55/constructors/chatPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: chatPhoto -description: chatPhoto attributes, type and example ---- -## Constructor: chatPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo\_small|[FileLocation](../types/FileLocation.md) | Required| -|photo\_big|[FileLocation](../types/FileLocation.md) | Required| - - - -### Type: [ChatPhoto](../types/ChatPhoto.md) - - -### Example: - -``` -$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/chatPhotoEmpty.md b/docs/API_docs_55/constructors/chatPhotoEmpty.md deleted file mode 100644 index 51e31432..00000000 --- a/docs/API_docs_55/constructors/chatPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: chatPhotoEmpty -description: chatPhotoEmpty attributes, type and example ---- -## Constructor: chatPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [ChatPhoto](../types/ChatPhoto.md) - - -### Example: - -``` -$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/config.md b/docs/API_docs_55/constructors/config.md deleted file mode 100644 index 93ebca7c..00000000 --- a/docs/API_docs_55/constructors/config.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: config -description: config attributes, type and example ---- -## Constructor: config -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|expires|[int](../types/int.md) | Required| -|test\_mode|[Bool](../types/Bool.md) | Required| -|this\_dc|[int](../types/int.md) | Required| -|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| -|chat\_size\_max|[int](../types/int.md) | Required| -|megagroup\_size\_max|[int](../types/int.md) | Required| -|forwarded\_count\_max|[int](../types/int.md) | Required| -|online\_update\_period\_ms|[int](../types/int.md) | Required| -|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| -|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| -|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| -|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| -|notify\_default\_delay\_ms|[int](../types/int.md) | Required| -|chat\_big\_size|[int](../types/int.md) | Required| -|push\_chat\_period\_ms|[int](../types/int.md) | Required| -|push\_chat\_limit|[int](../types/int.md) | Required| -|saved\_gifs\_limit|[int](../types/int.md) | Required| -|edit\_time\_limit|[int](../types/int.md) | Required| -|rating\_e\_decay|[int](../types/int.md) | Required| -|stickers\_recent\_limit|[int](../types/int.md) | Required| -|tmp\_sessions|[int](../types/int.md) | Optional| -|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| - - - -### Type: [Config](../types/Config.md) - - -### Example: - -``` -$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contact.md b/docs/API_docs_55/constructors/contact.md deleted file mode 100644 index c11a8eb5..00000000 --- a/docs/API_docs_55/constructors/contact.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contact -description: contact attributes, type and example ---- -## Constructor: contact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|mutual|[Bool](../types/Bool.md) | Required| - - - -### Type: [Contact](../types/Contact.md) - - -### Example: - -``` -$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactBlocked.md b/docs/API_docs_55/constructors/contactBlocked.md deleted file mode 100644 index ded92b90..00000000 --- a/docs/API_docs_55/constructors/contactBlocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contactBlocked -description: contactBlocked attributes, type and example ---- -## Constructor: contactBlocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [ContactBlocked](../types/ContactBlocked.md) - - -### Example: - -``` -$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactLinkContact.md b/docs/API_docs_55/constructors/contactLinkContact.md deleted file mode 100644 index ff4733dd..00000000 --- a/docs/API_docs_55/constructors/contactLinkContact.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkContact -description: contactLinkContact attributes, type and example ---- -## Constructor: contactLinkContact -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkContact = ['_' => 'contactLinkContact', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactLinkHasPhone.md b/docs/API_docs_55/constructors/contactLinkHasPhone.md deleted file mode 100644 index 84b2acf9..00000000 --- a/docs/API_docs_55/constructors/contactLinkHasPhone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkHasPhone -description: contactLinkHasPhone attributes, type and example ---- -## Constructor: contactLinkHasPhone -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactLinkNone.md b/docs/API_docs_55/constructors/contactLinkNone.md deleted file mode 100644 index 439416aa..00000000 --- a/docs/API_docs_55/constructors/contactLinkNone.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkNone -description: contactLinkNone attributes, type and example ---- -## Constructor: contactLinkNone -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkNone = ['_' => 'contactLinkNone', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactLinkUnknown.md b/docs/API_docs_55/constructors/contactLinkUnknown.md deleted file mode 100644 index d7dcbf79..00000000 --- a/docs/API_docs_55/constructors/contactLinkUnknown.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contactLinkUnknown -description: contactLinkUnknown attributes, type and example ---- -## Constructor: contactLinkUnknown -[Back to constructors index](index.md) - - - - - - -### Type: [ContactLink](../types/ContactLink.md) - - -### Example: - -``` -$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contactStatus.md b/docs/API_docs_55/constructors/contactStatus.md deleted file mode 100644 index 6bca93e2..00000000 --- a/docs/API_docs_55/constructors/contactStatus.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contactStatus -description: contactStatus attributes, type and example ---- -## Constructor: contactStatus -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|status|[UserStatus](../types/UserStatus.md) | Required| - - - -### Type: [ContactStatus](../types/ContactStatus.md) - - -### Example: - -``` -$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_blocked.md b/docs/API_docs_55/constructors/contacts_blocked.md deleted file mode 100644 index 7c6e4993..00000000 --- a/docs/API_docs_55/constructors/contacts_blocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_blocked -description: contacts_blocked attributes, type and example ---- -## Constructor: contacts\_blocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -``` -$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_blockedSlice.md b/docs/API_docs_55/constructors/contacts_blockedSlice.md deleted file mode 100644 index 108130f4..00000000 --- a/docs/API_docs_55/constructors/contacts_blockedSlice.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_blockedSlice -description: contacts_blockedSlice attributes, type and example ---- -## Constructor: contacts\_blockedSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Blocked](../types/contacts_Blocked.md) - - -### Example: - -``` -$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_contacts.md b/docs/API_docs_55/constructors/contacts_contacts.md deleted file mode 100644 index 41abfa44..00000000 --- a/docs/API_docs_55/constructors/contacts_contacts.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: contacts_contacts -description: contacts_contacts attributes, type and example ---- -## Constructor: contacts\_contacts -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|contacts|Array of [Contact](../types/Contact.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -``` -$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_contactsNotModified.md b/docs/API_docs_55/constructors/contacts_contactsNotModified.md deleted file mode 100644 index b8af62af..00000000 --- a/docs/API_docs_55/constructors/contacts_contactsNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contacts_contactsNotModified -description: contacts_contactsNotModified attributes, type and example ---- -## Constructor: contacts\_contactsNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [contacts\_Contacts](../types/contacts_Contacts.md) - - -### Example: - -``` -$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_found.md b/docs/API_docs_55/constructors/contacts_found.md deleted file mode 100644 index 80ace315..00000000 --- a/docs/API_docs_55/constructors/contacts_found.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_found -description: contacts_found attributes, type and example ---- -## Constructor: contacts\_found -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|results|Array of [Peer](../types/Peer.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_Found](../types/contacts_Found.md) - - -### Example: - -``` -$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_importedContacts.md b/docs/API_docs_55/constructors/contacts_importedContacts.md deleted file mode 100644 index c491d5e7..00000000 --- a/docs/API_docs_55/constructors/contacts_importedContacts.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_importedContacts -description: contacts_importedContacts attributes, type and example ---- -## Constructor: contacts\_importedContacts -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| -|retry\_contacts|Array of [long](../types/long.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) - - -### Example: - -``` -$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_link.md b/docs/API_docs_55/constructors/contacts_link.md deleted file mode 100644 index 3573e7bd..00000000 --- a/docs/API_docs_55/constructors/contacts_link.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_link -description: contacts_link attributes, type and example ---- -## Constructor: contacts\_link -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|my\_link|[ContactLink](../types/ContactLink.md) | Required| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| -|user|[User](../types/User.md) | Required| - - - -### Type: [contacts\_Link](../types/contacts_Link.md) - - -### Example: - -``` -$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_resolvedPeer.md b/docs/API_docs_55/constructors/contacts_resolvedPeer.md deleted file mode 100644 index 8e2482dd..00000000 --- a/docs/API_docs_55/constructors/contacts_resolvedPeer.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_resolvedPeer -description: contacts_resolvedPeer attributes, type and example ---- -## Constructor: contacts\_resolvedPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) - - -### Example: - -``` -$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_topPeers.md b/docs/API_docs_55/constructors/contacts_topPeers.md deleted file mode 100644 index 3ec10cfe..00000000 --- a/docs/API_docs_55/constructors/contacts_topPeers.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: contacts_topPeers -description: contacts_topPeers attributes, type and example ---- -## Constructor: contacts\_topPeers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -``` -$contacts_topPeers = ['_' => 'contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/contacts_topPeersNotModified.md b/docs/API_docs_55/constructors/contacts_topPeersNotModified.md deleted file mode 100644 index 3ab80ae0..00000000 --- a/docs/API_docs_55/constructors/contacts_topPeersNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: contacts_topPeersNotModified -description: contacts_topPeersNotModified attributes, type and example ---- -## Constructor: contacts\_topPeersNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) - - -### Example: - -``` -$contacts_topPeersNotModified = ['_' => 'contacts_topPeersNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/dcOption.md b/docs/API_docs_55/constructors/dcOption.md deleted file mode 100644 index 51328dfb..00000000 --- a/docs/API_docs_55/constructors/dcOption.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: dcOption -description: dcOption attributes, type and example ---- -## Constructor: dcOption -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|ipv6|[Bool](../types/Bool.md) | Optional| -|media\_only|[Bool](../types/Bool.md) | Optional| -|tcpo\_only|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|ip\_address|[string](../types/string.md) | Required| -|port|[int](../types/int.md) | Required| - - - -### Type: [DcOption](../types/DcOption.md) - - -### Example: - -``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/dialog.md b/docs/API_docs_55/constructors/dialog.md deleted file mode 100644 index 5a84e010..00000000 --- a/docs/API_docs_55/constructors/dialog.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: dialog -description: dialog attributes, type and example ---- -## Constructor: dialog -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|top\_message|[int](../types/int.md) | Required| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|read\_outbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|pts|[int](../types/int.md) | Optional| -|draft|[DraftMessage](../types/DraftMessage.md) | Optional| - - - -### Type: [Dialog](../types/Dialog.md) - - -### Example: - -``` -$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/disabledFeature.md b/docs/API_docs_55/constructors/disabledFeature.md deleted file mode 100644 index 5d3c6d19..00000000 --- a/docs/API_docs_55/constructors/disabledFeature.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: disabledFeature -description: disabledFeature attributes, type and example ---- -## Constructor: disabledFeature -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|feature|[string](../types/string.md) | Required| -|description|[string](../types/string.md) | Required| - - - -### Type: [DisabledFeature](../types/DisabledFeature.md) - - -### Example: - -``` -$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/document.md b/docs/API_docs_55/constructors/document.md deleted file mode 100644 index 222c406c..00000000 --- a/docs/API_docs_55/constructors/document.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: document -description: document attributes, type and example ---- -## Constructor: document -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|size|[int](../types/int.md) | Required| -|thumb|[PhotoSize](../types/PhotoSize.md) | Required| -|dc\_id|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| - - - -### Type: [Document](../types/Document.md) - - -### Example: - -``` -$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeAnimated.md b/docs/API_docs_55/constructors/documentAttributeAnimated.md deleted file mode 100644 index 0d2bb9bb..00000000 --- a/docs/API_docs_55/constructors/documentAttributeAnimated.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: documentAttributeAnimated -description: documentAttributeAnimated attributes, type and example ---- -## Constructor: documentAttributeAnimated -[Back to constructors index](index.md) - - - - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeAudio.md b/docs/API_docs_55/constructors/documentAttributeAudio.md deleted file mode 100644 index 27706e4b..00000000 --- a/docs/API_docs_55/constructors/documentAttributeAudio.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: documentAttributeAudio -description: documentAttributeAudio attributes, type and example ---- -## Constructor: documentAttributeAudio -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|voice|[Bool](../types/Bool.md) | Optional| -|duration|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Optional| -|performer|[string](../types/string.md) | Optional| -|waveform|[bytes](../types/bytes.md) | Optional| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeFilename.md b/docs/API_docs_55/constructors/documentAttributeFilename.md deleted file mode 100644 index ff73a651..00000000 --- a/docs/API_docs_55/constructors/documentAttributeFilename.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: documentAttributeFilename -description: documentAttributeFilename attributes, type and example ---- -## Constructor: documentAttributeFilename -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file\_name|[string](../types/string.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeImageSize.md b/docs/API_docs_55/constructors/documentAttributeImageSize.md deleted file mode 100644 index f783f76d..00000000 --- a/docs/API_docs_55/constructors/documentAttributeImageSize.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: documentAttributeImageSize -description: documentAttributeImageSize attributes, type and example ---- -## Constructor: documentAttributeImageSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeSticker.md b/docs/API_docs_55/constructors/documentAttributeSticker.md deleted file mode 100644 index dadd5103..00000000 --- a/docs/API_docs_55/constructors/documentAttributeSticker.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: documentAttributeSticker -description: documentAttributeSticker attributes, type and example ---- -## Constructor: documentAttributeSticker -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|alt|[string](../types/string.md) | Required| -|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentAttributeVideo.md b/docs/API_docs_55/constructors/documentAttributeVideo.md deleted file mode 100644 index 32bba12f..00000000 --- a/docs/API_docs_55/constructors/documentAttributeVideo.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: documentAttributeVideo -description: documentAttributeVideo attributes, type and example ---- -## Constructor: documentAttributeVideo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|duration|[int](../types/int.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [DocumentAttribute](../types/DocumentAttribute.md) - - -### Example: - -``` -$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/documentEmpty.md b/docs/API_docs_55/constructors/documentEmpty.md deleted file mode 100644 index 5e6415ed..00000000 --- a/docs/API_docs_55/constructors/documentEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: documentEmpty -description: documentEmpty attributes, type and example ---- -## Constructor: documentEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Document](../types/Document.md) - - -### Example: - -``` -$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/draftMessage.md b/docs/API_docs_55/constructors/draftMessage.md deleted file mode 100644 index 2b43da02..00000000 --- a/docs/API_docs_55/constructors/draftMessage.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: draftMessage -description: draftMessage attributes, type and example ---- -## Constructor: draftMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|no\_webpage|[Bool](../types/Bool.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|message|[string](../types/string.md) | Required| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| -|date|[int](../types/int.md) | Required| - - - -### Type: [DraftMessage](../types/DraftMessage.md) - - -### Example: - -``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [Vector t], 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/draftMessageEmpty.md b/docs/API_docs_55/constructors/draftMessageEmpty.md deleted file mode 100644 index 9ae73574..00000000 --- a/docs/API_docs_55/constructors/draftMessageEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: draftMessageEmpty -description: draftMessageEmpty attributes, type and example ---- -## Constructor: draftMessageEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [DraftMessage](../types/DraftMessage.md) - - -### Example: - -``` -$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedChat.md b/docs/API_docs_55/constructors/encryptedChat.md deleted file mode 100644 index 6a1e9454..00000000 --- a/docs/API_docs_55/constructors/encryptedChat.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: encryptedChat -description: encryptedChat attributes, type and example ---- -## Constructor: encryptedChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| -|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| -|key\_fingerprint|[long](../types/long.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedChatDiscarded.md b/docs/API_docs_55/constructors/encryptedChatDiscarded.md deleted file mode 100644 index 6fb93755..00000000 --- a/docs/API_docs_55/constructors/encryptedChatDiscarded.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: encryptedChatDiscarded -description: encryptedChatDiscarded attributes, type and example ---- -## Constructor: encryptedChatDiscarded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedChatEmpty.md b/docs/API_docs_55/constructors/encryptedChatEmpty.md deleted file mode 100644 index 45994b87..00000000 --- a/docs/API_docs_55/constructors/encryptedChatEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: encryptedChatEmpty -description: encryptedChatEmpty attributes, type and example ---- -## Constructor: encryptedChatEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedChatRequested.md b/docs/API_docs_55/constructors/encryptedChatRequested.md deleted file mode 100644 index 9f1e4b17..00000000 --- a/docs/API_docs_55/constructors/encryptedChatRequested.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: encryptedChatRequested -description: encryptedChatRequested attributes, type and example ---- -## Constructor: encryptedChatRequested -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| -|g\_a|[bytes](../types/bytes.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedChatWaiting.md b/docs/API_docs_55/constructors/encryptedChatWaiting.md deleted file mode 100644 index 4e679df8..00000000 --- a/docs/API_docs_55/constructors/encryptedChatWaiting.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: encryptedChatWaiting -description: encryptedChatWaiting attributes, type and example ---- -## Constructor: encryptedChatWaiting -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|admin\_id|[int](../types/int.md) | Required| -|participant\_id|[int](../types/int.md) | Required| - - - -### Type: [EncryptedChat](../types/EncryptedChat.md) - - -### Example: - -``` -$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedFile.md b/docs/API_docs_55/constructors/encryptedFile.md deleted file mode 100644 index aacddbc2..00000000 --- a/docs/API_docs_55/constructors/encryptedFile.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: encryptedFile -description: encryptedFile attributes, type and example ---- -## Constructor: encryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|size|[int](../types/int.md) | Required| -|dc\_id|[int](../types/int.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [EncryptedFile](../types/EncryptedFile.md) - - -### Example: - -``` -$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedFileEmpty.md b/docs/API_docs_55/constructors/encryptedFileEmpty.md deleted file mode 100644 index 9633ef93..00000000 --- a/docs/API_docs_55/constructors/encryptedFileEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: encryptedFileEmpty -description: encryptedFileEmpty attributes, type and example ---- -## Constructor: encryptedFileEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [EncryptedFile](../types/EncryptedFile.md) - - -### Example: - -``` -$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedMessage.md b/docs/API_docs_55/constructors/encryptedMessage.md deleted file mode 100644 index 6dc303e4..00000000 --- a/docs/API_docs_55/constructors/encryptedMessage.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: encryptedMessage -description: encryptedMessage attributes, type and example ---- -## Constructor: encryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| -|file|[EncryptedFile](../types/EncryptedFile.md) | Required| - - - -### Type: [EncryptedMessage](../types/EncryptedMessage.md) - - -### Example: - -``` -$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/encryptedMessageService.md b/docs/API_docs_55/constructors/encryptedMessageService.md deleted file mode 100644 index bdb240cd..00000000 --- a/docs/API_docs_55/constructors/encryptedMessageService.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: encryptedMessageService -description: encryptedMessageService attributes, type and example ---- -## Constructor: encryptedMessageService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [EncryptedMessage](../types/EncryptedMessage.md) - - -### Example: - -``` -$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/error.md b/docs/API_docs_55/constructors/error.md deleted file mode 100644 index 6b6c7e79..00000000 --- a/docs/API_docs_55/constructors/error.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: error -description: error attributes, type and example ---- -## Constructor: error -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|code|[int](../types/int.md) | Required| -|text|[string](../types/string.md) | Required| - - - -### Type: [Error](../types/Error.md) - - -### Example: - -``` -$error = ['_' => 'error', 'code' => int, 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/exportedMessageLink.md b/docs/API_docs_55/constructors/exportedMessageLink.md deleted file mode 100644 index d1d0428b..00000000 --- a/docs/API_docs_55/constructors/exportedMessageLink.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: exportedMessageLink -description: exportedMessageLink attributes, type and example ---- -## Constructor: exportedMessageLink -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|link|[string](../types/string.md) | Required| - - - -### Type: [ExportedMessageLink](../types/ExportedMessageLink.md) - - -### Example: - -``` -$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/fileLocation.md b/docs/API_docs_55/constructors/fileLocation.md deleted file mode 100644 index 5b13d61c..00000000 --- a/docs/API_docs_55/constructors/fileLocation.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: fileLocation -description: fileLocation attributes, type and example ---- -## Constructor: fileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dc\_id|[int](../types/int.md) | Required| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [FileLocation](../types/FileLocation.md) - - -### Example: - -``` -$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/fileLocationUnavailable.md b/docs/API_docs_55/constructors/fileLocationUnavailable.md deleted file mode 100644 index 6e3c393d..00000000 --- a/docs/API_docs_55/constructors/fileLocationUnavailable.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: fileLocationUnavailable -description: fileLocationUnavailable attributes, type and example ---- -## Constructor: fileLocationUnavailable -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [FileLocation](../types/FileLocation.md) - - -### Example: - -``` -$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/foundGif.md b/docs/API_docs_55/constructors/foundGif.md deleted file mode 100644 index 8002d0b9..00000000 --- a/docs/API_docs_55/constructors/foundGif.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: foundGif -description: foundGif attributes, type and example ---- -## Constructor: foundGif -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|thumb\_url|[string](../types/string.md) | Required| -|content\_url|[string](../types/string.md) | Required| -|content\_type|[string](../types/string.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| - - - -### Type: [FoundGif](../types/FoundGif.md) - - -### Example: - -``` -$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/foundGifCached.md b/docs/API_docs_55/constructors/foundGifCached.md deleted file mode 100644 index 08ef6d43..00000000 --- a/docs/API_docs_55/constructors/foundGifCached.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: foundGifCached -description: foundGifCached attributes, type and example ---- -## Constructor: foundGifCached -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|photo|[Photo](../types/Photo.md) | Required| -|document|[Document](../types/Document.md) | Required| - - - -### Type: [FoundGif](../types/FoundGif.md) - - -### Example: - -``` -$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/geoPoint.md b/docs/API_docs_55/constructors/geoPoint.md deleted file mode 100644 index b248092c..00000000 --- a/docs/API_docs_55/constructors/geoPoint.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: geoPoint -description: geoPoint attributes, type and example ---- -## Constructor: geoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|long|[double](../types/double.md) | Required| -|lat|[double](../types/double.md) | Required| - - - -### Type: [GeoPoint](../types/GeoPoint.md) - - -### Example: - -``` -$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/geoPointEmpty.md b/docs/API_docs_55/constructors/geoPointEmpty.md deleted file mode 100644 index 97e09e08..00000000 --- a/docs/API_docs_55/constructors/geoPointEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: geoPointEmpty -description: geoPointEmpty attributes, type and example ---- -## Constructor: geoPointEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [GeoPoint](../types/GeoPoint.md) - - -### Example: - -``` -$geoPointEmpty = ['_' => 'geoPointEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_appChangelog.md b/docs/API_docs_55/constructors/help_appChangelog.md deleted file mode 100644 index 15e829ce..00000000 --- a/docs/API_docs_55/constructors/help_appChangelog.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_appChangelog -description: help_appChangelog attributes, type and example ---- -## Constructor: help\_appChangelog -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -``` -$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_appChangelogEmpty.md b/docs/API_docs_55/constructors/help_appChangelogEmpty.md deleted file mode 100644 index e5cf48bb..00000000 --- a/docs/API_docs_55/constructors/help_appChangelogEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_appChangelogEmpty -description: help_appChangelogEmpty attributes, type and example ---- -## Constructor: help\_appChangelogEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [help\_AppChangelog](../types/help_AppChangelog.md) - - -### Example: - -``` -$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_appUpdate.md b/docs/API_docs_55/constructors/help_appUpdate.md deleted file mode 100644 index 96b847df..00000000 --- a/docs/API_docs_55/constructors/help_appUpdate.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: help_appUpdate -description: help_appUpdate attributes, type and example ---- -## Constructor: help\_appUpdate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|critical|[Bool](../types/Bool.md) | Required| -|url|[string](../types/string.md) | Required| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -``` -$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_inviteText.md b/docs/API_docs_55/constructors/help_inviteText.md deleted file mode 100644 index accebfbf..00000000 --- a/docs/API_docs_55/constructors/help_inviteText.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_inviteText -description: help_inviteText attributes, type and example ---- -## Constructor: help\_inviteText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[string](../types/string.md) | Required| - - - -### Type: [help\_InviteText](../types/help_InviteText.md) - - -### Example: - -``` -$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_noAppUpdate.md b/docs/API_docs_55/constructors/help_noAppUpdate.md deleted file mode 100644 index 1a045da7..00000000 --- a/docs/API_docs_55/constructors/help_noAppUpdate.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: help_noAppUpdate -description: help_noAppUpdate attributes, type and example ---- -## Constructor: help\_noAppUpdate -[Back to constructors index](index.md) - - - - - - -### Type: [help\_AppUpdate](../types/help_AppUpdate.md) - - -### Example: - -``` -$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_support.md b/docs/API_docs_55/constructors/help_support.md deleted file mode 100644 index 62f7d603..00000000 --- a/docs/API_docs_55/constructors/help_support.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: help_support -description: help_support attributes, type and example ---- -## Constructor: help\_support -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|user|[User](../types/User.md) | Required| - - - -### Type: [help\_Support](../types/help_Support.md) - - -### Example: - -``` -$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/help_termsOfService.md b/docs/API_docs_55/constructors/help_termsOfService.md deleted file mode 100644 index a2b329d9..00000000 --- a/docs/API_docs_55/constructors/help_termsOfService.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: help_termsOfService -description: help_termsOfService attributes, type and example ---- -## Constructor: help\_termsOfService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [help\_TermsOfService](../types/help_TermsOfService.md) - - -### Example: - -``` -$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/importedContact.md b/docs/API_docs_55/constructors/importedContact.md deleted file mode 100644 index 173f750a..00000000 --- a/docs/API_docs_55/constructors/importedContact.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: importedContact -description: importedContact attributes, type and example ---- -## Constructor: importedContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|client\_id|[long](../types/long.md) | Required| - - - -### Type: [ImportedContact](../types/ImportedContact.md) - - -### Example: - -``` -$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inlineBotSwitchPM.md b/docs/API_docs_55/constructors/inlineBotSwitchPM.md deleted file mode 100644 index f2a27fb8..00000000 --- a/docs/API_docs_55/constructors/inlineBotSwitchPM.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inlineBotSwitchPM -description: inlineBotSwitchPM attributes, type and example ---- -## Constructor: inlineBotSwitchPM -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| -|start\_param|[string](../types/string.md) | Required| - - - -### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md) - - -### Example: - -``` -$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputAppEvent.md b/docs/API_docs_55/constructors/inputAppEvent.md deleted file mode 100644 index a9d938bd..00000000 --- a/docs/API_docs_55/constructors/inputAppEvent.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputAppEvent -description: inputAppEvent attributes, type and example ---- -## Constructor: inputAppEvent -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|time|[double](../types/double.md) | Required| -|type|[string](../types/string.md) | Required| -|peer|[long](../types/long.md) | Required| -|data|[string](../types/string.md) | Required| - - - -### Type: [InputAppEvent](../types/InputAppEvent.md) - - -### Example: - -``` -$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageID.md b/docs/API_docs_55/constructors/inputBotInlineMessageID.md deleted file mode 100644 index 0b7acc20..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageID.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputBotInlineMessageID -description: inputBotInlineMessageID attributes, type and example ---- -## Constructor: inputBotInlineMessageID -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dc\_id|[int](../types/int.md) | Required| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputBotInlineMessageID](../types/InputBotInlineMessageID.md) - - -### Example: - -``` -$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageMediaAuto.md b/docs/API_docs_55/constructors/inputBotInlineMessageMediaAuto.md deleted file mode 100644 index 0dd524e8..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageMediaAuto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputBotInlineMessageMediaAuto -description: inputBotInlineMessageMediaAuto attributes, type and example ---- -## Constructor: inputBotInlineMessageMediaAuto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|caption|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageMediaContact.md b/docs/API_docs_55/constructors/inputBotInlineMessageMediaContact.md deleted file mode 100644 index f370de5f..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageMediaContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputBotInlineMessageMediaContact -description: inputBotInlineMessageMediaContact attributes, type and example ---- -## Constructor: inputBotInlineMessageMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageMediaGeo.md b/docs/API_docs_55/constructors/inputBotInlineMessageMediaGeo.md deleted file mode 100644 index bb36635b..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageMediaGeo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputBotInlineMessageMediaGeo -description: inputBotInlineMessageMediaGeo attributes, type and example ---- -## Constructor: inputBotInlineMessageMediaGeo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageMediaVenue.md b/docs/API_docs_55/constructors/inputBotInlineMessageMediaVenue.md deleted file mode 100644 index e4273a29..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageMediaVenue.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: inputBotInlineMessageMediaVenue -description: inputBotInlineMessageMediaVenue attributes, type and example ---- -## Constructor: inputBotInlineMessageMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineMessageText.md b/docs/API_docs_55/constructors/inputBotInlineMessageText.md deleted file mode 100644 index d9cb8b10..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineMessageText.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputBotInlineMessageText -description: inputBotInlineMessageText attributes, type and example ---- -## Constructor: inputBotInlineMessageText -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|no\_webpage|[Bool](../types/Bool.md) | Optional| -|message|[string](../types/string.md) | Required| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| - - - -### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) - - -### Example: - -``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineResult.md b/docs/API_docs_55/constructors/inputBotInlineResult.md deleted file mode 100644 index 0fef7703..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineResult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: inputBotInlineResult -description: inputBotInlineResult attributes, type and example ---- -## Constructor: inputBotInlineResult -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|url|[string](../types/string.md) | Optional| -|thumb\_url|[string](../types/string.md) | Optional| -|content\_url|[string](../types/string.md) | Optional| -|content\_type|[string](../types/string.md) | Optional| -|w|[int](../types/int.md) | Optional| -|h|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| - - - -### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) - - -### Example: - -``` -$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineResultDocument.md b/docs/API_docs_55/constructors/inputBotInlineResultDocument.md deleted file mode 100644 index de5cf876..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineResultDocument.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: inputBotInlineResultDocument -description: inputBotInlineResultDocument attributes, type and example ---- -## Constructor: inputBotInlineResultDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|document|[InputDocument](../types/InputDocument.md) | Required| -|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| - - - -### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) - - -### Example: - -``` -$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputBotInlineResultPhoto.md b/docs/API_docs_55/constructors/inputBotInlineResultPhoto.md deleted file mode 100644 index f9ee9e89..00000000 --- a/docs/API_docs_55/constructors/inputBotInlineResultPhoto.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputBotInlineResultPhoto -description: inputBotInlineResultPhoto attributes, type and example ---- -## Constructor: inputBotInlineResultPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Required| -|photo|[InputPhoto](../types/InputPhoto.md) | Required| -|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| - - - -### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) - - -### Example: - -``` -$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputChannel.md b/docs/API_docs_55/constructors/inputChannel.md deleted file mode 100644 index cc973e18..00000000 --- a/docs/API_docs_55/constructors/inputChannel.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChannel -description: inputChannel attributes, type and example ---- -## Constructor: inputChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputChannel](../types/InputChannel.md) - - -### Example: - -``` -$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputChannelEmpty.md b/docs/API_docs_55/constructors/inputChannelEmpty.md deleted file mode 100644 index d40ec5bd..00000000 --- a/docs/API_docs_55/constructors/inputChannelEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputChannelEmpty -description: inputChannelEmpty attributes, type and example ---- -## Constructor: inputChannelEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputChannel](../types/InputChannel.md) - - -### Example: - -``` -$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputChatPhoto.md b/docs/API_docs_55/constructors/inputChatPhoto.md deleted file mode 100644 index 6bb88da8..00000000 --- a/docs/API_docs_55/constructors/inputChatPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChatPhoto -description: inputChatPhoto attributes, type and example ---- -## Constructor: inputChatPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[InputPhoto](../types/InputPhoto.md) | Required| -|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputChatPhotoEmpty.md b/docs/API_docs_55/constructors/inputChatPhotoEmpty.md deleted file mode 100644 index 7edad211..00000000 --- a/docs/API_docs_55/constructors/inputChatPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputChatPhotoEmpty -description: inputChatPhotoEmpty attributes, type and example ---- -## Constructor: inputChatPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputChatUploadedPhoto.md b/docs/API_docs_55/constructors/inputChatUploadedPhoto.md deleted file mode 100644 index 9f1db42d..00000000 --- a/docs/API_docs_55/constructors/inputChatUploadedPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputChatUploadedPhoto -description: inputChatUploadedPhoto attributes, type and example ---- -## Constructor: inputChatUploadedPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| - - - -### Type: [InputChatPhoto](../types/InputChatPhoto.md) - - -### Example: - -``` -$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputDocument.md b/docs/API_docs_55/constructors/inputDocument.md deleted file mode 100644 index 6d1b80f4..00000000 --- a/docs/API_docs_55/constructors/inputDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputDocument -description: inputDocument attributes, type and example ---- -## Constructor: inputDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputDocument](../types/InputDocument.md) - - -### Example: - -``` -$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputDocumentEmpty.md b/docs/API_docs_55/constructors/inputDocumentEmpty.md deleted file mode 100644 index 089427be..00000000 --- a/docs/API_docs_55/constructors/inputDocumentEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputDocumentEmpty -description: inputDocumentEmpty attributes, type and example ---- -## Constructor: inputDocumentEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputDocument](../types/InputDocument.md) - - -### Example: - -``` -$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputDocumentFileLocation.md b/docs/API_docs_55/constructors/inputDocumentFileLocation.md deleted file mode 100644 index 33dc4e3b..00000000 --- a/docs/API_docs_55/constructors/inputDocumentFileLocation.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputDocumentFileLocation -description: inputDocumentFileLocation attributes, type and example ---- -## Constructor: inputDocumentFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedChat.md b/docs/API_docs_55/constructors/inputEncryptedChat.md deleted file mode 100644 index ff7c4e5a..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedChat.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedChat -description: inputEncryptedChat attributes, type and example ---- -## Constructor: inputEncryptedChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) - - -### Example: - -``` -$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedFile.md b/docs/API_docs_55/constructors/inputEncryptedFile.md deleted file mode 100644 index d8e2fd7a..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedFile.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedFile -description: inputEncryptedFile attributes, type and example ---- -## Constructor: inputEncryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedFileBigUploaded.md b/docs/API_docs_55/constructors/inputEncryptedFileBigUploaded.md deleted file mode 100644 index 0f8fea21..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedFileBigUploaded.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputEncryptedFileBigUploaded -description: inputEncryptedFileBigUploaded attributes, type and example ---- -## Constructor: inputEncryptedFileBigUploaded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedFileEmpty.md b/docs/API_docs_55/constructors/inputEncryptedFileEmpty.md deleted file mode 100644 index 9548a02f..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedFileEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputEncryptedFileEmpty -description: inputEncryptedFileEmpty attributes, type and example ---- -## Constructor: inputEncryptedFileEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedFileLocation.md b/docs/API_docs_55/constructors/inputEncryptedFileLocation.md deleted file mode 100644 index 22ca4629..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedFileLocation.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputEncryptedFileLocation -description: inputEncryptedFileLocation attributes, type and example ---- -## Constructor: inputEncryptedFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputEncryptedFileUploaded.md b/docs/API_docs_55/constructors/inputEncryptedFileUploaded.md deleted file mode 100644 index 5d8e0cae..00000000 --- a/docs/API_docs_55/constructors/inputEncryptedFileUploaded.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputEncryptedFileUploaded -description: inputEncryptedFileUploaded attributes, type and example ---- -## Constructor: inputEncryptedFileUploaded -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|md5\_checksum|[string](../types/string.md) | Required| -|key\_fingerprint|[int](../types/int.md) | Required| - - - -### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) - - -### Example: - -``` -$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputFile.md b/docs/API_docs_55/constructors/inputFile.md deleted file mode 100644 index 662f9bed..00000000 --- a/docs/API_docs_55/constructors/inputFile.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputFile -description: inputFile attributes, type and example ---- -## Constructor: inputFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|name|[string](../types/string.md) | Required| -|md5\_checksum|[string](../types/string.md) | Required| - - - -### Type: [InputFile](../types/InputFile.md) - - -### Example: - -``` -$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputFileBig.md b/docs/API_docs_55/constructors/inputFileBig.md deleted file mode 100644 index 92cef306..00000000 --- a/docs/API_docs_55/constructors/inputFileBig.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputFileBig -description: inputFileBig attributes, type and example ---- -## Constructor: inputFileBig -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|parts|[int](../types/int.md) | Required| -|name|[string](../types/string.md) | Required| - - - -### Type: [InputFile](../types/InputFile.md) - - -### Example: - -``` -$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputFileLocation.md b/docs/API_docs_55/constructors/inputFileLocation.md deleted file mode 100644 index e76bf621..00000000 --- a/docs/API_docs_55/constructors/inputFileLocation.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputFileLocation -description: inputFileLocation attributes, type and example ---- -## Constructor: inputFileLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|volume\_id|[long](../types/long.md) | Required| -|local\_id|[int](../types/int.md) | Required| -|secret|[long](../types/long.md) | Required| - - - -### Type: [InputFileLocation](../types/InputFileLocation.md) - - -### Example: - -``` -$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputGeoPoint.md b/docs/API_docs_55/constructors/inputGeoPoint.md deleted file mode 100644 index 792cb9a9..00000000 --- a/docs/API_docs_55/constructors/inputGeoPoint.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputGeoPoint -description: inputGeoPoint attributes, type and example ---- -## Constructor: inputGeoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|lat|[double](../types/double.md) | Required| -|long|[double](../types/double.md) | Required| - - - -### Type: [InputGeoPoint](../types/InputGeoPoint.md) - - -### Example: - -``` -$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputGeoPointEmpty.md b/docs/API_docs_55/constructors/inputGeoPointEmpty.md deleted file mode 100644 index 6bfb339e..00000000 --- a/docs/API_docs_55/constructors/inputGeoPointEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputGeoPointEmpty -description: inputGeoPointEmpty attributes, type and example ---- -## Constructor: inputGeoPointEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputGeoPoint](../types/InputGeoPoint.md) - - -### Example: - -``` -$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaContact.md b/docs/API_docs_55/constructors/inputMediaContact.md deleted file mode 100644 index 7dab254c..00000000 --- a/docs/API_docs_55/constructors/inputMediaContact.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputMediaContact -description: inputMediaContact attributes, type and example ---- -## Constructor: inputMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaDocument.md b/docs/API_docs_55/constructors/inputMediaDocument.md deleted file mode 100644 index 8f6f7e9c..00000000 --- a/docs/API_docs_55/constructors/inputMediaDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaDocument -description: inputMediaDocument attributes, type and example ---- -## Constructor: inputMediaDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[InputDocument](../types/InputDocument.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaEmpty.md b/docs/API_docs_55/constructors/inputMediaEmpty.md deleted file mode 100644 index be60d9a1..00000000 --- a/docs/API_docs_55/constructors/inputMediaEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMediaEmpty -description: inputMediaEmpty attributes, type and example ---- -## Constructor: inputMediaEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaGeoPoint.md b/docs/API_docs_55/constructors/inputMediaGeoPoint.md deleted file mode 100644 index f6df21c6..00000000 --- a/docs/API_docs_55/constructors/inputMediaGeoPoint.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputMediaGeoPoint -description: inputMediaGeoPoint attributes, type and example ---- -## Constructor: inputMediaGeoPoint -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaGifExternal.md b/docs/API_docs_55/constructors/inputMediaGifExternal.md deleted file mode 100644 index 2c1449df..00000000 --- a/docs/API_docs_55/constructors/inputMediaGifExternal.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaGifExternal -description: inputMediaGifExternal attributes, type and example ---- -## Constructor: inputMediaGifExternal -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|url|[string](../types/string.md) | Required| -|q|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaPhoto.md b/docs/API_docs_55/constructors/inputMediaPhoto.md deleted file mode 100644 index db7ebc07..00000000 --- a/docs/API_docs_55/constructors/inputMediaPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaPhoto -description: inputMediaPhoto attributes, type and example ---- -## Constructor: inputMediaPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[InputPhoto](../types/InputPhoto.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaUploadedDocument.md b/docs/API_docs_55/constructors/inputMediaUploadedDocument.md deleted file mode 100644 index d13eb0ee..00000000 --- a/docs/API_docs_55/constructors/inputMediaUploadedDocument.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputMediaUploadedDocument -description: inputMediaUploadedDocument attributes, type and example ---- -## Constructor: inputMediaUploadedDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaUploadedPhoto.md b/docs/API_docs_55/constructors/inputMediaUploadedPhoto.md deleted file mode 100644 index 1300d34c..00000000 --- a/docs/API_docs_55/constructors/inputMediaUploadedPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputMediaUploadedPhoto -description: inputMediaUploadedPhoto attributes, type and example ---- -## Constructor: inputMediaUploadedPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaUploadedThumbDocument.md b/docs/API_docs_55/constructors/inputMediaUploadedThumbDocument.md deleted file mode 100644 index 3c5d4d36..00000000 --- a/docs/API_docs_55/constructors/inputMediaUploadedThumbDocument.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: inputMediaUploadedThumbDocument -description: inputMediaUploadedThumbDocument attributes, type and example ---- -## Constructor: inputMediaUploadedThumbDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|file|[InputFile](../types/InputFile.md) | Required| -|thumb|[InputFile](../types/InputFile.md) | Required| -|mime\_type|[string](../types/string.md) | Required| -|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMediaVenue.md b/docs/API_docs_55/constructors/inputMediaVenue.md deleted file mode 100644 index e4059c99..00000000 --- a/docs/API_docs_55/constructors/inputMediaVenue.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: inputMediaVenue -description: inputMediaVenue attributes, type and example ---- -## Constructor: inputMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| - - - -### Type: [InputMedia](../types/InputMedia.md) - - -### Example: - -``` -$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessageEntityMentionName.md b/docs/API_docs_55/constructors/inputMessageEntityMentionName.md deleted file mode 100644 index eb6ca99b..00000000 --- a/docs/API_docs_55/constructors/inputMessageEntityMentionName.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputMessageEntityMentionName -description: inputMessageEntityMentionName attributes, type and example ---- -## Constructor: inputMessageEntityMentionName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|user\_id|[InputUser](../types/InputUser.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterChatPhotos.md b/docs/API_docs_55/constructors/inputMessagesFilterChatPhotos.md deleted file mode 100644 index 37cd9e89..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterChatPhotos.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterChatPhotos -description: inputMessagesFilterChatPhotos attributes, type and example ---- -## Constructor: inputMessagesFilterChatPhotos -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterDocument.md b/docs/API_docs_55/constructors/inputMessagesFilterDocument.md deleted file mode 100644 index 1f10a27d..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterDocument.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterDocument -description: inputMessagesFilterDocument attributes, type and example ---- -## Constructor: inputMessagesFilterDocument -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterEmpty.md b/docs/API_docs_55/constructors/inputMessagesFilterEmpty.md deleted file mode 100644 index 86761bba..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterEmpty -description: inputMessagesFilterEmpty attributes, type and example ---- -## Constructor: inputMessagesFilterEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterGif.md b/docs/API_docs_55/constructors/inputMessagesFilterGif.md deleted file mode 100644 index 9ea7a126..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterGif.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterGif -description: inputMessagesFilterGif attributes, type and example ---- -## Constructor: inputMessagesFilterGif -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterMusic.md b/docs/API_docs_55/constructors/inputMessagesFilterMusic.md deleted file mode 100644 index 93fc6394..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterMusic.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterMusic -description: inputMessagesFilterMusic attributes, type and example ---- -## Constructor: inputMessagesFilterMusic -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideo.md b/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideo.md deleted file mode 100644 index 12445813..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideo.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotoVideo -description: inputMessagesFilterPhotoVideo attributes, type and example ---- -## Constructor: inputMessagesFilterPhotoVideo -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideoDocuments.md deleted file mode 100644 index 1117897c..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterPhotoVideoDocuments.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotoVideoDocuments -description: inputMessagesFilterPhotoVideoDocuments attributes, type and example ---- -## Constructor: inputMessagesFilterPhotoVideoDocuments -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterPhotos.md b/docs/API_docs_55/constructors/inputMessagesFilterPhotos.md deleted file mode 100644 index 43581ee1..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterPhotos.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterPhotos -description: inputMessagesFilterPhotos attributes, type and example ---- -## Constructor: inputMessagesFilterPhotos -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterUrl.md b/docs/API_docs_55/constructors/inputMessagesFilterUrl.md deleted file mode 100644 index d9de39da..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterUrl.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterUrl -description: inputMessagesFilterUrl attributes, type and example ---- -## Constructor: inputMessagesFilterUrl -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterVideo.md b/docs/API_docs_55/constructors/inputMessagesFilterVideo.md deleted file mode 100644 index 8a621d7f..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterVideo.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterVideo -description: inputMessagesFilterVideo attributes, type and example ---- -## Constructor: inputMessagesFilterVideo -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputMessagesFilterVoice.md b/docs/API_docs_55/constructors/inputMessagesFilterVoice.md deleted file mode 100644 index 96fb09bb..00000000 --- a/docs/API_docs_55/constructors/inputMessagesFilterVoice.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputMessagesFilterVoice -description: inputMessagesFilterVoice attributes, type and example ---- -## Constructor: inputMessagesFilterVoice -[Back to constructors index](index.md) - - - - - - -### Type: [MessagesFilter](../types/MessagesFilter.md) - - -### Example: - -``` -$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputNotifyAll.md b/docs/API_docs_55/constructors/inputNotifyAll.md deleted file mode 100644 index ec141ca2..00000000 --- a/docs/API_docs_55/constructors/inputNotifyAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyAll -description: inputNotifyAll attributes, type and example ---- -## Constructor: inputNotifyAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyAll = ['_' => 'inputNotifyAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputNotifyChats.md b/docs/API_docs_55/constructors/inputNotifyChats.md deleted file mode 100644 index f217cb53..00000000 --- a/docs/API_docs_55/constructors/inputNotifyChats.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyChats -description: inputNotifyChats attributes, type and example ---- -## Constructor: inputNotifyChats -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyChats = ['_' => 'inputNotifyChats', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputNotifyPeer.md b/docs/API_docs_55/constructors/inputNotifyPeer.md deleted file mode 100644 index 2741ab77..00000000 --- a/docs/API_docs_55/constructors/inputNotifyPeer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputNotifyPeer -description: inputNotifyPeer attributes, type and example ---- -## Constructor: inputNotifyPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[InputPeer](../types/InputPeer.md) | Required| - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputNotifyUsers.md b/docs/API_docs_55/constructors/inputNotifyUsers.md deleted file mode 100644 index 252cb85b..00000000 --- a/docs/API_docs_55/constructors/inputNotifyUsers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputNotifyUsers -description: inputNotifyUsers attributes, type and example ---- -## Constructor: inputNotifyUsers -[Back to constructors index](index.md) - - - - - - -### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) - - -### Example: - -``` -$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerChannel.md b/docs/API_docs_55/constructors/inputPeerChannel.md deleted file mode 100644 index 831ec775..00000000 --- a/docs/API_docs_55/constructors/inputPeerChannel.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPeerChannel -description: inputPeerChannel attributes, type and example ---- -## Constructor: inputPeerChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerChat.md b/docs/API_docs_55/constructors/inputPeerChat.md deleted file mode 100644 index a2b044e7..00000000 --- a/docs/API_docs_55/constructors/inputPeerChat.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPeerChat -description: inputPeerChat attributes, type and example ---- -## Constructor: inputPeerChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerEmpty.md b/docs/API_docs_55/constructors/inputPeerEmpty.md deleted file mode 100644 index 902231cd..00000000 --- a/docs/API_docs_55/constructors/inputPeerEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerEmpty -description: inputPeerEmpty attributes, type and example ---- -## Constructor: inputPeerEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerNotifyEventsAll.md b/docs/API_docs_55/constructors/inputPeerNotifyEventsAll.md deleted file mode 100644 index 9bc2ec78..00000000 --- a/docs/API_docs_55/constructors/inputPeerNotifyEventsAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerNotifyEventsAll -description: inputPeerNotifyEventsAll attributes, type and example ---- -## Constructor: inputPeerNotifyEventsAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) - - -### Example: - -``` -$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerNotifyEventsEmpty.md b/docs/API_docs_55/constructors/inputPeerNotifyEventsEmpty.md deleted file mode 100644 index 8b652905..00000000 --- a/docs/API_docs_55/constructors/inputPeerNotifyEventsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerNotifyEventsEmpty -description: inputPeerNotifyEventsEmpty attributes, type and example ---- -## Constructor: inputPeerNotifyEventsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) - - -### Example: - -``` -$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerNotifySettings.md b/docs/API_docs_55/constructors/inputPeerNotifySettings.md deleted file mode 100644 index 1b116048..00000000 --- a/docs/API_docs_55/constructors/inputPeerNotifySettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputPeerNotifySettings -description: inputPeerNotifySettings attributes, type and example ---- -## Constructor: inputPeerNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|show\_previews|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|mute\_until|[int](../types/int.md) | Required| -|sound|[string](../types/string.md) | Required| - - - -### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) - - -### Example: - -``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerSelf.md b/docs/API_docs_55/constructors/inputPeerSelf.md deleted file mode 100644 index f6b89172..00000000 --- a/docs/API_docs_55/constructors/inputPeerSelf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPeerSelf -description: inputPeerSelf attributes, type and example ---- -## Constructor: inputPeerSelf -[Back to constructors index](index.md) - - - - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerSelf = ['_' => 'inputPeerSelf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPeerUser.md b/docs/API_docs_55/constructors/inputPeerUser.md deleted file mode 100644 index 1e081a56..00000000 --- a/docs/API_docs_55/constructors/inputPeerUser.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPeerUser -description: inputPeerUser attributes, type and example ---- -## Constructor: inputPeerUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPeer](../types/InputPeer.md) - - -### Example: - -``` -$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPhoneContact.md b/docs/API_docs_55/constructors/inputPhoneContact.md deleted file mode 100644 index 6dcad61a..00000000 --- a/docs/API_docs_55/constructors/inputPhoneContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: inputPhoneContact -description: inputPhoneContact attributes, type and example ---- -## Constructor: inputPhoneContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|client\_id|[long](../types/long.md) | Required| -|phone|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| - - - -### Type: [InputContact](../types/InputContact.md) - - -### Example: - -``` -$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPhoto.md b/docs/API_docs_55/constructors/inputPhoto.md deleted file mode 100644 index 72172344..00000000 --- a/docs/API_docs_55/constructors/inputPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputPhoto -description: inputPhoto attributes, type and example ---- -## Constructor: inputPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputPhoto](../types/InputPhoto.md) - - -### Example: - -``` -$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPhotoCrop.md b/docs/API_docs_55/constructors/inputPhotoCrop.md deleted file mode 100644 index 331795a8..00000000 --- a/docs/API_docs_55/constructors/inputPhotoCrop.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: inputPhotoCrop -description: inputPhotoCrop attributes, type and example ---- -## Constructor: inputPhotoCrop -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|crop\_left|[double](../types/double.md) | Required| -|crop\_top|[double](../types/double.md) | Required| -|crop\_width|[double](../types/double.md) | Required| - - - -### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) - - -### Example: - -``` -$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPhotoCropAuto.md b/docs/API_docs_55/constructors/inputPhotoCropAuto.md deleted file mode 100644 index 90abf402..00000000 --- a/docs/API_docs_55/constructors/inputPhotoCropAuto.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPhotoCropAuto -description: inputPhotoCropAuto attributes, type and example ---- -## Constructor: inputPhotoCropAuto -[Back to constructors index](index.md) - - - - - - -### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) - - -### Example: - -``` -$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPhotoEmpty.md b/docs/API_docs_55/constructors/inputPhotoEmpty.md deleted file mode 100644 index fc7dbe2d..00000000 --- a/docs/API_docs_55/constructors/inputPhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPhotoEmpty -description: inputPhotoEmpty attributes, type and example ---- -## Constructor: inputPhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputPhoto](../types/InputPhoto.md) - - -### Example: - -``` -$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyKeyChatInvite.md b/docs/API_docs_55/constructors/inputPrivacyKeyChatInvite.md deleted file mode 100644 index 872884d1..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyKeyChatInvite.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyKeyChatInvite -description: inputPrivacyKeyChatInvite attributes, type and example ---- -## Constructor: inputPrivacyKeyChatInvite -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) - - -### Example: - -``` -$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/API_docs_55/constructors/inputPrivacyKeyStatusTimestamp.md deleted file mode 100644 index 6dfe73ba..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyKeyStatusTimestamp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyKeyStatusTimestamp -description: inputPrivacyKeyStatusTimestamp attributes, type and example ---- -## Constructor: inputPrivacyKeyStatusTimestamp -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) - - -### Example: - -``` -$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueAllowAll.md b/docs/API_docs_55/constructors/inputPrivacyValueAllowAll.md deleted file mode 100644 index 4a3395c6..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueAllowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueAllowAll -description: inputPrivacyValueAllowAll attributes, type and example ---- -## Constructor: inputPrivacyValueAllowAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueAllowContacts.md b/docs/API_docs_55/constructors/inputPrivacyValueAllowContacts.md deleted file mode 100644 index 54956388..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueAllowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueAllowContacts -description: inputPrivacyValueAllowContacts attributes, type and example ---- -## Constructor: inputPrivacyValueAllowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueAllowUsers.md b/docs/API_docs_55/constructors/inputPrivacyValueAllowUsers.md deleted file mode 100644 index 42888bf2..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueAllowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPrivacyValueAllowUsers -description: inputPrivacyValueAllowUsers attributes, type and example ---- -## Constructor: inputPrivacyValueAllowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [InputUser](../types/InputUser.md) | Required| - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueDisallowAll.md b/docs/API_docs_55/constructors/inputPrivacyValueDisallowAll.md deleted file mode 100644 index 284ff6c6..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueDisallowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueDisallowAll -description: inputPrivacyValueDisallowAll attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowAll -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueDisallowContacts.md b/docs/API_docs_55/constructors/inputPrivacyValueDisallowContacts.md deleted file mode 100644 index 28340639..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueDisallowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputPrivacyValueDisallowContacts -description: inputPrivacyValueDisallowContacts attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputPrivacyValueDisallowUsers.md b/docs/API_docs_55/constructors/inputPrivacyValueDisallowUsers.md deleted file mode 100644 index 200874dd..00000000 --- a/docs/API_docs_55/constructors/inputPrivacyValueDisallowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputPrivacyValueDisallowUsers -description: inputPrivacyValueDisallowUsers attributes, type and example ---- -## Constructor: inputPrivacyValueDisallowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [InputUser](../types/InputUser.md) | Required| - - - -### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) - - -### Example: - -``` -$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputReportReasonOther.md b/docs/API_docs_55/constructors/inputReportReasonOther.md deleted file mode 100644 index 1084ed42..00000000 --- a/docs/API_docs_55/constructors/inputReportReasonOther.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputReportReasonOther -description: inputReportReasonOther attributes, type and example ---- -## Constructor: inputReportReasonOther -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputReportReasonPornography.md b/docs/API_docs_55/constructors/inputReportReasonPornography.md deleted file mode 100644 index a21c52f5..00000000 --- a/docs/API_docs_55/constructors/inputReportReasonPornography.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonPornography -description: inputReportReasonPornography attributes, type and example ---- -## Constructor: inputReportReasonPornography -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputReportReasonSpam.md b/docs/API_docs_55/constructors/inputReportReasonSpam.md deleted file mode 100644 index 0d03afa4..00000000 --- a/docs/API_docs_55/constructors/inputReportReasonSpam.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonSpam -description: inputReportReasonSpam attributes, type and example ---- -## Constructor: inputReportReasonSpam -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputReportReasonViolence.md b/docs/API_docs_55/constructors/inputReportReasonViolence.md deleted file mode 100644 index 085a629a..00000000 --- a/docs/API_docs_55/constructors/inputReportReasonViolence.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputReportReasonViolence -description: inputReportReasonViolence attributes, type and example ---- -## Constructor: inputReportReasonViolence -[Back to constructors index](index.md) - - - - - - -### Type: [ReportReason](../types/ReportReason.md) - - -### Example: - -``` -$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputStickerSetEmpty.md b/docs/API_docs_55/constructors/inputStickerSetEmpty.md deleted file mode 100644 index bbe3a642..00000000 --- a/docs/API_docs_55/constructors/inputStickerSetEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputStickerSetEmpty -description: inputStickerSetEmpty attributes, type and example ---- -## Constructor: inputStickerSetEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputStickerSetID.md b/docs/API_docs_55/constructors/inputStickerSetID.md deleted file mode 100644 index 7189e367..00000000 --- a/docs/API_docs_55/constructors/inputStickerSetID.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputStickerSetID -description: inputStickerSetID attributes, type and example ---- -## Constructor: inputStickerSetID -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputStickerSetShortName.md b/docs/API_docs_55/constructors/inputStickerSetShortName.md deleted file mode 100644 index 4cebd065..00000000 --- a/docs/API_docs_55/constructors/inputStickerSetShortName.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: inputStickerSetShortName -description: inputStickerSetShortName attributes, type and example ---- -## Constructor: inputStickerSetShortName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|short\_name|[string](../types/string.md) | Required| - - - -### Type: [InputStickerSet](../types/InputStickerSet.md) - - -### Example: - -``` -$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputUser.md b/docs/API_docs_55/constructors/inputUser.md deleted file mode 100644 index b577f9da..00000000 --- a/docs/API_docs_55/constructors/inputUser.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: inputUser -description: inputUser attributes, type and example ---- -## Constructor: inputUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Required| - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputUserEmpty.md b/docs/API_docs_55/constructors/inputUserEmpty.md deleted file mode 100644 index f926a65e..00000000 --- a/docs/API_docs_55/constructors/inputUserEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputUserEmpty -description: inputUserEmpty attributes, type and example ---- -## Constructor: inputUserEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUserEmpty = ['_' => 'inputUserEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/inputUserSelf.md b/docs/API_docs_55/constructors/inputUserSelf.md deleted file mode 100644 index 92235855..00000000 --- a/docs/API_docs_55/constructors/inputUserSelf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: inputUserSelf -description: inputUserSelf attributes, type and example ---- -## Constructor: inputUserSelf -[Back to constructors index](index.md) - - - - - - -### Type: [InputUser](../types/InputUser.md) - - -### Example: - -``` -$inputUserSelf = ['_' => 'inputUserSelf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButton.md b/docs/API_docs_55/constructors/keyboardButton.md deleted file mode 100644 index f67b177c..00000000 --- a/docs/API_docs_55/constructors/keyboardButton.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButton -description: keyboardButton attributes, type and example ---- -## Constructor: keyboardButton -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonCallback.md b/docs/API_docs_55/constructors/keyboardButtonCallback.md deleted file mode 100644 index e74e7633..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonCallback.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: keyboardButtonCallback -description: keyboardButtonCallback attributes, type and example ---- -## Constructor: keyboardButtonCallback -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| -|data|[bytes](../types/bytes.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonRequestGeoLocation.md b/docs/API_docs_55/constructors/keyboardButtonRequestGeoLocation.md deleted file mode 100644 index a7968ca6..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonRequestGeoLocation.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButtonRequestGeoLocation -description: keyboardButtonRequestGeoLocation attributes, type and example ---- -## Constructor: keyboardButtonRequestGeoLocation -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonRequestPhone.md b/docs/API_docs_55/constructors/keyboardButtonRequestPhone.md deleted file mode 100644 index ac9cd834..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonRequestPhone.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButtonRequestPhone -description: keyboardButtonRequestPhone attributes, type and example ---- -## Constructor: keyboardButtonRequestPhone -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonRow.md b/docs/API_docs_55/constructors/keyboardButtonRow.md deleted file mode 100644 index 919953be..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonRow.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: keyboardButtonRow -description: keyboardButtonRow attributes, type and example ---- -## Constructor: keyboardButtonRow -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| - - - -### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) - - -### Example: - -``` -$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonSwitchInline.md b/docs/API_docs_55/constructors/keyboardButtonSwitchInline.md deleted file mode 100644 index 4e1c4062..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonSwitchInline.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: keyboardButtonSwitchInline -description: keyboardButtonSwitchInline attributes, type and example ---- -## Constructor: keyboardButtonSwitchInline -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| -|query|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/keyboardButtonUrl.md b/docs/API_docs_55/constructors/keyboardButtonUrl.md deleted file mode 100644 index c590b58e..00000000 --- a/docs/API_docs_55/constructors/keyboardButtonUrl.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: keyboardButtonUrl -description: keyboardButtonUrl attributes, type and example ---- -## Constructor: keyboardButtonUrl -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|text|[string](../types/string.md) | Required| -|url|[string](../types/string.md) | Required| - - - -### Type: [KeyboardButton](../types/KeyboardButton.md) - - -### Example: - -``` -$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/message.md b/docs/API_docs_55/constructors/message.md deleted file mode 100644 index 1eefb80c..00000000 --- a/docs/API_docs_55/constructors/message.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: message -description: message attributes, type and example ---- -## Constructor: message -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|post|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|from\_id|[int](../types/int.md) | Optional| -|to\_id|[Peer](../types/Peer.md) | Required| -|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| -|via\_bot\_id|[int](../types/int.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|date|[int](../types/int.md) | Required| -|message|[string](../types/string.md) | Required| -|media|[MessageMedia](../types/MessageMedia.md) | Optional| -|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| -|views|[int](../types/int.md) | Optional| -|edit\_date|[int](../types/int.md) | Optional| - - - -### Type: [Message](../types/Message.md) - - -### Example: - -``` -$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, 'edit_date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChannelCreate.md b/docs/API_docs_55/constructors/messageActionChannelCreate.md deleted file mode 100644 index 8ecacf17..00000000 --- a/docs/API_docs_55/constructors/messageActionChannelCreate.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChannelCreate -description: messageActionChannelCreate attributes, type and example ---- -## Constructor: messageActionChannelCreate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChannelMigrateFrom.md b/docs/API_docs_55/constructors/messageActionChannelMigrateFrom.md deleted file mode 100644 index 34fe5825..00000000 --- a/docs/API_docs_55/constructors/messageActionChannelMigrateFrom.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageActionChannelMigrateFrom -description: messageActionChannelMigrateFrom attributes, type and example ---- -## Constructor: messageActionChannelMigrateFrom -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatAddUser.md b/docs/API_docs_55/constructors/messageActionChatAddUser.md deleted file mode 100644 index 2c87731d..00000000 --- a/docs/API_docs_55/constructors/messageActionChatAddUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatAddUser -description: messageActionChatAddUser attributes, type and example ---- -## Constructor: messageActionChatAddUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatCreate.md b/docs/API_docs_55/constructors/messageActionChatCreate.md deleted file mode 100644 index 0a9c5ff7..00000000 --- a/docs/API_docs_55/constructors/messageActionChatCreate.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageActionChatCreate -description: messageActionChatCreate attributes, type and example ---- -## Constructor: messageActionChatCreate -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatDeletePhoto.md b/docs/API_docs_55/constructors/messageActionChatDeletePhoto.md deleted file mode 100644 index b7a7ed40..00000000 --- a/docs/API_docs_55/constructors/messageActionChatDeletePhoto.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionChatDeletePhoto -description: messageActionChatDeletePhoto attributes, type and example ---- -## Constructor: messageActionChatDeletePhoto -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatDeleteUser.md b/docs/API_docs_55/constructors/messageActionChatDeleteUser.md deleted file mode 100644 index 0e129bae..00000000 --- a/docs/API_docs_55/constructors/messageActionChatDeleteUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatDeleteUser -description: messageActionChatDeleteUser attributes, type and example ---- -## Constructor: messageActionChatDeleteUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatEditPhoto.md b/docs/API_docs_55/constructors/messageActionChatEditPhoto.md deleted file mode 100644 index 0582bd4a..00000000 --- a/docs/API_docs_55/constructors/messageActionChatEditPhoto.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatEditPhoto -description: messageActionChatEditPhoto attributes, type and example ---- -## Constructor: messageActionChatEditPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatEditTitle.md b/docs/API_docs_55/constructors/messageActionChatEditTitle.md deleted file mode 100644 index 0ac22537..00000000 --- a/docs/API_docs_55/constructors/messageActionChatEditTitle.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatEditTitle -description: messageActionChatEditTitle attributes, type and example ---- -## Constructor: messageActionChatEditTitle -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|title|[string](../types/string.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatJoinedByLink.md b/docs/API_docs_55/constructors/messageActionChatJoinedByLink.md deleted file mode 100644 index 4f1595a3..00000000 --- a/docs/API_docs_55/constructors/messageActionChatJoinedByLink.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatJoinedByLink -description: messageActionChatJoinedByLink attributes, type and example ---- -## Constructor: messageActionChatJoinedByLink -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|inviter\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionChatMigrateTo.md b/docs/API_docs_55/constructors/messageActionChatMigrateTo.md deleted file mode 100644 index 487f769d..00000000 --- a/docs/API_docs_55/constructors/messageActionChatMigrateTo.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageActionChatMigrateTo -description: messageActionChatMigrateTo attributes, type and example ---- -## Constructor: messageActionChatMigrateTo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionEmpty.md b/docs/API_docs_55/constructors/messageActionEmpty.md deleted file mode 100644 index 92d2b5de..00000000 --- a/docs/API_docs_55/constructors/messageActionEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionEmpty -description: messageActionEmpty attributes, type and example ---- -## Constructor: messageActionEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionEmpty = ['_' => 'messageActionEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionHistoryClear.md b/docs/API_docs_55/constructors/messageActionHistoryClear.md deleted file mode 100644 index a1acd014..00000000 --- a/docs/API_docs_55/constructors/messageActionHistoryClear.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionHistoryClear -description: messageActionHistoryClear attributes, type and example ---- -## Constructor: messageActionHistoryClear -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageActionPinMessage.md b/docs/API_docs_55/constructors/messageActionPinMessage.md deleted file mode 100644 index fcd35c52..00000000 --- a/docs/API_docs_55/constructors/messageActionPinMessage.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageActionPinMessage -description: messageActionPinMessage attributes, type and example ---- -## Constructor: messageActionPinMessage -[Back to constructors index](index.md) - - - - - - -### Type: [MessageAction](../types/MessageAction.md) - - -### Example: - -``` -$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEmpty.md b/docs/API_docs_55/constructors/messageEmpty.md deleted file mode 100644 index ea5826b2..00000000 --- a/docs/API_docs_55/constructors/messageEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageEmpty -description: messageEmpty attributes, type and example ---- -## Constructor: messageEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [Message](../types/Message.md) - - -### Example: - -``` -$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityBold.md b/docs/API_docs_55/constructors/messageEntityBold.md deleted file mode 100644 index 324bacf7..00000000 --- a/docs/API_docs_55/constructors/messageEntityBold.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityBold -description: messageEntityBold attributes, type and example ---- -## Constructor: messageEntityBold -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityBotCommand.md b/docs/API_docs_55/constructors/messageEntityBotCommand.md deleted file mode 100644 index 3a91d5ef..00000000 --- a/docs/API_docs_55/constructors/messageEntityBotCommand.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityBotCommand -description: messageEntityBotCommand attributes, type and example ---- -## Constructor: messageEntityBotCommand -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityCode.md b/docs/API_docs_55/constructors/messageEntityCode.md deleted file mode 100644 index 82f8ad1c..00000000 --- a/docs/API_docs_55/constructors/messageEntityCode.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityCode -description: messageEntityCode attributes, type and example ---- -## Constructor: messageEntityCode -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityEmail.md b/docs/API_docs_55/constructors/messageEntityEmail.md deleted file mode 100644 index 07ca52ce..00000000 --- a/docs/API_docs_55/constructors/messageEntityEmail.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityEmail -description: messageEntityEmail attributes, type and example ---- -## Constructor: messageEntityEmail -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityHashtag.md b/docs/API_docs_55/constructors/messageEntityHashtag.md deleted file mode 100644 index 108e692d..00000000 --- a/docs/API_docs_55/constructors/messageEntityHashtag.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityHashtag -description: messageEntityHashtag attributes, type and example ---- -## Constructor: messageEntityHashtag -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityItalic.md b/docs/API_docs_55/constructors/messageEntityItalic.md deleted file mode 100644 index b8a5eabc..00000000 --- a/docs/API_docs_55/constructors/messageEntityItalic.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityItalic -description: messageEntityItalic attributes, type and example ---- -## Constructor: messageEntityItalic -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityMention.md b/docs/API_docs_55/constructors/messageEntityMention.md deleted file mode 100644 index 661f55f4..00000000 --- a/docs/API_docs_55/constructors/messageEntityMention.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityMention -description: messageEntityMention attributes, type and example ---- -## Constructor: messageEntityMention -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityMentionName.md b/docs/API_docs_55/constructors/messageEntityMentionName.md deleted file mode 100644 index 4aa13625..00000000 --- a/docs/API_docs_55/constructors/messageEntityMentionName.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messageEntityMentionName -description: messageEntityMentionName attributes, type and example ---- -## Constructor: messageEntityMentionName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityPre.md b/docs/API_docs_55/constructors/messageEntityPre.md deleted file mode 100644 index 818f88a5..00000000 --- a/docs/API_docs_55/constructors/messageEntityPre.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messageEntityPre -description: messageEntityPre attributes, type and example ---- -## Constructor: messageEntityPre -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|language|[string](../types/string.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityTextUrl.md b/docs/API_docs_55/constructors/messageEntityTextUrl.md deleted file mode 100644 index 231bab6e..00000000 --- a/docs/API_docs_55/constructors/messageEntityTextUrl.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messageEntityTextUrl -description: messageEntityTextUrl attributes, type and example ---- -## Constructor: messageEntityTextUrl -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| -|url|[string](../types/string.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityUnknown.md b/docs/API_docs_55/constructors/messageEntityUnknown.md deleted file mode 100644 index bd398067..00000000 --- a/docs/API_docs_55/constructors/messageEntityUnknown.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityUnknown -description: messageEntityUnknown attributes, type and example ---- -## Constructor: messageEntityUnknown -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageEntityUrl.md b/docs/API_docs_55/constructors/messageEntityUrl.md deleted file mode 100644 index b60d69b6..00000000 --- a/docs/API_docs_55/constructors/messageEntityUrl.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageEntityUrl -description: messageEntityUrl attributes, type and example ---- -## Constructor: messageEntityUrl -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|offset|[int](../types/int.md) | Required| -|length|[int](../types/int.md) | Required| - - - -### Type: [MessageEntity](../types/MessageEntity.md) - - -### Example: - -``` -$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageFwdHeader.md b/docs/API_docs_55/constructors/messageFwdHeader.md deleted file mode 100644 index 417438f1..00000000 --- a/docs/API_docs_55/constructors/messageFwdHeader.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messageFwdHeader -description: messageFwdHeader attributes, type and example ---- -## Constructor: messageFwdHeader -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|from\_id|[int](../types/int.md) | Optional| -|date|[int](../types/int.md) | Required| -|channel\_id|[int](../types/int.md) | Optional| -|channel\_post|[int](../types/int.md) | Optional| - - - -### Type: [MessageFwdHeader](../types/MessageFwdHeader.md) - - -### Example: - -``` -$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaContact.md b/docs/API_docs_55/constructors/messageMediaContact.md deleted file mode 100644 index 8b97f285..00000000 --- a/docs/API_docs_55/constructors/messageMediaContact.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messageMediaContact -description: messageMediaContact attributes, type and example ---- -## Constructor: messageMediaContact -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|phone\_number|[string](../types/string.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaDocument.md b/docs/API_docs_55/constructors/messageMediaDocument.md deleted file mode 100644 index 3bafd493..00000000 --- a/docs/API_docs_55/constructors/messageMediaDocument.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageMediaDocument -description: messageMediaDocument attributes, type and example ---- -## Constructor: messageMediaDocument -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|document|[Document](../types/Document.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaEmpty.md b/docs/API_docs_55/constructors/messageMediaEmpty.md deleted file mode 100644 index 1c121b94..00000000 --- a/docs/API_docs_55/constructors/messageMediaEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageMediaEmpty -description: messageMediaEmpty attributes, type and example ---- -## Constructor: messageMediaEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaGeo.md b/docs/API_docs_55/constructors/messageMediaGeo.md deleted file mode 100644 index 671b9a38..00000000 --- a/docs/API_docs_55/constructors/messageMediaGeo.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageMediaGeo -description: messageMediaGeo attributes, type and example ---- -## Constructor: messageMediaGeo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaPhoto.md b/docs/API_docs_55/constructors/messageMediaPhoto.md deleted file mode 100644 index 0e37d2f0..00000000 --- a/docs/API_docs_55/constructors/messageMediaPhoto.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageMediaPhoto -description: messageMediaPhoto attributes, type and example ---- -## Constructor: messageMediaPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| -|caption|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaUnsupported.md b/docs/API_docs_55/constructors/messageMediaUnsupported.md deleted file mode 100644 index 4263b13b..00000000 --- a/docs/API_docs_55/constructors/messageMediaUnsupported.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messageMediaUnsupported -description: messageMediaUnsupported attributes, type and example ---- -## Constructor: messageMediaUnsupported -[Back to constructors index](index.md) - - - - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaVenue.md b/docs/API_docs_55/constructors/messageMediaVenue.md deleted file mode 100644 index 4e87ec88..00000000 --- a/docs/API_docs_55/constructors/messageMediaVenue.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messageMediaVenue -description: messageMediaVenue attributes, type and example ---- -## Constructor: messageMediaVenue -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|geo|[GeoPoint](../types/GeoPoint.md) | Required| -|title|[string](../types/string.md) | Required| -|address|[string](../types/string.md) | Required| -|provider|[string](../types/string.md) | Required| -|venue\_id|[string](../types/string.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageMediaWebPage.md b/docs/API_docs_55/constructors/messageMediaWebPage.md deleted file mode 100644 index 07e1cfc4..00000000 --- a/docs/API_docs_55/constructors/messageMediaWebPage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messageMediaWebPage -description: messageMediaWebPage attributes, type and example ---- -## Constructor: messageMediaWebPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|webpage|[WebPage](../types/WebPage.md) | Required| - - - -### Type: [MessageMedia](../types/MessageMedia.md) - - -### Example: - -``` -$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageRange.md b/docs/API_docs_55/constructors/messageRange.md deleted file mode 100644 index 144fc383..00000000 --- a/docs/API_docs_55/constructors/messageRange.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messageRange -description: messageRange attributes, type and example ---- -## Constructor: messageRange -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|min\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| - - - -### Type: [MessageRange](../types/MessageRange.md) - - -### Example: - -``` -$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messageService.md b/docs/API_docs_55/constructors/messageService.md deleted file mode 100644 index 8f858f7a..00000000 --- a/docs/API_docs_55/constructors/messageService.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: messageService -description: messageService attributes, type and example ---- -## Constructor: messageService -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|post|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|from\_id|[int](../types/int.md) | Optional| -|to\_id|[Peer](../types/Peer.md) | Required| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|date|[int](../types/int.md) | Required| -|action|[MessageAction](../types/MessageAction.md) | Required| - - - -### Type: [Message](../types/Message.md) - - -### Example: - -``` -$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_affectedHistory.md b/docs/API_docs_55/constructors/messages_affectedHistory.md deleted file mode 100644 index eb8b1432..00000000 --- a/docs/API_docs_55/constructors/messages_affectedHistory.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_affectedHistory -description: messages_affectedHistory attributes, type and example ---- -## Constructor: messages\_affectedHistory -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|offset|[int](../types/int.md) | Required| - - - -### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) - - -### Example: - -``` -$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_affectedMessages.md b/docs/API_docs_55/constructors/messages_affectedMessages.md deleted file mode 100644 index 0933c204..00000000 --- a/docs/API_docs_55/constructors/messages_affectedMessages.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_affectedMessages -description: messages_affectedMessages attributes, type and example ---- -## Constructor: messages\_affectedMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) - - -### Example: - -``` -$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_allStickers.md b/docs/API_docs_55/constructors/messages_allStickers.md deleted file mode 100644 index cdab8b24..00000000 --- a/docs/API_docs_55/constructors/messages_allStickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_allStickers -description: messages_allStickers attributes, type and example ---- -## Constructor: messages\_allStickers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[int](../types/int.md) | Required| -|sets|Array of [StickerSet](../types/StickerSet.md) | Required| - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -``` -$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_allStickersNotModified.md b/docs/API_docs_55/constructors/messages_allStickersNotModified.md deleted file mode 100644 index 068320c3..00000000 --- a/docs/API_docs_55/constructors/messages_allStickersNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_allStickersNotModified -description: messages_allStickersNotModified attributes, type and example ---- -## Constructor: messages\_allStickersNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_AllStickers](../types/messages_AllStickers.md) - - -### Example: - -``` -$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_botCallbackAnswer.md b/docs/API_docs_55/constructors/messages_botCallbackAnswer.md deleted file mode 100644 index 343a8591..00000000 --- a/docs/API_docs_55/constructors/messages_botCallbackAnswer.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_botCallbackAnswer -description: messages_botCallbackAnswer attributes, type and example ---- -## Constructor: messages\_botCallbackAnswer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|alert|[Bool](../types/Bool.md) | Optional| -|message|[string](../types/string.md) | Optional| -|url|[string](../types/string.md) | Optional| - - - -### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) - - -### Example: - -``` -$messages_botCallbackAnswer = ['_' => 'messages_botCallbackAnswer', 'alert' => true, 'message' => string, 'url' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_botResults.md b/docs/API_docs_55/constructors/messages_botResults.md deleted file mode 100644 index a89581de..00000000 --- a/docs/API_docs_55/constructors/messages_botResults.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messages_botResults -description: messages_botResults attributes, type and example ---- -## Constructor: messages\_botResults -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|gallery|[Bool](../types/Bool.md) | Optional| -|query\_id|[long](../types/long.md) | Required| -|next\_offset|[string](../types/string.md) | Optional| -|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| -|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| - - - -### Type: [messages\_BotResults](../types/messages_BotResults.md) - - -### Example: - -``` -$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_channelMessages.md b/docs/API_docs_55/constructors/messages_channelMessages.md deleted file mode 100644 index 32da666c..00000000 --- a/docs/API_docs_55/constructors/messages_channelMessages.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messages_channelMessages -description: messages_channelMessages attributes, type and example ---- -## Constructor: messages\_channelMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|count|[int](../types/int.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_chatFull.md b/docs/API_docs_55/constructors/messages_chatFull.md deleted file mode 100644 index 4f908b68..00000000 --- a/docs/API_docs_55/constructors/messages_chatFull.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_chatFull -description: messages_chatFull attributes, type and example ---- -## Constructor: messages\_chatFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|full\_chat|[ChatFull](../types/ChatFull.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_ChatFull](../types/messages_ChatFull.md) - - -### Example: - -``` -$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_chats.md b/docs/API_docs_55/constructors/messages_chats.md deleted file mode 100644 index 1d71f09e..00000000 --- a/docs/API_docs_55/constructors/messages_chats.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_chats -description: messages_chats attributes, type and example ---- -## Constructor: messages\_chats -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chats|Array of [Chat](../types/Chat.md) | Required| - - - -### Type: [messages\_Chats](../types/messages_Chats.md) - - -### Example: - -``` -$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_dhConfig.md b/docs/API_docs_55/constructors/messages_dhConfig.md deleted file mode 100644 index 92cd141e..00000000 --- a/docs/API_docs_55/constructors/messages_dhConfig.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_dhConfig -description: messages_dhConfig attributes, type and example ---- -## Constructor: messages\_dhConfig -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|g|[int](../types/int.md) | Required| -|p|[bytes](../types/bytes.md) | Required| -|version|[int](../types/int.md) | Required| -|random|[bytes](../types/bytes.md) | Required| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -``` -$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_dhConfigNotModified.md b/docs/API_docs_55/constructors/messages_dhConfigNotModified.md deleted file mode 100644 index 5818e747..00000000 --- a/docs/API_docs_55/constructors/messages_dhConfigNotModified.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_dhConfigNotModified -description: messages_dhConfigNotModified attributes, type and example ---- -## Constructor: messages\_dhConfigNotModified -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|random|[bytes](../types/bytes.md) | Required| - - - -### Type: [messages\_DhConfig](../types/messages_DhConfig.md) - - -### Example: - -``` -$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_dialogs.md b/docs/API_docs_55/constructors/messages_dialogs.md deleted file mode 100644 index 95de2b34..00000000 --- a/docs/API_docs_55/constructors/messages_dialogs.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_dialogs -description: messages_dialogs attributes, type and example ---- -## Constructor: messages\_dialogs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dialogs|Array of [Dialog](../types/Dialog.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -``` -$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_dialogsSlice.md b/docs/API_docs_55/constructors/messages_dialogsSlice.md deleted file mode 100644 index 21ce5dd2..00000000 --- a/docs/API_docs_55/constructors/messages_dialogsSlice.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messages_dialogsSlice -description: messages_dialogsSlice attributes, type and example ---- -## Constructor: messages\_dialogsSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|dialogs|Array of [Dialog](../types/Dialog.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Dialogs](../types/messages_Dialogs.md) - - -### Example: - -``` -$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_foundGifs.md b/docs/API_docs_55/constructors/messages_foundGifs.md deleted file mode 100644 index 8268a6b6..00000000 --- a/docs/API_docs_55/constructors/messages_foundGifs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_foundGifs -description: messages_foundGifs attributes, type and example ---- -## Constructor: messages\_foundGifs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|next\_offset|[int](../types/int.md) | Required| -|results|Array of [FoundGif](../types/FoundGif.md) | Required| - - - -### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) - - -### Example: - -``` -$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_messageEditData.md b/docs/API_docs_55/constructors/messages_messageEditData.md deleted file mode 100644 index a451d036..00000000 --- a/docs/API_docs_55/constructors/messages_messageEditData.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_messageEditData -description: messages_messageEditData attributes, type and example ---- -## Constructor: messages\_messageEditData -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|caption|[Bool](../types/Bool.md) | Optional| - - - -### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) - - -### Example: - -``` -$messages_messageEditData = ['_' => 'messages_messageEditData', 'caption' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_messages.md b/docs/API_docs_55/constructors/messages_messages.md deleted file mode 100644 index a3dbc0b2..00000000 --- a/docs/API_docs_55/constructors/messages_messages.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_messages -description: messages_messages attributes, type and example ---- -## Constructor: messages\_messages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_messagesSlice.md b/docs/API_docs_55/constructors/messages_messagesSlice.md deleted file mode 100644 index 9773782b..00000000 --- a/docs/API_docs_55/constructors/messages_messagesSlice.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: messages_messagesSlice -description: messages_messagesSlice attributes, type and example ---- -## Constructor: messages\_messagesSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [messages\_Messages](../types/messages_Messages.md) - - -### Example: - -``` -$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_peerDialogs.md b/docs/API_docs_55/constructors/messages_peerDialogs.md deleted file mode 100644 index 2b328321..00000000 --- a/docs/API_docs_55/constructors/messages_peerDialogs.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: messages_peerDialogs -description: messages_peerDialogs attributes, type and example ---- -## Constructor: messages\_peerDialogs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dialogs|Array of [Dialog](../types/Dialog.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|state|[updates\_State](../types/updates_State.md) | Required| - - - -### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) - - -### Example: - -``` -$messages_peerDialogs = ['_' => 'messages_peerDialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_savedGifs.md b/docs/API_docs_55/constructors/messages_savedGifs.md deleted file mode 100644 index 8c2ba5ca..00000000 --- a/docs/API_docs_55/constructors/messages_savedGifs.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_savedGifs -description: messages_savedGifs attributes, type and example ---- -## Constructor: messages\_savedGifs -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[int](../types/int.md) | Required| -|gifs|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -``` -$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_savedGifsNotModified.md b/docs/API_docs_55/constructors/messages_savedGifsNotModified.md deleted file mode 100644 index 91ce9aed..00000000 --- a/docs/API_docs_55/constructors/messages_savedGifsNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_savedGifsNotModified -description: messages_savedGifsNotModified attributes, type and example ---- -## Constructor: messages\_savedGifsNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) - - -### Example: - -``` -$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_sentEncryptedFile.md b/docs/API_docs_55/constructors/messages_sentEncryptedFile.md deleted file mode 100644 index 3485e0c2..00000000 --- a/docs/API_docs_55/constructors/messages_sentEncryptedFile.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_sentEncryptedFile -description: messages_sentEncryptedFile attributes, type and example ---- -## Constructor: messages\_sentEncryptedFile -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|file|[EncryptedFile](../types/EncryptedFile.md) | Required| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -``` -$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_sentEncryptedMessage.md b/docs/API_docs_55/constructors/messages_sentEncryptedMessage.md deleted file mode 100644 index 23004749..00000000 --- a/docs/API_docs_55/constructors/messages_sentEncryptedMessage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: messages_sentEncryptedMessage -description: messages_sentEncryptedMessage attributes, type and example ---- -## Constructor: messages\_sentEncryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| - - - -### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) - - -### Example: - -``` -$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_stickerSet.md b/docs/API_docs_55/constructors/messages_stickerSet.md deleted file mode 100644 index 0024f636..00000000 --- a/docs/API_docs_55/constructors/messages_stickerSet.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: messages_stickerSet -description: messages_stickerSet attributes, type and example ---- -## Constructor: messages\_stickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|set|[StickerSet](../types/StickerSet.md) | Required| -|packs|Array of [StickerPack](../types/StickerPack.md) | Required| -|documents|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_StickerSet](../types/messages_StickerSet.md) - - -### Example: - -``` -$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_stickers.md b/docs/API_docs_55/constructors/messages_stickers.md deleted file mode 100644 index 02d0e2e1..00000000 --- a/docs/API_docs_55/constructors/messages_stickers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: messages_stickers -description: messages_stickers attributes, type and example ---- -## Constructor: messages\_stickers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|hash|[string](../types/string.md) | Required| -|stickers|Array of [Document](../types/Document.md) | Required| - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -``` -$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/messages_stickersNotModified.md b/docs/API_docs_55/constructors/messages_stickersNotModified.md deleted file mode 100644 index 3b43f4c2..00000000 --- a/docs/API_docs_55/constructors/messages_stickersNotModified.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: messages_stickersNotModified -description: messages_stickersNotModified attributes, type and example ---- -## Constructor: messages\_stickersNotModified -[Back to constructors index](index.md) - - - - - - -### Type: [messages\_Stickers](../types/messages_Stickers.md) - - -### Example: - -``` -$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/nearestDc.md b/docs/API_docs_55/constructors/nearestDc.md deleted file mode 100644 index 70b4ef47..00000000 --- a/docs/API_docs_55/constructors/nearestDc.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: nearestDc -description: nearestDc attributes, type and example ---- -## Constructor: nearestDc -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|country|[string](../types/string.md) | Required| -|this\_dc|[int](../types/int.md) | Required| -|nearest\_dc|[int](../types/int.md) | Required| - - - -### Type: [NearestDc](../types/NearestDc.md) - - -### Example: - -``` -$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/notifyAll.md b/docs/API_docs_55/constructors/notifyAll.md deleted file mode 100644 index 37b7ac98..00000000 --- a/docs/API_docs_55/constructors/notifyAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyAll -description: notifyAll attributes, type and example ---- -## Constructor: notifyAll -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyAll = ['_' => 'notifyAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/notifyChats.md b/docs/API_docs_55/constructors/notifyChats.md deleted file mode 100644 index 0f3cf91e..00000000 --- a/docs/API_docs_55/constructors/notifyChats.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyChats -description: notifyChats attributes, type and example ---- -## Constructor: notifyChats -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyChats = ['_' => 'notifyChats', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/notifyPeer.md b/docs/API_docs_55/constructors/notifyPeer.md deleted file mode 100644 index ea5b1284..00000000 --- a/docs/API_docs_55/constructors/notifyPeer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: notifyPeer -description: notifyPeer attributes, type and example ---- -## Constructor: notifyPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/notifyUsers.md b/docs/API_docs_55/constructors/notifyUsers.md deleted file mode 100644 index 0265ec49..00000000 --- a/docs/API_docs_55/constructors/notifyUsers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: notifyUsers -description: notifyUsers attributes, type and example ---- -## Constructor: notifyUsers -[Back to constructors index](index.md) - - - - - - -### Type: [NotifyPeer](../types/NotifyPeer.md) - - -### Example: - -``` -$notifyUsers = ['_' => 'notifyUsers', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerChannel.md b/docs/API_docs_55/constructors/peerChannel.md deleted file mode 100644 index 52073455..00000000 --- a/docs/API_docs_55/constructors/peerChannel.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerChannel -description: peerChannel attributes, type and example ---- -## Constructor: peerChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerChat.md b/docs/API_docs_55/constructors/peerChat.md deleted file mode 100644 index 4be6446e..00000000 --- a/docs/API_docs_55/constructors/peerChat.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerChat -description: peerChat attributes, type and example ---- -## Constructor: peerChat -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerNotifyEventsAll.md b/docs/API_docs_55/constructors/peerNotifyEventsAll.md deleted file mode 100644 index 7e00908f..00000000 --- a/docs/API_docs_55/constructors/peerNotifyEventsAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifyEventsAll -description: peerNotifyEventsAll attributes, type and example ---- -## Constructor: peerNotifyEventsAll -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) - - -### Example: - -``` -$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerNotifyEventsEmpty.md b/docs/API_docs_55/constructors/peerNotifyEventsEmpty.md deleted file mode 100644 index c2280599..00000000 --- a/docs/API_docs_55/constructors/peerNotifyEventsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifyEventsEmpty -description: peerNotifyEventsEmpty attributes, type and example ---- -## Constructor: peerNotifyEventsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) - - -### Example: - -``` -$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerNotifySettings.md b/docs/API_docs_55/constructors/peerNotifySettings.md deleted file mode 100644 index 4b739e20..00000000 --- a/docs/API_docs_55/constructors/peerNotifySettings.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: peerNotifySettings -description: peerNotifySettings attributes, type and example ---- -## Constructor: peerNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|show\_previews|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|mute\_until|[int](../types/int.md) | Required| -|sound|[string](../types/string.md) | Required| - - - -### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) - - -### Example: - -``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerNotifySettingsEmpty.md b/docs/API_docs_55/constructors/peerNotifySettingsEmpty.md deleted file mode 100644 index fd06975c..00000000 --- a/docs/API_docs_55/constructors/peerNotifySettingsEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: peerNotifySettingsEmpty -description: peerNotifySettingsEmpty attributes, type and example ---- -## Constructor: peerNotifySettingsEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) - - -### Example: - -``` -$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerSettings.md b/docs/API_docs_55/constructors/peerSettings.md deleted file mode 100644 index 96b4ece8..00000000 --- a/docs/API_docs_55/constructors/peerSettings.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerSettings -description: peerSettings attributes, type and example ---- -## Constructor: peerSettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|report\_spam|[Bool](../types/Bool.md) | Optional| - - - -### Type: [PeerSettings](../types/PeerSettings.md) - - -### Example: - -``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/peerUser.md b/docs/API_docs_55/constructors/peerUser.md deleted file mode 100644 index ad976808..00000000 --- a/docs/API_docs_55/constructors/peerUser.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: peerUser -description: peerUser attributes, type and example ---- -## Constructor: peerUser -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| - - - -### Type: [Peer](../types/Peer.md) - - -### Example: - -``` -$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photo.md b/docs/API_docs_55/constructors/photo.md deleted file mode 100644 index eb6dbf10..00000000 --- a/docs/API_docs_55/constructors/photo.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: photo -description: photo attributes, type and example ---- -## Constructor: photo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| - - - -### Type: [Photo](../types/Photo.md) - - -### Example: - -``` -$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photoCachedSize.md b/docs/API_docs_55/constructors/photoCachedSize.md deleted file mode 100644 index 8a2812ac..00000000 --- a/docs/API_docs_55/constructors/photoCachedSize.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: photoCachedSize -description: photoCachedSize attributes, type and example ---- -## Constructor: photoCachedSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|location|[FileLocation](../types/FileLocation.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photoEmpty.md b/docs/API_docs_55/constructors/photoEmpty.md deleted file mode 100644 index b24baa7b..00000000 --- a/docs/API_docs_55/constructors/photoEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: photoEmpty -description: photoEmpty attributes, type and example ---- -## Constructor: photoEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [Photo](../types/Photo.md) - - -### Example: - -``` -$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photoSize.md b/docs/API_docs_55/constructors/photoSize.md deleted file mode 100644 index 2daefc38..00000000 --- a/docs/API_docs_55/constructors/photoSize.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: photoSize -description: photoSize attributes, type and example ---- -## Constructor: photoSize -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|location|[FileLocation](../types/FileLocation.md) | Required| -|w|[int](../types/int.md) | Required| -|h|[int](../types/int.md) | Required| -|size|[int](../types/int.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photoSizeEmpty.md b/docs/API_docs_55/constructors/photoSizeEmpty.md deleted file mode 100644 index e4772c6a..00000000 --- a/docs/API_docs_55/constructors/photoSizeEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: photoSizeEmpty -description: photoSizeEmpty attributes, type and example ---- -## Constructor: photoSizeEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| - - - -### Type: [PhotoSize](../types/PhotoSize.md) - - -### Example: - -``` -$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photos_photo.md b/docs/API_docs_55/constructors/photos_photo.md deleted file mode 100644 index 6360d063..00000000 --- a/docs/API_docs_55/constructors/photos_photo.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: photos_photo -description: photos_photo attributes, type and example ---- -## Constructor: photos\_photo -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo|[Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photo](../types/photos_Photo.md) - - -### Example: - -``` -$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photos_photos.md b/docs/API_docs_55/constructors/photos_photos.md deleted file mode 100644 index 0a80f572..00000000 --- a/docs/API_docs_55/constructors/photos_photos.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: photos_photos -description: photos_photos attributes, type and example ---- -## Constructor: photos\_photos -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photos|Array of [Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -``` -$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/photos_photosSlice.md b/docs/API_docs_55/constructors/photos_photosSlice.md deleted file mode 100644 index 59b709cd..00000000 --- a/docs/API_docs_55/constructors/photos_photosSlice.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: photos_photosSlice -description: photos_photosSlice attributes, type and example ---- -## Constructor: photos\_photosSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|count|[int](../types/int.md) | Required| -|photos|Array of [Photo](../types/Photo.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [photos\_Photos](../types/photos_Photos.md) - - -### Example: - -``` -$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyKeyChatInvite.md b/docs/API_docs_55/constructors/privacyKeyChatInvite.md deleted file mode 100644 index 69709f27..00000000 --- a/docs/API_docs_55/constructors/privacyKeyChatInvite.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyKeyChatInvite -description: privacyKeyChatInvite attributes, type and example ---- -## Constructor: privacyKeyChatInvite -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyKey](../types/PrivacyKey.md) - - -### Example: - -``` -$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyKeyStatusTimestamp.md b/docs/API_docs_55/constructors/privacyKeyStatusTimestamp.md deleted file mode 100644 index 6b78b639..00000000 --- a/docs/API_docs_55/constructors/privacyKeyStatusTimestamp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyKeyStatusTimestamp -description: privacyKeyStatusTimestamp attributes, type and example ---- -## Constructor: privacyKeyStatusTimestamp -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyKey](../types/PrivacyKey.md) - - -### Example: - -``` -$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueAllowAll.md b/docs/API_docs_55/constructors/privacyValueAllowAll.md deleted file mode 100644 index 3caa3a6a..00000000 --- a/docs/API_docs_55/constructors/privacyValueAllowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueAllowAll -description: privacyValueAllowAll attributes, type and example ---- -## Constructor: privacyValueAllowAll -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueAllowContacts.md b/docs/API_docs_55/constructors/privacyValueAllowContacts.md deleted file mode 100644 index a0a92f61..00000000 --- a/docs/API_docs_55/constructors/privacyValueAllowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueAllowContacts -description: privacyValueAllowContacts attributes, type and example ---- -## Constructor: privacyValueAllowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueAllowUsers.md b/docs/API_docs_55/constructors/privacyValueAllowUsers.md deleted file mode 100644 index b2a99fe0..00000000 --- a/docs/API_docs_55/constructors/privacyValueAllowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: privacyValueAllowUsers -description: privacyValueAllowUsers attributes, type and example ---- -## Constructor: privacyValueAllowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueDisallowAll.md b/docs/API_docs_55/constructors/privacyValueDisallowAll.md deleted file mode 100644 index 8050d7d2..00000000 --- a/docs/API_docs_55/constructors/privacyValueDisallowAll.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueDisallowAll -description: privacyValueDisallowAll attributes, type and example ---- -## Constructor: privacyValueDisallowAll -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueDisallowContacts.md b/docs/API_docs_55/constructors/privacyValueDisallowContacts.md deleted file mode 100644 index ce529dc4..00000000 --- a/docs/API_docs_55/constructors/privacyValueDisallowContacts.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: privacyValueDisallowContacts -description: privacyValueDisallowContacts attributes, type and example ---- -## Constructor: privacyValueDisallowContacts -[Back to constructors index](index.md) - - - - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/privacyValueDisallowUsers.md b/docs/API_docs_55/constructors/privacyValueDisallowUsers.md deleted file mode 100644 index 7036cfe1..00000000 --- a/docs/API_docs_55/constructors/privacyValueDisallowUsers.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: privacyValueDisallowUsers -description: privacyValueDisallowUsers attributes, type and example ---- -## Constructor: privacyValueDisallowUsers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|users|Array of [int](../types/int.md) | Required| - - - -### Type: [PrivacyRule](../types/PrivacyRule.md) - - -### Example: - -``` -$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/receivedNotifyMessage.md b/docs/API_docs_55/constructors/receivedNotifyMessage.md deleted file mode 100644 index df326902..00000000 --- a/docs/API_docs_55/constructors/receivedNotifyMessage.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: receivedNotifyMessage -description: receivedNotifyMessage attributes, type and example ---- -## Constructor: receivedNotifyMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) - - -### Example: - -``` -$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/replyInlineMarkup.md b/docs/API_docs_55/constructors/replyInlineMarkup.md deleted file mode 100644 index 3de826d4..00000000 --- a/docs/API_docs_55/constructors/replyInlineMarkup.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: replyInlineMarkup -description: replyInlineMarkup attributes, type and example ---- -## Constructor: replyInlineMarkup -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/replyKeyboardForceReply.md b/docs/API_docs_55/constructors/replyKeyboardForceReply.md deleted file mode 100644 index 65cd28d3..00000000 --- a/docs/API_docs_55/constructors/replyKeyboardForceReply.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: replyKeyboardForceReply -description: replyKeyboardForceReply attributes, type and example ---- -## Constructor: replyKeyboardForceReply -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|single\_use|[Bool](../types/Bool.md) | Optional| -|selective|[Bool](../types/Bool.md) | Optional| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/replyKeyboardHide.md b/docs/API_docs_55/constructors/replyKeyboardHide.md deleted file mode 100644 index b4bc40a7..00000000 --- a/docs/API_docs_55/constructors/replyKeyboardHide.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: replyKeyboardHide -description: replyKeyboardHide attributes, type and example ---- -## Constructor: replyKeyboardHide -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|selective|[Bool](../types/Bool.md) | Optional| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/replyKeyboardMarkup.md b/docs/API_docs_55/constructors/replyKeyboardMarkup.md deleted file mode 100644 index 270df64d..00000000 --- a/docs/API_docs_55/constructors/replyKeyboardMarkup.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: replyKeyboardMarkup -description: replyKeyboardMarkup attributes, type and example ---- -## Constructor: replyKeyboardMarkup -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|resize|[Bool](../types/Bool.md) | Optional| -|single\_use|[Bool](../types/Bool.md) | Optional| -|selective|[Bool](../types/Bool.md) | Optional| -|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| - - - -### Type: [ReplyMarkup](../types/ReplyMarkup.md) - - -### Example: - -``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageCancelAction.md b/docs/API_docs_55/constructors/sendMessageCancelAction.md deleted file mode 100644 index 28daa59b..00000000 --- a/docs/API_docs_55/constructors/sendMessageCancelAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageCancelAction -description: sendMessageCancelAction attributes, type and example ---- -## Constructor: sendMessageCancelAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageChooseContactAction.md b/docs/API_docs_55/constructors/sendMessageChooseContactAction.md deleted file mode 100644 index e3572596..00000000 --- a/docs/API_docs_55/constructors/sendMessageChooseContactAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageChooseContactAction -description: sendMessageChooseContactAction attributes, type and example ---- -## Constructor: sendMessageChooseContactAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageGeoLocationAction.md b/docs/API_docs_55/constructors/sendMessageGeoLocationAction.md deleted file mode 100644 index 03ea56c3..00000000 --- a/docs/API_docs_55/constructors/sendMessageGeoLocationAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageGeoLocationAction -description: sendMessageGeoLocationAction attributes, type and example ---- -## Constructor: sendMessageGeoLocationAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageRecordAudioAction.md b/docs/API_docs_55/constructors/sendMessageRecordAudioAction.md deleted file mode 100644 index d272ccd7..00000000 --- a/docs/API_docs_55/constructors/sendMessageRecordAudioAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageRecordAudioAction -description: sendMessageRecordAudioAction attributes, type and example ---- -## Constructor: sendMessageRecordAudioAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageRecordVideoAction.md b/docs/API_docs_55/constructors/sendMessageRecordVideoAction.md deleted file mode 100644 index be9e2c48..00000000 --- a/docs/API_docs_55/constructors/sendMessageRecordVideoAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageRecordVideoAction -description: sendMessageRecordVideoAction attributes, type and example ---- -## Constructor: sendMessageRecordVideoAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageTypingAction.md b/docs/API_docs_55/constructors/sendMessageTypingAction.md deleted file mode 100644 index 3ad7084c..00000000 --- a/docs/API_docs_55/constructors/sendMessageTypingAction.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: sendMessageTypingAction -description: sendMessageTypingAction attributes, type and example ---- -## Constructor: sendMessageTypingAction -[Back to constructors index](index.md) - - - - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageUploadAudioAction.md b/docs/API_docs_55/constructors/sendMessageUploadAudioAction.md deleted file mode 100644 index 70067213..00000000 --- a/docs/API_docs_55/constructors/sendMessageUploadAudioAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadAudioAction -description: sendMessageUploadAudioAction attributes, type and example ---- -## Constructor: sendMessageUploadAudioAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageUploadDocumentAction.md b/docs/API_docs_55/constructors/sendMessageUploadDocumentAction.md deleted file mode 100644 index ce1cf442..00000000 --- a/docs/API_docs_55/constructors/sendMessageUploadDocumentAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadDocumentAction -description: sendMessageUploadDocumentAction attributes, type and example ---- -## Constructor: sendMessageUploadDocumentAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageUploadPhotoAction.md b/docs/API_docs_55/constructors/sendMessageUploadPhotoAction.md deleted file mode 100644 index b9cd2ea9..00000000 --- a/docs/API_docs_55/constructors/sendMessageUploadPhotoAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadPhotoAction -description: sendMessageUploadPhotoAction attributes, type and example ---- -## Constructor: sendMessageUploadPhotoAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/sendMessageUploadVideoAction.md b/docs/API_docs_55/constructors/sendMessageUploadVideoAction.md deleted file mode 100644 index 03f65b6e..00000000 --- a/docs/API_docs_55/constructors/sendMessageUploadVideoAction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: sendMessageUploadVideoAction -description: sendMessageUploadVideoAction attributes, type and example ---- -## Constructor: sendMessageUploadVideoAction -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|progress|[int](../types/int.md) | Required| - - - -### Type: [SendMessageAction](../types/SendMessageAction.md) - - -### Example: - -``` -$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/stickerPack.md b/docs/API_docs_55/constructors/stickerPack.md deleted file mode 100644 index d6a15058..00000000 --- a/docs/API_docs_55/constructors/stickerPack.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: stickerPack -description: stickerPack attributes, type and example ---- -## Constructor: stickerPack -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|emoticon|[string](../types/string.md) | Required| -|documents|Array of [long](../types/long.md) | Required| - - - -### Type: [StickerPack](../types/StickerPack.md) - - -### Example: - -``` -$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/stickerSet.md b/docs/API_docs_55/constructors/stickerSet.md deleted file mode 100644 index ac17f5dc..00000000 --- a/docs/API_docs_55/constructors/stickerSet.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: stickerSet -description: stickerSet attributes, type and example ---- -## Constructor: stickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|installed|[Bool](../types/Bool.md) | Optional| -|archived|[Bool](../types/Bool.md) | Optional| -|official|[Bool](../types/Bool.md) | Optional| -|id|[long](../types/long.md) | Required| -|access\_hash|[long](../types/long.md) | Required| -|title|[string](../types/string.md) | Required| -|short\_name|[string](../types/string.md) | Required| -|count|[int](../types/int.md) | Required| -|hash|[int](../types/int.md) | Required| - - - -### Type: [StickerSet](../types/StickerSet.md) - - -### Example: - -``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileGif.md b/docs/API_docs_55/constructors/storage_fileGif.md deleted file mode 100644 index ca2e33b2..00000000 --- a/docs/API_docs_55/constructors/storage_fileGif.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileGif -description: storage_fileGif attributes, type and example ---- -## Constructor: storage\_fileGif -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileGif = ['_' => 'storage_fileGif', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileJpeg.md b/docs/API_docs_55/constructors/storage_fileJpeg.md deleted file mode 100644 index 04e3ec00..00000000 --- a/docs/API_docs_55/constructors/storage_fileJpeg.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileJpeg -description: storage_fileJpeg attributes, type and example ---- -## Constructor: storage\_fileJpeg -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileMov.md b/docs/API_docs_55/constructors/storage_fileMov.md deleted file mode 100644 index 1cea0f2d..00000000 --- a/docs/API_docs_55/constructors/storage_fileMov.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMov -description: storage_fileMov attributes, type and example ---- -## Constructor: storage\_fileMov -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMov = ['_' => 'storage_fileMov', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileMp3.md b/docs/API_docs_55/constructors/storage_fileMp3.md deleted file mode 100644 index 73ab3557..00000000 --- a/docs/API_docs_55/constructors/storage_fileMp3.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMp3 -description: storage_fileMp3 attributes, type and example ---- -## Constructor: storage\_fileMp3 -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileMp4.md b/docs/API_docs_55/constructors/storage_fileMp4.md deleted file mode 100644 index 66d23c20..00000000 --- a/docs/API_docs_55/constructors/storage_fileMp4.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileMp4 -description: storage_fileMp4 attributes, type and example ---- -## Constructor: storage\_fileMp4 -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_filePartial.md b/docs/API_docs_55/constructors/storage_filePartial.md deleted file mode 100644 index 28c0f66c..00000000 --- a/docs/API_docs_55/constructors/storage_filePartial.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePartial -description: storage_filePartial attributes, type and example ---- -## Constructor: storage\_filePartial -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePartial = ['_' => 'storage_filePartial', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_filePdf.md b/docs/API_docs_55/constructors/storage_filePdf.md deleted file mode 100644 index afa57fcc..00000000 --- a/docs/API_docs_55/constructors/storage_filePdf.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePdf -description: storage_filePdf attributes, type and example ---- -## Constructor: storage\_filePdf -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePdf = ['_' => 'storage_filePdf', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_filePng.md b/docs/API_docs_55/constructors/storage_filePng.md deleted file mode 100644 index 28cec34c..00000000 --- a/docs/API_docs_55/constructors/storage_filePng.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_filePng -description: storage_filePng attributes, type and example ---- -## Constructor: storage\_filePng -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_filePng = ['_' => 'storage_filePng', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileUnknown.md b/docs/API_docs_55/constructors/storage_fileUnknown.md deleted file mode 100644 index 07586f11..00000000 --- a/docs/API_docs_55/constructors/storage_fileUnknown.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileUnknown -description: storage_fileUnknown attributes, type and example ---- -## Constructor: storage\_fileUnknown -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/storage_fileWebp.md b/docs/API_docs_55/constructors/storage_fileWebp.md deleted file mode 100644 index efb0c672..00000000 --- a/docs/API_docs_55/constructors/storage_fileWebp.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: storage_fileWebp -description: storage_fileWebp attributes, type and example ---- -## Constructor: storage\_fileWebp -[Back to constructors index](index.md) - - - - - - -### Type: [storage\_FileType](../types/storage_FileType.md) - - -### Example: - -``` -$storage_fileWebp = ['_' => 'storage_fileWebp', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeer.md b/docs/API_docs_55/constructors/topPeer.md deleted file mode 100644 index 7b444462..00000000 --- a/docs/API_docs_55/constructors/topPeer.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: topPeer -description: topPeer attributes, type and example ---- -## Constructor: topPeer -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|rating|[double](../types/double.md) | Required| - - - -### Type: [TopPeer](../types/TopPeer.md) - - -### Example: - -``` -$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryBotsInline.md b/docs/API_docs_55/constructors/topPeerCategoryBotsInline.md deleted file mode 100644 index da3cd37a..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryBotsInline.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: topPeerCategoryBotsInline -description: topPeerCategoryBotsInline attributes, type and example ---- -## Constructor: topPeerCategoryBotsInline -[Back to constructors index](index.md) - - - - - - -### Type: [TopPeerCategory](../types/TopPeerCategory.md) - - -### Example: - -``` -$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryBotsPM.md b/docs/API_docs_55/constructors/topPeerCategoryBotsPM.md deleted file mode 100644 index cc704395..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryBotsPM.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: topPeerCategoryBotsPM -description: topPeerCategoryBotsPM attributes, type and example ---- -## Constructor: topPeerCategoryBotsPM -[Back to constructors index](index.md) - - - - - - -### Type: [TopPeerCategory](../types/TopPeerCategory.md) - - -### Example: - -``` -$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryChannels.md b/docs/API_docs_55/constructors/topPeerCategoryChannels.md deleted file mode 100644 index 51a02b67..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryChannels.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: topPeerCategoryChannels -description: topPeerCategoryChannels attributes, type and example ---- -## Constructor: topPeerCategoryChannels -[Back to constructors index](index.md) - - - - - - -### Type: [TopPeerCategory](../types/TopPeerCategory.md) - - -### Example: - -``` -$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryCorrespondents.md b/docs/API_docs_55/constructors/topPeerCategoryCorrespondents.md deleted file mode 100644 index 5c762a97..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryCorrespondents.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: topPeerCategoryCorrespondents -description: topPeerCategoryCorrespondents attributes, type and example ---- -## Constructor: topPeerCategoryCorrespondents -[Back to constructors index](index.md) - - - - - - -### Type: [TopPeerCategory](../types/TopPeerCategory.md) - - -### Example: - -``` -$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryGroups.md b/docs/API_docs_55/constructors/topPeerCategoryGroups.md deleted file mode 100644 index 2cdf7441..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryGroups.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: topPeerCategoryGroups -description: topPeerCategoryGroups attributes, type and example ---- -## Constructor: topPeerCategoryGroups -[Back to constructors index](index.md) - - - - - - -### Type: [TopPeerCategory](../types/TopPeerCategory.md) - - -### Example: - -``` -$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/topPeerCategoryPeers.md b/docs/API_docs_55/constructors/topPeerCategoryPeers.md deleted file mode 100644 index 82178d30..00000000 --- a/docs/API_docs_55/constructors/topPeerCategoryPeers.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: topPeerCategoryPeers -description: topPeerCategoryPeers attributes, type and example ---- -## Constructor: topPeerCategoryPeers -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| -|count|[int](../types/int.md) | Required| -|peers|Array of [TopPeer](../types/TopPeer.md) | Required| - - - -### Type: [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) - - -### Example: - -``` -$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/true.md b/docs/API_docs_55/constructors/true.md deleted file mode 100644 index aa7d8ac7..00000000 --- a/docs/API_docs_55/constructors/true.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: true -description: true attributes, type and example ---- -## Constructor: true -[Back to constructors index](index.md) - - - - - - -### Type: [True](../types/True.md) - - -### Example: - -``` -$true = ['_' => 'true', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateBotCallbackQuery.md b/docs/API_docs_55/constructors/updateBotCallbackQuery.md deleted file mode 100644 index c405b981..00000000 --- a/docs/API_docs_55/constructors/updateBotCallbackQuery.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updateBotCallbackQuery -description: updateBotCallbackQuery attributes, type and example ---- -## Constructor: updateBotCallbackQuery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|query\_id|[long](../types/long.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|peer|[Peer](../types/Peer.md) | Required| -|msg\_id|[int](../types/int.md) | Required| -|data|[bytes](../types/bytes.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateBotInlineQuery.md b/docs/API_docs_55/constructors/updateBotInlineQuery.md deleted file mode 100644 index f1cda893..00000000 --- a/docs/API_docs_55/constructors/updateBotInlineQuery.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updateBotInlineQuery -description: updateBotInlineQuery attributes, type and example ---- -## Constructor: updateBotInlineQuery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|query\_id|[long](../types/long.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|query|[string](../types/string.md) | Required| -|geo|[GeoPoint](../types/GeoPoint.md) | Optional| -|offset|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateBotInlineSend.md b/docs/API_docs_55/constructors/updateBotInlineSend.md deleted file mode 100644 index 42df2637..00000000 --- a/docs/API_docs_55/constructors/updateBotInlineSend.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updateBotInlineSend -description: updateBotInlineSend attributes, type and example ---- -## Constructor: updateBotInlineSend -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|query|[string](../types/string.md) | Required| -|geo|[GeoPoint](../types/GeoPoint.md) | Optional| -|id|[string](../types/string.md) | Required| -|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Optional| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChannel.md b/docs/API_docs_55/constructors/updateChannel.md deleted file mode 100644 index 8a9f13b2..00000000 --- a/docs/API_docs_55/constructors/updateChannel.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateChannel -description: updateChannel attributes, type and example ---- -## Constructor: updateChannel -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChannelMessageViews.md b/docs/API_docs_55/constructors/updateChannelMessageViews.md deleted file mode 100644 index 32862895..00000000 --- a/docs/API_docs_55/constructors/updateChannelMessageViews.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChannelMessageViews -description: updateChannelMessageViews attributes, type and example ---- -## Constructor: updateChannelMessageViews -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|id|[int](../types/int.md) | Required| -|views|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChannelPinnedMessage.md b/docs/API_docs_55/constructors/updateChannelPinnedMessage.md deleted file mode 100644 index 8d303d7e..00000000 --- a/docs/API_docs_55/constructors/updateChannelPinnedMessage.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateChannelPinnedMessage -description: updateChannelPinnedMessage attributes, type and example ---- -## Constructor: updateChannelPinnedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChannelTooLong.md b/docs/API_docs_55/constructors/updateChannelTooLong.md deleted file mode 100644 index 2f50b1e0..00000000 --- a/docs/API_docs_55/constructors/updateChannelTooLong.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateChannelTooLong -description: updateChannelTooLong attributes, type and example ---- -## Constructor: updateChannelTooLong -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Optional| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatAdmins.md b/docs/API_docs_55/constructors/updateChatAdmins.md deleted file mode 100644 index 6694a840..00000000 --- a/docs/API_docs_55/constructors/updateChatAdmins.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatAdmins -description: updateChatAdmins attributes, type and example ---- -## Constructor: updateChatAdmins -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|enabled|[Bool](../types/Bool.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatParticipantAdd.md b/docs/API_docs_55/constructors/updateChatParticipantAdd.md deleted file mode 100644 index 6f0c88fb..00000000 --- a/docs/API_docs_55/constructors/updateChatParticipantAdd.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updateChatParticipantAdd -description: updateChatParticipantAdd attributes, type and example ---- -## Constructor: updateChatParticipantAdd -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|inviter\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatParticipantAdmin.md b/docs/API_docs_55/constructors/updateChatParticipantAdmin.md deleted file mode 100644 index f2e493c4..00000000 --- a/docs/API_docs_55/constructors/updateChatParticipantAdmin.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateChatParticipantAdmin -description: updateChatParticipantAdmin attributes, type and example ---- -## Constructor: updateChatParticipantAdmin -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|is\_admin|[Bool](../types/Bool.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatParticipantDelete.md b/docs/API_docs_55/constructors/updateChatParticipantDelete.md deleted file mode 100644 index 7693f7f1..00000000 --- a/docs/API_docs_55/constructors/updateChatParticipantDelete.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatParticipantDelete -description: updateChatParticipantDelete attributes, type and example ---- -## Constructor: updateChatParticipantDelete -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|version|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatParticipants.md b/docs/API_docs_55/constructors/updateChatParticipants.md deleted file mode 100644 index 0cf963cf..00000000 --- a/docs/API_docs_55/constructors/updateChatParticipants.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateChatParticipants -description: updateChatParticipants attributes, type and example ---- -## Constructor: updateChatParticipants -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateChatUserTyping.md b/docs/API_docs_55/constructors/updateChatUserTyping.md deleted file mode 100644 index ae150ac2..00000000 --- a/docs/API_docs_55/constructors/updateChatUserTyping.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateChatUserTyping -description: updateChatUserTyping attributes, type and example ---- -## Constructor: updateChatUserTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|action|[SendMessageAction](../types/SendMessageAction.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateContactLink.md b/docs/API_docs_55/constructors/updateContactLink.md deleted file mode 100644 index eb6ee178..00000000 --- a/docs/API_docs_55/constructors/updateContactLink.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateContactLink -description: updateContactLink attributes, type and example ---- -## Constructor: updateContactLink -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|my\_link|[ContactLink](../types/ContactLink.md) | Required| -|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateContactRegistered.md b/docs/API_docs_55/constructors/updateContactRegistered.md deleted file mode 100644 index 589eb7d3..00000000 --- a/docs/API_docs_55/constructors/updateContactRegistered.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateContactRegistered -description: updateContactRegistered attributes, type and example ---- -## Constructor: updateContactRegistered -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateDcOptions.md b/docs/API_docs_55/constructors/updateDcOptions.md deleted file mode 100644 index 066cabcc..00000000 --- a/docs/API_docs_55/constructors/updateDcOptions.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateDcOptions -description: updateDcOptions attributes, type and example ---- -## Constructor: updateDcOptions -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateDeleteChannelMessages.md b/docs/API_docs_55/constructors/updateDeleteChannelMessages.md deleted file mode 100644 index 407bb38f..00000000 --- a/docs/API_docs_55/constructors/updateDeleteChannelMessages.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateDeleteChannelMessages -description: updateDeleteChannelMessages attributes, type and example ---- -## Constructor: updateDeleteChannelMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|messages|Array of [int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateDeleteMessages.md b/docs/API_docs_55/constructors/updateDeleteMessages.md deleted file mode 100644 index 195058a8..00000000 --- a/docs/API_docs_55/constructors/updateDeleteMessages.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateDeleteMessages -description: updateDeleteMessages attributes, type and example ---- -## Constructor: updateDeleteMessages -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateDraftMessage.md b/docs/API_docs_55/constructors/updateDraftMessage.md deleted file mode 100644 index b85877bb..00000000 --- a/docs/API_docs_55/constructors/updateDraftMessage.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateDraftMessage -description: updateDraftMessage attributes, type and example ---- -## Constructor: updateDraftMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|draft|[DraftMessage](../types/DraftMessage.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateEditChannelMessage.md b/docs/API_docs_55/constructors/updateEditChannelMessage.md deleted file mode 100644 index 4c58bd80..00000000 --- a/docs/API_docs_55/constructors/updateEditChannelMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateEditChannelMessage -description: updateEditChannelMessage attributes, type and example ---- -## Constructor: updateEditChannelMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[Message](../types/Message.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateEditMessage.md b/docs/API_docs_55/constructors/updateEditMessage.md deleted file mode 100644 index 8a0cc04a..00000000 --- a/docs/API_docs_55/constructors/updateEditMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateEditMessage -description: updateEditMessage attributes, type and example ---- -## Constructor: updateEditMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[Message](../types/Message.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateEncryptedChatTyping.md b/docs/API_docs_55/constructors/updateEncryptedChatTyping.md deleted file mode 100644 index baace573..00000000 --- a/docs/API_docs_55/constructors/updateEncryptedChatTyping.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateEncryptedChatTyping -description: updateEncryptedChatTyping attributes, type and example ---- -## Constructor: updateEncryptedChatTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateEncryptedMessagesRead.md b/docs/API_docs_55/constructors/updateEncryptedMessagesRead.md deleted file mode 100644 index a024c007..00000000 --- a/docs/API_docs_55/constructors/updateEncryptedMessagesRead.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateEncryptedMessagesRead -description: updateEncryptedMessagesRead attributes, type and example ---- -## Constructor: updateEncryptedMessagesRead -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat\_id|[int](../types/int.md) | Required| -|max\_date|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateEncryption.md b/docs/API_docs_55/constructors/updateEncryption.md deleted file mode 100644 index bc2187a4..00000000 --- a/docs/API_docs_55/constructors/updateEncryption.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateEncryption -description: updateEncryption attributes, type and example ---- -## Constructor: updateEncryption -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateInlineBotCallbackQuery.md b/docs/API_docs_55/constructors/updateInlineBotCallbackQuery.md deleted file mode 100644 index db22fba0..00000000 --- a/docs/API_docs_55/constructors/updateInlineBotCallbackQuery.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateInlineBotCallbackQuery -description: updateInlineBotCallbackQuery attributes, type and example ---- -## Constructor: updateInlineBotCallbackQuery -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|query\_id|[long](../types/long.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| -|data|[bytes](../types/bytes.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateMessageID.md b/docs/API_docs_55/constructors/updateMessageID.md deleted file mode 100644 index 68ade34d..00000000 --- a/docs/API_docs_55/constructors/updateMessageID.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateMessageID -description: updateMessageID attributes, type and example ---- -## Constructor: updateMessageID -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNewAuthorization.md b/docs/API_docs_55/constructors/updateNewAuthorization.md deleted file mode 100644 index 86b90947..00000000 --- a/docs/API_docs_55/constructors/updateNewAuthorization.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateNewAuthorization -description: updateNewAuthorization attributes, type and example ---- -## Constructor: updateNewAuthorization -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|auth\_key\_id|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| -|device|[string](../types/string.md) | Required| -|location|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNewChannelMessage.md b/docs/API_docs_55/constructors/updateNewChannelMessage.md deleted file mode 100644 index b76f7d8a..00000000 --- a/docs/API_docs_55/constructors/updateNewChannelMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateNewChannelMessage -description: updateNewChannelMessage attributes, type and example ---- -## Constructor: updateNewChannelMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[Message](../types/Message.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNewEncryptedMessage.md b/docs/API_docs_55/constructors/updateNewEncryptedMessage.md deleted file mode 100644 index edf0794a..00000000 --- a/docs/API_docs_55/constructors/updateNewEncryptedMessage.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateNewEncryptedMessage -description: updateNewEncryptedMessage attributes, type and example ---- -## Constructor: updateNewEncryptedMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| -|qts|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNewMessage.md b/docs/API_docs_55/constructors/updateNewMessage.md deleted file mode 100644 index 01b1b1e2..00000000 --- a/docs/API_docs_55/constructors/updateNewMessage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateNewMessage -description: updateNewMessage attributes, type and example ---- -## Constructor: updateNewMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|message|[Message](../types/Message.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNewStickerSet.md b/docs/API_docs_55/constructors/updateNewStickerSet.md deleted file mode 100644 index 223d0670..00000000 --- a/docs/API_docs_55/constructors/updateNewStickerSet.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateNewStickerSet -description: updateNewStickerSet attributes, type and example ---- -## Constructor: updateNewStickerSet -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateNotifySettings.md b/docs/API_docs_55/constructors/updateNotifySettings.md deleted file mode 100644 index f48b0548..00000000 --- a/docs/API_docs_55/constructors/updateNotifySettings.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateNotifySettings -description: updateNotifySettings attributes, type and example ---- -## Constructor: updateNotifySettings -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updatePrivacy.md b/docs/API_docs_55/constructors/updatePrivacy.md deleted file mode 100644 index 7d29789c..00000000 --- a/docs/API_docs_55/constructors/updatePrivacy.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updatePrivacy -description: updatePrivacy attributes, type and example ---- -## Constructor: updatePrivacy -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|key|[PrivacyKey](../types/PrivacyKey.md) | Required| -|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateReadChannelInbox.md b/docs/API_docs_55/constructors/updateReadChannelInbox.md deleted file mode 100644 index 8abde064..00000000 --- a/docs/API_docs_55/constructors/updateReadChannelInbox.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateReadChannelInbox -description: updateReadChannelInbox attributes, type and example ---- -## Constructor: updateReadChannelInbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateReadChannelOutbox.md b/docs/API_docs_55/constructors/updateReadChannelOutbox.md deleted file mode 100644 index dce3e1dc..00000000 --- a/docs/API_docs_55/constructors/updateReadChannelOutbox.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateReadChannelOutbox -description: updateReadChannelOutbox attributes, type and example ---- -## Constructor: updateReadChannelOutbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|channel\_id|[int](../types/int.md) | Required| -|max\_id|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateReadHistoryInbox.md b/docs/API_docs_55/constructors/updateReadHistoryInbox.md deleted file mode 100644 index 4ade3037..00000000 --- a/docs/API_docs_55/constructors/updateReadHistoryInbox.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateReadHistoryInbox -description: updateReadHistoryInbox attributes, type and example ---- -## Constructor: updateReadHistoryInbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|max\_id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateReadHistoryOutbox.md b/docs/API_docs_55/constructors/updateReadHistoryOutbox.md deleted file mode 100644 index cb4896d3..00000000 --- a/docs/API_docs_55/constructors/updateReadHistoryOutbox.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateReadHistoryOutbox -description: updateReadHistoryOutbox attributes, type and example ---- -## Constructor: updateReadHistoryOutbox -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|peer|[Peer](../types/Peer.md) | Required| -|max\_id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateReadMessagesContents.md b/docs/API_docs_55/constructors/updateReadMessagesContents.md deleted file mode 100644 index 95f92a34..00000000 --- a/docs/API_docs_55/constructors/updateReadMessagesContents.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateReadMessagesContents -description: updateReadMessagesContents attributes, type and example ---- -## Constructor: updateReadMessagesContents -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|messages|Array of [int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateSavedGifs.md b/docs/API_docs_55/constructors/updateSavedGifs.md deleted file mode 100644 index f85d2d05..00000000 --- a/docs/API_docs_55/constructors/updateSavedGifs.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updateSavedGifs -description: updateSavedGifs attributes, type and example ---- -## Constructor: updateSavedGifs -[Back to constructors index](index.md) - - - - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateSavedGifs = ['_' => 'updateSavedGifs', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateServiceNotification.md b/docs/API_docs_55/constructors/updateServiceNotification.md deleted file mode 100644 index 8352586e..00000000 --- a/docs/API_docs_55/constructors/updateServiceNotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateServiceNotification -description: updateServiceNotification attributes, type and example ---- -## Constructor: updateServiceNotification -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[string](../types/string.md) | Required| -|message|[string](../types/string.md) | Required| -|media|[MessageMedia](../types/MessageMedia.md) | Required| -|popup|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateShort.md b/docs/API_docs_55/constructors/updateShort.md deleted file mode 100644 index ffda6b42..00000000 --- a/docs/API_docs_55/constructors/updateShort.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateShort -description: updateShort attributes, type and example ---- -## Constructor: updateShort -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|update|[Update](../types/Update.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateShortChatMessage.md b/docs/API_docs_55/constructors/updateShortChatMessage.md deleted file mode 100644 index 07818b3d..00000000 --- a/docs/API_docs_55/constructors/updateShortChatMessage.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: updateShortChatMessage -description: updateShortChatMessage attributes, type and example ---- -## Constructor: updateShortChatMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|from\_id|[int](../types/int.md) | Required| -|chat\_id|[int](../types/int.md) | Required| -|message|[string](../types/string.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| -|via\_bot\_id|[int](../types/int.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateShortMessage.md b/docs/API_docs_55/constructors/updateShortMessage.md deleted file mode 100644 index b0adbc7f..00000000 --- a/docs/API_docs_55/constructors/updateShortMessage.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: updateShortMessage -description: updateShortMessage attributes, type and example ---- -## Constructor: updateShortMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|out|[Bool](../types/Bool.md) | Optional| -|mentioned|[Bool](../types/Bool.md) | Optional| -|media\_unread|[Bool](../types/Bool.md) | Optional| -|silent|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|user\_id|[int](../types/int.md) | Required| -|message|[string](../types/string.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| -|via\_bot\_id|[int](../types/int.md) | Optional| -|reply\_to\_msg\_id|[int](../types/int.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateShortSentMessage.md b/docs/API_docs_55/constructors/updateShortSentMessage.md deleted file mode 100644 index ec550f48..00000000 --- a/docs/API_docs_55/constructors/updateShortSentMessage.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: updateShortSentMessage -description: updateShortSentMessage attributes, type and example ---- -## Constructor: updateShortSentMessage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|out|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|media|[MessageMedia](../types/MessageMedia.md) | Optional| -|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateStickerSets.md b/docs/API_docs_55/constructors/updateStickerSets.md deleted file mode 100644 index 138b9ae5..00000000 --- a/docs/API_docs_55/constructors/updateStickerSets.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updateStickerSets -description: updateStickerSets attributes, type and example ---- -## Constructor: updateStickerSets -[Back to constructors index](index.md) - - - - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateStickerSets = ['_' => 'updateStickerSets', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateStickerSetsOrder.md b/docs/API_docs_55/constructors/updateStickerSetsOrder.md deleted file mode 100644 index f1b0160c..00000000 --- a/docs/API_docs_55/constructors/updateStickerSetsOrder.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: updateStickerSetsOrder -description: updateStickerSetsOrder attributes, type and example ---- -## Constructor: updateStickerSetsOrder -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|order|Array of [long](../types/long.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserBlocked.md b/docs/API_docs_55/constructors/updateUserBlocked.md deleted file mode 100644 index cfe25f6f..00000000 --- a/docs/API_docs_55/constructors/updateUserBlocked.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserBlocked -description: updateUserBlocked attributes, type and example ---- -## Constructor: updateUserBlocked -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|blocked|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserName.md b/docs/API_docs_55/constructors/updateUserName.md deleted file mode 100644 index 96f3b99c..00000000 --- a/docs/API_docs_55/constructors/updateUserName.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateUserName -description: updateUserName attributes, type and example ---- -## Constructor: updateUserName -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|first\_name|[string](../types/string.md) | Required| -|last\_name|[string](../types/string.md) | Required| -|username|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserPhone.md b/docs/API_docs_55/constructors/updateUserPhone.md deleted file mode 100644 index 8a50ff64..00000000 --- a/docs/API_docs_55/constructors/updateUserPhone.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserPhone -description: updateUserPhone attributes, type and example ---- -## Constructor: updateUserPhone -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|phone|[string](../types/string.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserPhoto.md b/docs/API_docs_55/constructors/updateUserPhoto.md deleted file mode 100644 index 7d7d62cb..00000000 --- a/docs/API_docs_55/constructors/updateUserPhoto.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: updateUserPhoto -description: updateUserPhoto attributes, type and example ---- -## Constructor: updateUserPhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| -|previous|[Bool](../types/Bool.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserStatus.md b/docs/API_docs_55/constructors/updateUserStatus.md deleted file mode 100644 index f1a049b8..00000000 --- a/docs/API_docs_55/constructors/updateUserStatus.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserStatus -description: updateUserStatus attributes, type and example ---- -## Constructor: updateUserStatus -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|status|[UserStatus](../types/UserStatus.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateUserTyping.md b/docs/API_docs_55/constructors/updateUserTyping.md deleted file mode 100644 index 54aabc7f..00000000 --- a/docs/API_docs_55/constructors/updateUserTyping.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updateUserTyping -description: updateUserTyping attributes, type and example ---- -## Constructor: updateUserTyping -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|user\_id|[int](../types/int.md) | Required| -|action|[SendMessageAction](../types/SendMessageAction.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updateWebPage.md b/docs/API_docs_55/constructors/updateWebPage.md deleted file mode 100644 index 28ead1eb..00000000 --- a/docs/API_docs_55/constructors/updateWebPage.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updateWebPage -description: updateWebPage attributes, type and example ---- -## Constructor: updateWebPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|webpage|[WebPage](../types/WebPage.md) | Required| -|pts|[int](../types/int.md) | Required| -|pts\_count|[int](../types/int.md) | Required| - - - -### Type: [Update](../types/Update.md) - - -### Example: - -``` -$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates.md b/docs/API_docs_55/constructors/updates.md deleted file mode 100644 index b4f2ce4b..00000000 --- a/docs/API_docs_55/constructors/updates.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updates -description: updates attributes, type and example ---- -## Constructor: updates -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|updates|Array of [Update](../types/Update.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updatesCombined.md b/docs/API_docs_55/constructors/updatesCombined.md deleted file mode 100644 index a40f7cf2..00000000 --- a/docs/API_docs_55/constructors/updatesCombined.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updatesCombined -description: updatesCombined attributes, type and example ---- -## Constructor: updatesCombined -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|updates|Array of [Update](../types/Update.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|date|[int](../types/int.md) | Required| -|seq\_start|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updatesTooLong.md b/docs/API_docs_55/constructors/updatesTooLong.md deleted file mode 100644 index 2298d56c..00000000 --- a/docs/API_docs_55/constructors/updatesTooLong.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: updatesTooLong -description: updatesTooLong attributes, type and example ---- -## Constructor: updatesTooLong -[Back to constructors index](index.md) - - - - - - -### Type: [Updates](../types/Updates.md) - - -### Example: - -``` -$updatesTooLong = ['_' => 'updatesTooLong', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_channelDifference.md b/docs/API_docs_55/constructors/updates_channelDifference.md deleted file mode 100644 index f7eb7cc6..00000000 --- a/docs/API_docs_55/constructors/updates_channelDifference.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: updates_channelDifference -description: updates_channelDifference attributes, type and example ---- -## Constructor: updates\_channelDifference -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| -|new\_messages|Array of [Message](../types/Message.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs_55/constructors/updates_channelDifferenceEmpty.md deleted file mode 100644 index 256eca12..00000000 --- a/docs/API_docs_55/constructors/updates_channelDifferenceEmpty.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: updates_channelDifferenceEmpty -description: updates_channelDifferenceEmpty attributes, type and example ---- -## Constructor: updates\_channelDifferenceEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs_55/constructors/updates_channelDifferenceTooLong.md deleted file mode 100644 index 903f519a..00000000 --- a/docs/API_docs_55/constructors/updates_channelDifferenceTooLong.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: updates_channelDifferenceTooLong -description: updates_channelDifferenceTooLong attributes, type and example ---- -## Constructor: updates\_channelDifferenceTooLong -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|final|[Bool](../types/Bool.md) | Optional| -|pts|[int](../types/int.md) | Required| -|timeout|[int](../types/int.md) | Optional| -|top\_message|[int](../types/int.md) | Required| -|read\_inbox\_max\_id|[int](../types/int.md) | Required| -|read\_outbox\_max\_id|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| -|messages|Array of [Message](../types/Message.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| - - - -### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) - - -### Example: - -``` -$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_difference.md b/docs/API_docs_55/constructors/updates_difference.md deleted file mode 100644 index 3a7d84a4..00000000 --- a/docs/API_docs_55/constructors/updates_difference.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updates_difference -description: updates_difference attributes, type and example ---- -## Constructor: updates\_difference -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_messages|Array of [Message](../types/Message.md) | Required| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|state|[updates\_State](../types/updates_State.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_differenceEmpty.md b/docs/API_docs_55/constructors/updates_differenceEmpty.md deleted file mode 100644 index f25f1310..00000000 --- a/docs/API_docs_55/constructors/updates_differenceEmpty.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: updates_differenceEmpty -description: updates_differenceEmpty attributes, type and example ---- -## Constructor: updates\_differenceEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_differenceSlice.md b/docs/API_docs_55/constructors/updates_differenceSlice.md deleted file mode 100644 index 0f106876..00000000 --- a/docs/API_docs_55/constructors/updates_differenceSlice.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: updates_differenceSlice -description: updates_differenceSlice attributes, type and example ---- -## Constructor: updates\_differenceSlice -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|new\_messages|Array of [Message](../types/Message.md) | Required| -|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| -|other\_updates|Array of [Update](../types/Update.md) | Required| -|chats|Array of [Chat](../types/Chat.md) | Required| -|users|Array of [User](../types/User.md) | Required| -|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| - - - -### Type: [updates\_Difference](../types/updates_Difference.md) - - -### Example: - -``` -$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/updates_state.md b/docs/API_docs_55/constructors/updates_state.md deleted file mode 100644 index cb4f88e0..00000000 --- a/docs/API_docs_55/constructors/updates_state.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: updates_state -description: updates_state attributes, type and example ---- -## Constructor: updates\_state -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|pts|[int](../types/int.md) | Required| -|qts|[int](../types/int.md) | Required| -|date|[int](../types/int.md) | Required| -|seq|[int](../types/int.md) | Required| -|unread\_count|[int](../types/int.md) | Required| - - - -### Type: [updates\_State](../types/updates_State.md) - - -### Example: - -``` -$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/upload_file.md b/docs/API_docs_55/constructors/upload_file.md deleted file mode 100644 index 67b5a404..00000000 --- a/docs/API_docs_55/constructors/upload_file.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: upload_file -description: upload_file attributes, type and example ---- -## Constructor: upload\_file -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|type|[storage\_FileType](../types/storage_FileType.md) | Required| -|mtime|[int](../types/int.md) | Required| -|bytes|[bytes](../types/bytes.md) | Required| - - - -### Type: [upload\_File](../types/upload_File.md) - - -### Example: - -``` -$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/user.md b/docs/API_docs_55/constructors/user.md deleted file mode 100644 index 09671d4a..00000000 --- a/docs/API_docs_55/constructors/user.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: user -description: user attributes, type and example ---- -## Constructor: user -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|self|[Bool](../types/Bool.md) | Optional| -|contact|[Bool](../types/Bool.md) | Optional| -|mutual\_contact|[Bool](../types/Bool.md) | Optional| -|deleted|[Bool](../types/Bool.md) | Optional| -|bot|[Bool](../types/Bool.md) | Optional| -|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| -|bot\_nochats|[Bool](../types/Bool.md) | Optional| -|verified|[Bool](../types/Bool.md) | Optional| -|restricted|[Bool](../types/Bool.md) | Optional| -|min|[Bool](../types/Bool.md) | Optional| -|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional| -|id|[int](../types/int.md) | Required| -|access\_hash|[long](../types/long.md) | Optional| -|first\_name|[string](../types/string.md) | Optional| -|last\_name|[string](../types/string.md) | Optional| -|username|[string](../types/string.md) | Optional| -|phone|[string](../types/string.md) | Optional| -|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| -|status|[UserStatus](../types/UserStatus.md) | Optional| -|bot\_info\_version|[int](../types/int.md) | Optional| -|restriction\_reason|[string](../types/string.md) | Optional| -|bot\_inline\_placeholder|[string](../types/string.md) | Optional| - - - -### Type: [User](../types/User.md) - - -### Example: - -``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userEmpty.md b/docs/API_docs_55/constructors/userEmpty.md deleted file mode 100644 index 2ffac362..00000000 --- a/docs/API_docs_55/constructors/userEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userEmpty -description: userEmpty attributes, type and example ---- -## Constructor: userEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| - - - -### Type: [User](../types/User.md) - - -### Example: - -``` -$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userFull.md b/docs/API_docs_55/constructors/userFull.md deleted file mode 100644 index 9272c13a..00000000 --- a/docs/API_docs_55/constructors/userFull.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: userFull -description: userFull attributes, type and example ---- -## Constructor: userFull -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|blocked|[Bool](../types/Bool.md) | Optional| -|user|[User](../types/User.md) | Required| -|about|[string](../types/string.md) | Optional| -|link|[contacts\_Link](../types/contacts_Link.md) | Required| -|profile\_photo|[Photo](../types/Photo.md) | Optional| -|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| -|bot\_info|[BotInfo](../types/BotInfo.md) | Optional| - - - -### Type: [UserFull](../types/UserFull.md) - - -### Example: - -``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userProfilePhoto.md b/docs/API_docs_55/constructors/userProfilePhoto.md deleted file mode 100644 index e9e33b63..00000000 --- a/docs/API_docs_55/constructors/userProfilePhoto.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: userProfilePhoto -description: userProfilePhoto attributes, type and example ---- -## Constructor: userProfilePhoto -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|photo\_id|[long](../types/long.md) | Required| -|photo\_small|[FileLocation](../types/FileLocation.md) | Required| -|photo\_big|[FileLocation](../types/FileLocation.md) | Required| - - - -### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) - - -### Example: - -``` -$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userProfilePhotoEmpty.md b/docs/API_docs_55/constructors/userProfilePhotoEmpty.md deleted file mode 100644 index 6a8b8eef..00000000 --- a/docs/API_docs_55/constructors/userProfilePhotoEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userProfilePhotoEmpty -description: userProfilePhotoEmpty attributes, type and example ---- -## Constructor: userProfilePhotoEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) - - -### Example: - -``` -$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusEmpty.md b/docs/API_docs_55/constructors/userStatusEmpty.md deleted file mode 100644 index 72c8447e..00000000 --- a/docs/API_docs_55/constructors/userStatusEmpty.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusEmpty -description: userStatusEmpty attributes, type and example ---- -## Constructor: userStatusEmpty -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusEmpty = ['_' => 'userStatusEmpty', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusLastMonth.md b/docs/API_docs_55/constructors/userStatusLastMonth.md deleted file mode 100644 index d7a4fd75..00000000 --- a/docs/API_docs_55/constructors/userStatusLastMonth.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusLastMonth -description: userStatusLastMonth attributes, type and example ---- -## Constructor: userStatusLastMonth -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusLastWeek.md b/docs/API_docs_55/constructors/userStatusLastWeek.md deleted file mode 100644 index 17fccace..00000000 --- a/docs/API_docs_55/constructors/userStatusLastWeek.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusLastWeek -description: userStatusLastWeek attributes, type and example ---- -## Constructor: userStatusLastWeek -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusOffline.md b/docs/API_docs_55/constructors/userStatusOffline.md deleted file mode 100644 index 7db5500a..00000000 --- a/docs/API_docs_55/constructors/userStatusOffline.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userStatusOffline -description: userStatusOffline attributes, type and example ---- -## Constructor: userStatusOffline -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|was\_online|[int](../types/int.md) | Required| - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusOnline.md b/docs/API_docs_55/constructors/userStatusOnline.md deleted file mode 100644 index f997b7f5..00000000 --- a/docs/API_docs_55/constructors/userStatusOnline.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: userStatusOnline -description: userStatusOnline attributes, type and example ---- -## Constructor: userStatusOnline -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|expires|[int](../types/int.md) | Required| - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/userStatusRecently.md b/docs/API_docs_55/constructors/userStatusRecently.md deleted file mode 100644 index bdd98c65..00000000 --- a/docs/API_docs_55/constructors/userStatusRecently.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: userStatusRecently -description: userStatusRecently attributes, type and example ---- -## Constructor: userStatusRecently -[Back to constructors index](index.md) - - - - - - -### Type: [UserStatus](../types/UserStatus.md) - - -### Example: - -``` -$userStatusRecently = ['_' => 'userStatusRecently', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/vector.md b/docs/API_docs_55/constructors/vector.md deleted file mode 100644 index d18e547b..00000000 --- a/docs/API_docs_55/constructors/vector.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: vector -description: vector attributes, type and example ---- -## Constructor: vector -[Back to constructors index](index.md) - - - - - - -### Type: [Vector t](../types/Vector t.md) - - -### Example: - -``` -$vector = ['_' => 'vector', ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/wallPaper.md b/docs/API_docs_55/constructors/wallPaper.md deleted file mode 100644 index f011ac93..00000000 --- a/docs/API_docs_55/constructors/wallPaper.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: wallPaper -description: wallPaper attributes, type and example ---- -## Constructor: wallPaper -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| -|color|[int](../types/int.md) | Required| - - - -### Type: [WallPaper](../types/WallPaper.md) - - -### Example: - -``` -$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/wallPaperSolid.md b/docs/API_docs_55/constructors/wallPaperSolid.md deleted file mode 100644 index f7a9acbd..00000000 --- a/docs/API_docs_55/constructors/wallPaperSolid.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: wallPaperSolid -description: wallPaperSolid attributes, type and example ---- -## Constructor: wallPaperSolid -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[int](../types/int.md) | Required| -|title|[string](../types/string.md) | Required| -|bg\_color|[int](../types/int.md) | Required| -|color|[int](../types/int.md) | Required| - - - -### Type: [WallPaper](../types/WallPaper.md) - - -### Example: - -``` -$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/webPage.md b/docs/API_docs_55/constructors/webPage.md deleted file mode 100644 index 93e305bf..00000000 --- a/docs/API_docs_55/constructors/webPage.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: webPage -description: webPage attributes, type and example ---- -## Constructor: webPage -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|url|[string](../types/string.md) | Required| -|display\_url|[string](../types/string.md) | Required| -|type|[string](../types/string.md) | Optional| -|site\_name|[string](../types/string.md) | Optional| -|title|[string](../types/string.md) | Optional| -|description|[string](../types/string.md) | Optional| -|photo|[Photo](../types/Photo.md) | Optional| -|embed\_url|[string](../types/string.md) | Optional| -|embed\_type|[string](../types/string.md) | Optional| -|embed\_width|[int](../types/int.md) | Optional| -|embed\_height|[int](../types/int.md) | Optional| -|duration|[int](../types/int.md) | Optional| -|author|[string](../types/string.md) | Optional| -|document|[Document](../types/Document.md) | Optional| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/webPageEmpty.md b/docs/API_docs_55/constructors/webPageEmpty.md deleted file mode 100644 index 096be721..00000000 --- a/docs/API_docs_55/constructors/webPageEmpty.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: webPageEmpty -description: webPageEmpty attributes, type and example ---- -## Constructor: webPageEmpty -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/constructors/webPagePending.md b/docs/API_docs_55/constructors/webPagePending.md deleted file mode 100644 index 49aa580d..00000000 --- a/docs/API_docs_55/constructors/webPagePending.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: webPagePending -description: webPagePending attributes, type and example ---- -## Constructor: webPagePending -[Back to constructors index](index.md) - - - -### Attributes: - -| Name | Type | Required | -|----------|:-------------:|---------:| -|id|[long](../types/long.md) | Required| -|date|[int](../types/int.md) | Required| - - - -### Type: [WebPage](../types/WebPage.md) - - -### Example: - -``` -$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; -``` \ No newline at end of file diff --git a/docs/API_docs_55/index.md b/docs/API_docs_55/index.md deleted file mode 100644 index d608e281..00000000 --- a/docs/API_docs_55/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: MadelineProto API documentation (layer 55) -description: MadelineProto API documentation (layer 55) ---- -# MadelineProto API documentation (layer 55) - -[Methods](methods/) - -[Constructors](constructors/) - -[Types](types/) - - -[Back to main documentation](..) diff --git a/docs/MTProto_docs/constructors/MTmessage.md b/docs/MTProto_docs/constructors/MTmessage.md index 451fe2d2..c014ecc5 100644 --- a/docs/MTProto_docs/constructors/MTmessage.md +++ b/docs/MTProto_docs/constructors/MTmessage.md @@ -25,4 +25,5 @@ description: MTmessage attributes, type and example ``` $MTmessage = ['_' => 'MTmessage', 'msg_id' => long, 'seqno' => int, 'bytes' => int, 'body' => Object, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/bad_msg_notification.md b/docs/MTProto_docs/constructors/bad_msg_notification.md index 2857849d..38a26cb9 100644 --- a/docs/MTProto_docs/constructors/bad_msg_notification.md +++ b/docs/MTProto_docs/constructors/bad_msg_notification.md @@ -24,4 +24,5 @@ description: bad_msg_notification attributes, type and example ``` $bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/bad_server_salt.md b/docs/MTProto_docs/constructors/bad_server_salt.md index 8a7efa67..52265fda 100644 --- a/docs/MTProto_docs/constructors/bad_server_salt.md +++ b/docs/MTProto_docs/constructors/bad_server_salt.md @@ -25,4 +25,5 @@ description: bad_server_salt attributes, type and example ``` $bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/bind_auth_key_inner.md b/docs/MTProto_docs/constructors/bind_auth_key_inner.md index 2a460023..f921832f 100644 --- a/docs/MTProto_docs/constructors/bind_auth_key_inner.md +++ b/docs/MTProto_docs/constructors/bind_auth_key_inner.md @@ -26,4 +26,5 @@ description: bind_auth_key_inner attributes, type and example ``` $bind_auth_key_inner = ['_' => 'bind_auth_key_inner', 'nonce' => long, 'temp_auth_key_id' => long, 'perm_auth_key_id' => long, 'temp_session_id' => long, 'expires_at' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/client_DH_inner_data.md b/docs/MTProto_docs/constructors/client_DH_inner_data.md index 09f5ed71..8ee6d5e9 100644 --- a/docs/MTProto_docs/constructors/client_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/client_DH_inner_data.md @@ -25,4 +25,5 @@ description: client_DH_inner_data attributes, type and example ``` $client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/destroy_session_none.md b/docs/MTProto_docs/constructors/destroy_session_none.md index b28429fc..6cc04127 100644 --- a/docs/MTProto_docs/constructors/destroy_session_none.md +++ b/docs/MTProto_docs/constructors/destroy_session_none.md @@ -22,4 +22,5 @@ description: destroy_session_none attributes, type and example ``` $destroy_session_none = ['_' => 'destroy_session_none', 'session_id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/destroy_session_ok.md b/docs/MTProto_docs/constructors/destroy_session_ok.md index 3dee53a4..1598bb40 100644 --- a/docs/MTProto_docs/constructors/destroy_session_ok.md +++ b/docs/MTProto_docs/constructors/destroy_session_ok.md @@ -22,4 +22,5 @@ description: destroy_session_ok attributes, type and example ``` $destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/dh_gen_fail.md b/docs/MTProto_docs/constructors/dh_gen_fail.md index 0450baa5..a4adc56b 100644 --- a/docs/MTProto_docs/constructors/dh_gen_fail.md +++ b/docs/MTProto_docs/constructors/dh_gen_fail.md @@ -24,4 +24,5 @@ description: dh_gen_fail attributes, type and example ``` $dh_gen_fail = ['_' => 'dh_gen_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash3' => int128, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/dh_gen_ok.md b/docs/MTProto_docs/constructors/dh_gen_ok.md index a8bed738..f09aeb6c 100644 --- a/docs/MTProto_docs/constructors/dh_gen_ok.md +++ b/docs/MTProto_docs/constructors/dh_gen_ok.md @@ -24,4 +24,5 @@ description: dh_gen_ok attributes, type and example ``` $dh_gen_ok = ['_' => 'dh_gen_ok', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash1' => int128, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/dh_gen_retry.md b/docs/MTProto_docs/constructors/dh_gen_retry.md index f431f9fd..58eb55b4 100644 --- a/docs/MTProto_docs/constructors/dh_gen_retry.md +++ b/docs/MTProto_docs/constructors/dh_gen_retry.md @@ -24,4 +24,5 @@ description: dh_gen_retry attributes, type and example ``` $dh_gen_retry = ['_' => 'dh_gen_retry', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash2' => int128, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/future_salt.md b/docs/MTProto_docs/constructors/future_salt.md index 1d753c09..3c0e9e21 100644 --- a/docs/MTProto_docs/constructors/future_salt.md +++ b/docs/MTProto_docs/constructors/future_salt.md @@ -24,4 +24,5 @@ description: future_salt attributes, type and example ``` $future_salt = ['_' => 'future_salt', 'valid_since' => int, 'valid_until' => int, 'salt' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/future_salts.md b/docs/MTProto_docs/constructors/future_salts.md index 423b1698..b2fff0d7 100644 --- a/docs/MTProto_docs/constructors/future_salts.md +++ b/docs/MTProto_docs/constructors/future_salts.md @@ -24,4 +24,5 @@ description: future_salts attributes, type and example ``` $future_salts = ['_' => 'future_salts', 'req_msg_id' => long, 'now' => int, 'salts' => [vector], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/gzip_packed.md b/docs/MTProto_docs/constructors/gzip_packed.md index c123c93f..f0da857d 100644 --- a/docs/MTProto_docs/constructors/gzip_packed.md +++ b/docs/MTProto_docs/constructors/gzip_packed.md @@ -22,4 +22,5 @@ description: gzip_packed attributes, type and example ``` $gzip_packed = ['_' => 'gzip_packed', 'packed_data' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msg_container.md b/docs/MTProto_docs/constructors/msg_container.md index 3583f437..e30c5952 100644 --- a/docs/MTProto_docs/constructors/msg_container.md +++ b/docs/MTProto_docs/constructors/msg_container.md @@ -22,4 +22,5 @@ description: msg_container attributes, type and example ``` $msg_container = ['_' => 'msg_container', 'messages' => [vector], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msg_copy.md b/docs/MTProto_docs/constructors/msg_copy.md index 84f45e02..0849e983 100644 --- a/docs/MTProto_docs/constructors/msg_copy.md +++ b/docs/MTProto_docs/constructors/msg_copy.md @@ -22,4 +22,5 @@ description: msg_copy attributes, type and example ``` $msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msg_detailed_info.md b/docs/MTProto_docs/constructors/msg_detailed_info.md index 5601a011..5009afe4 100644 --- a/docs/MTProto_docs/constructors/msg_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_detailed_info.md @@ -25,4 +25,5 @@ description: msg_detailed_info attributes, type and example ``` $msg_detailed_info = ['_' => 'msg_detailed_info', 'msg_id' => long, 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msg_new_detailed_info.md b/docs/MTProto_docs/constructors/msg_new_detailed_info.md index ad18132a..20c4eb5d 100644 --- a/docs/MTProto_docs/constructors/msg_new_detailed_info.md +++ b/docs/MTProto_docs/constructors/msg_new_detailed_info.md @@ -24,4 +24,5 @@ description: msg_new_detailed_info attributes, type and example ``` $msg_new_detailed_info = ['_' => 'msg_new_detailed_info', 'answer_msg_id' => long, 'bytes' => int, 'status' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msg_resend_req.md b/docs/MTProto_docs/constructors/msg_resend_req.md index 8adf11c2..fe6edcfe 100644 --- a/docs/MTProto_docs/constructors/msg_resend_req.md +++ b/docs/MTProto_docs/constructors/msg_resend_req.md @@ -22,4 +22,5 @@ description: msg_resend_req attributes, type and example ``` $msg_resend_req = ['_' => 'msg_resend_req', 'msg_ids' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msgs_ack.md b/docs/MTProto_docs/constructors/msgs_ack.md index ea1fb37c..95444417 100644 --- a/docs/MTProto_docs/constructors/msgs_ack.md +++ b/docs/MTProto_docs/constructors/msgs_ack.md @@ -22,4 +22,5 @@ description: msgs_ack attributes, type and example ``` $msgs_ack = ['_' => 'msgs_ack', 'msg_ids' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msgs_all_info.md b/docs/MTProto_docs/constructors/msgs_all_info.md index 0b2e758c..d5fdd0ac 100644 --- a/docs/MTProto_docs/constructors/msgs_all_info.md +++ b/docs/MTProto_docs/constructors/msgs_all_info.md @@ -23,4 +23,5 @@ description: msgs_all_info attributes, type and example ``` $msgs_all_info = ['_' => 'msgs_all_info', 'msg_ids' => [Vector t], 'info' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msgs_state_info.md b/docs/MTProto_docs/constructors/msgs_state_info.md index 7e5e9ebf..edc13964 100644 --- a/docs/MTProto_docs/constructors/msgs_state_info.md +++ b/docs/MTProto_docs/constructors/msgs_state_info.md @@ -23,4 +23,5 @@ description: msgs_state_info attributes, type and example ``` $msgs_state_info = ['_' => 'msgs_state_info', 'req_msg_id' => long, 'info' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/msgs_state_req.md b/docs/MTProto_docs/constructors/msgs_state_req.md index 87d2f5e2..a9348a94 100644 --- a/docs/MTProto_docs/constructors/msgs_state_req.md +++ b/docs/MTProto_docs/constructors/msgs_state_req.md @@ -22,4 +22,5 @@ description: msgs_state_req attributes, type and example ``` $msgs_state_req = ['_' => 'msgs_state_req', 'msg_ids' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/new_session_created.md b/docs/MTProto_docs/constructors/new_session_created.md index e2ef3dfd..60091d4e 100644 --- a/docs/MTProto_docs/constructors/new_session_created.md +++ b/docs/MTProto_docs/constructors/new_session_created.md @@ -24,4 +24,5 @@ description: new_session_created attributes, type and example ``` $new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/p_q_inner_data.md b/docs/MTProto_docs/constructors/p_q_inner_data.md index b59d7c58..6d9341ad 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data.md @@ -27,4 +27,5 @@ description: p_q_inner_data attributes, type and example ``` $p_q_inner_data = ['_' => 'p_q_inner_data', 'pq' => bytes, 'p' => bytes, 'q' => bytes, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md index d595caf3..786bf8cb 100644 --- a/docs/MTProto_docs/constructors/p_q_inner_data_temp.md +++ b/docs/MTProto_docs/constructors/p_q_inner_data_temp.md @@ -28,4 +28,5 @@ description: p_q_inner_data_temp attributes, type and example ``` $p_q_inner_data_temp = ['_' => 'p_q_inner_data_temp', 'pq' => bytes, 'p' => bytes, 'q' => bytes, 'nonce' => int128, 'server_nonce' => int128, 'new_nonce' => int256, 'expires_in' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/pong.md b/docs/MTProto_docs/constructors/pong.md index 464c08bb..8fcee92e 100644 --- a/docs/MTProto_docs/constructors/pong.md +++ b/docs/MTProto_docs/constructors/pong.md @@ -23,4 +23,5 @@ description: pong attributes, type and example ``` $pong = ['_' => 'pong', 'msg_id' => long, 'ping_id' => long, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/resPQ.md b/docs/MTProto_docs/constructors/resPQ.md index 8b0ed590..1e4e3a7d 100644 --- a/docs/MTProto_docs/constructors/resPQ.md +++ b/docs/MTProto_docs/constructors/resPQ.md @@ -25,4 +25,5 @@ description: resPQ attributes, type and example ``` $resPQ = ['_' => 'resPQ', 'nonce' => int128, 'server_nonce' => int128, 'pq' => bytes, 'server_public_key_fingerprints' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped.md b/docs/MTProto_docs/constructors/rpc_answer_dropped.md index 3c130d83..2759f4cb 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped.md @@ -24,4 +24,5 @@ description: rpc_answer_dropped attributes, type and example ``` $rpc_answer_dropped = ['_' => 'rpc_answer_dropped', 'msg_id' => long, 'seq_no' => int, 'bytes' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md index 25739538..6b0288de 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md +++ b/docs/MTProto_docs/constructors/rpc_answer_dropped_running.md @@ -17,4 +17,5 @@ description: rpc_answer_dropped_running attributes, type and example ``` $rpc_answer_dropped_running = ['_' => 'rpc_answer_dropped_running', ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/rpc_answer_unknown.md b/docs/MTProto_docs/constructors/rpc_answer_unknown.md index 55fb0259..fcce8755 100644 --- a/docs/MTProto_docs/constructors/rpc_answer_unknown.md +++ b/docs/MTProto_docs/constructors/rpc_answer_unknown.md @@ -17,4 +17,5 @@ description: rpc_answer_unknown attributes, type and example ``` $rpc_answer_unknown = ['_' => 'rpc_answer_unknown', ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/rpc_error.md b/docs/MTProto_docs/constructors/rpc_error.md index 61ef7bbd..c1be5720 100644 --- a/docs/MTProto_docs/constructors/rpc_error.md +++ b/docs/MTProto_docs/constructors/rpc_error.md @@ -23,4 +23,5 @@ description: rpc_error attributes, type and example ``` $rpc_error = ['_' => 'rpc_error', 'error_code' => int, 'error_message' => string, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/rpc_result.md b/docs/MTProto_docs/constructors/rpc_result.md index 60de897c..190818a7 100644 --- a/docs/MTProto_docs/constructors/rpc_result.md +++ b/docs/MTProto_docs/constructors/rpc_result.md @@ -23,4 +23,5 @@ description: rpc_result attributes, type and example ``` $rpc_result = ['_' => 'rpc_result', 'req_msg_id' => long, 'result' => Object, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/server_DH_inner_data.md b/docs/MTProto_docs/constructors/server_DH_inner_data.md index dfd75b92..2506dcac 100644 --- a/docs/MTProto_docs/constructors/server_DH_inner_data.md +++ b/docs/MTProto_docs/constructors/server_DH_inner_data.md @@ -27,4 +27,5 @@ description: server_DH_inner_data attributes, type and example ``` $server_DH_inner_data = ['_' => 'server_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'g' => int, 'dh_prime' => bytes, 'g_a' => bytes, 'server_time' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/server_DH_params_fail.md b/docs/MTProto_docs/constructors/server_DH_params_fail.md index 53eca23b..56f7849e 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_fail.md +++ b/docs/MTProto_docs/constructors/server_DH_params_fail.md @@ -24,4 +24,5 @@ description: server_DH_params_fail attributes, type and example ``` $server_DH_params_fail = ['_' => 'server_DH_params_fail', 'nonce' => int128, 'server_nonce' => int128, 'new_nonce_hash' => int128, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/server_DH_params_ok.md b/docs/MTProto_docs/constructors/server_DH_params_ok.md index 339e89de..b41cb69b 100644 --- a/docs/MTProto_docs/constructors/server_DH_params_ok.md +++ b/docs/MTProto_docs/constructors/server_DH_params_ok.md @@ -24,4 +24,5 @@ description: server_DH_params_ok attributes, type and example ``` $server_DH_params_ok = ['_' => 'server_DH_params_ok', 'nonce' => int128, 'server_nonce' => int128, 'encrypted_answer' => bytes, ]; -``` \ No newline at end of file +``` + diff --git a/docs/MTProto_docs/constructors/vector.md b/docs/MTProto_docs/constructors/vector.md index d18e547b..f9567743 100644 --- a/docs/MTProto_docs/constructors/vector.md +++ b/docs/MTProto_docs/constructors/vector.md @@ -17,4 +17,5 @@ description: vector attributes, type and example ``` $vector = ['_' => 'vector', ]; -``` \ No newline at end of file +``` + diff --git a/docs/index.md b/docs/index.md index 17f97939..b48894e1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -20,11 +20,11 @@ Also note that MadelineProto will perform better if a big math extension like gm This project is in beta state. -The MadelineProto API documentation can be found [here](https://daniil.it/MadelineProto/API_docs/). +The MadelineProto API documentation can be found [here (layer 57)](https://daniil.it/MadelineProto/API_docs/). The MadelineProto API documentation (mtproto tl scheme) can be found [here](https://daniil.it/MadelineProto/MTProto_docs/). -The MadelineProto API documentations (old layers) can be found [here (layer 46)](https://daniil.it/MadelineProto/API_docs_46/), [here (layer 55)](https://daniil.it/MadelineProto/API_docs_55/). +The MadelineProto API documentations (old layers) can be found [here](https://daniil.it/MadelineProto/old/). ## Usage diff --git a/docs/old/API_docs_v18/constructors/audio.md b/docs/old/API_docs_v18/constructors/audio.md new file mode 100644 index 00000000..3bd5954b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/audio.md @@ -0,0 +1,33 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/audioEmpty.md b/docs/old/API_docs_v18/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/auth_authorization.md b/docs/old/API_docs_v18/constructors/auth_authorization.md new file mode 100644 index 00000000..68be6aee --- /dev/null +++ b/docs/old/API_docs_v18/constructors/auth_authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'expires' => int, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/auth_checkedPhone.md b/docs/old/API_docs_v18/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..a874f900 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/auth_checkedPhone.md @@ -0,0 +1,27 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_invited|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v18/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/auth_sentAppCode.md b/docs/old/API_docs_v18/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/auth_sentCode.md b/docs/old/API_docs_v18/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/API_docs_46/constructors/boolFalse.md b/docs/old/API_docs_v18/constructors/boolFalse.md similarity index 100% rename from docs/API_docs_46/constructors/boolFalse.md rename to docs/old/API_docs_v18/constructors/boolFalse.md diff --git a/docs/API_docs_46/constructors/boolTrue.md b/docs/old/API_docs_v18/constructors/boolTrue.md similarity index 100% rename from docs/API_docs_46/constructors/boolTrue.md rename to docs/old/API_docs_v18/constructors/boolTrue.md diff --git a/docs/old/API_docs_v18/constructors/chat.md b/docs/old/API_docs_v18/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/chatEmpty.md b/docs/old/API_docs_v18/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/chatForbidden.md b/docs/old/API_docs_v18/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/chatFull.md b/docs/old/API_docs_v18/constructors/chatFull.md new file mode 100644 index 00000000..c4bb6905 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatFull.md @@ -0,0 +1,29 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/chatParticipant.md b/docs/old/API_docs_v18/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/chatParticipants.md b/docs/old/API_docs_v18/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v18/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/chatPhoto.md b/docs/old/API_docs_v18/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v18/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/config.md b/docs/old/API_docs_v18/constructors/config.md new file mode 100644 index 00000000..1215d01d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/config.md @@ -0,0 +1,31 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contact.md b/docs/old/API_docs_v18/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contactBlocked.md b/docs/old/API_docs_v18/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contactFound.md b/docs/old/API_docs_v18/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contactStatus.md b/docs/old/API_docs_v18/constructors/contactStatus.md new file mode 100644 index 00000000..5cf5035a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contactSuggested.md b/docs/old/API_docs_v18/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_blocked.md b/docs/old/API_docs_v18/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v18/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_contacts.md b/docs/old/API_docs_v18/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v18/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_foreignLinkMutual.md b/docs/old/API_docs_v18/constructors/contacts_foreignLinkMutual.md new file mode 100644 index 00000000..567c4627 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_foreignLinkMutual.md @@ -0,0 +1,21 @@ +--- +title: contacts_foreignLinkMutual +description: contacts_foreignLinkMutual attributes, type and example +--- +## Constructor: contacts\_foreignLinkMutual +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkMutual = ['_' => 'contacts_foreignLinkMutual', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_foreignLinkRequested.md b/docs/old/API_docs_v18/constructors/contacts_foreignLinkRequested.md new file mode 100644 index 00000000..aef58175 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_foreignLinkRequested.md @@ -0,0 +1,26 @@ +--- +title: contacts_foreignLinkRequested +description: contacts_foreignLinkRequested attributes, type and example +--- +## Constructor: contacts\_foreignLinkRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|has\_phone|[Bool](../types/Bool.md) | Required| + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkRequested = ['_' => 'contacts_foreignLinkRequested', 'has_phone' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_foreignLinkUnknown.md b/docs/old/API_docs_v18/constructors/contacts_foreignLinkUnknown.md new file mode 100644 index 00000000..363ab48f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_foreignLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contacts_foreignLinkUnknown +description: contacts_foreignLinkUnknown attributes, type and example +--- +## Constructor: contacts\_foreignLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkUnknown = ['_' => 'contacts_foreignLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_found.md b/docs/old/API_docs_v18/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_importedContacts.md b/docs/old/API_docs_v18/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_link.md b/docs/old/API_docs_v18/constructors/contacts_link.md new file mode 100644 index 00000000..f19e5382 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Required| +|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_myLinkContact.md b/docs/old/API_docs_v18/constructors/contacts_myLinkContact.md new file mode 100644 index 00000000..d1bfee83 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_myLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contacts_myLinkContact +description: contacts_myLinkContact attributes, type and example +--- +## Constructor: contacts\_myLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkContact = ['_' => 'contacts_myLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_myLinkEmpty.md b/docs/old/API_docs_v18/constructors/contacts_myLinkEmpty.md new file mode 100644 index 00000000..4d0c5c09 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_myLinkEmpty.md @@ -0,0 +1,21 @@ +--- +title: contacts_myLinkEmpty +description: contacts_myLinkEmpty attributes, type and example +--- +## Constructor: contacts\_myLinkEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkEmpty = ['_' => 'contacts_myLinkEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_myLinkRequested.md b/docs/old/API_docs_v18/constructors/contacts_myLinkRequested.md new file mode 100644 index 00000000..bb238979 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_myLinkRequested.md @@ -0,0 +1,26 @@ +--- +title: contacts_myLinkRequested +description: contacts_myLinkRequested attributes, type and example +--- +## Constructor: contacts\_myLinkRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contact|[Bool](../types/Bool.md) | Required| + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkRequested = ['_' => 'contacts_myLinkRequested', 'contact' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/contacts_suggested.md b/docs/old/API_docs_v18/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/dcOption.md b/docs/old/API_docs_v18/constructors/dcOption.md new file mode 100644 index 00000000..bdee0251 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/dcOption.md @@ -0,0 +1,29 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|hostname|[string](../types/string.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/dialog.md b/docs/old/API_docs_v18/constructors/dialog.md new file mode 100644 index 00000000..85f0282f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/dialog.md @@ -0,0 +1,29 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/document.md b/docs/old/API_docs_v18/constructors/document.md new file mode 100644 index 00000000..29712e65 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/document.md @@ -0,0 +1,34 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|file\_name|[string](../types/string.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'file_name' => string, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/documentEmpty.md b/docs/old/API_docs_v18/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v18/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedChat.md b/docs/old/API_docs_v18/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v18/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v18/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedChatRequested.md b/docs/old/API_docs_v18/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v18/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedFile.md b/docs/old/API_docs_v18/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v18/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedMessage.md b/docs/old/API_docs_v18/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/encryptedMessageService.md b/docs/old/API_docs_v18/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/error.md b/docs/old/API_docs_v18/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/fileLocation.md b/docs/old/API_docs_v18/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v18/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/geoPoint.md b/docs/old/API_docs_v18/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/geoPointEmpty.md b/docs/old/API_docs_v18/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/help_appUpdate.md b/docs/old/API_docs_v18/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v18/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/help_inviteText.md b/docs/old/API_docs_v18/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/help_noAppUpdate.md b/docs/old/API_docs_v18/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/help_support.md b/docs/old/API_docs_v18/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/importedContact.md b/docs/old/API_docs_v18/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/index.md b/docs/old/API_docs_v18/constructors/index.md new file mode 100644 index 00000000..421e5c9a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/index.md @@ -0,0 +1,727 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'expires' => [int](../types/int.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) = \[\]; + +[$contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; + +[$contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [contacts\_MyLink](../types/contacts_MyLink.md), 'foreign_link' => [contacts\_ForeignLink](../types/contacts_ForeignLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) = \[\]; + +[$contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) = \[\]; + +[$contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'file_name' => [string](../types/string.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'file_name' => [string](../types/string.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'file_name' => [string](../types/string.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerContact](../constructors/inputPeerContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerForeign](../constructors/inputPeerForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputUserContact](../constructors/inputUserContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserForeign](../constructors/inputUserForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageForwarded](../constructors/messageForwarded.md) = \['id' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \['bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], \]; + +[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \[\]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \[\]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \[\]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \[\]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [contacts\_MyLink](../types/contacts_MyLink.md), 'foreign_link' => [contacts\_ForeignLink](../types/contacts_ForeignLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updateReadMessages](../constructors/updateReadMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userDeleted](../constructors/userDeleted.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userForeign](../constructors/userForeign.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'real_first_name' => [string](../types/string.md), 'real_last_name' => [string](../types/string.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userRequest](../constructors/userRequest.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userSelf](../constructors/userSelf.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'inactive' => [Bool](../types/Bool.md), \]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v18/constructors/inputAppEvent.md b/docs/old/API_docs_v18/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputAudio.md b/docs/old/API_docs_v18/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputAudioEmpty.md b/docs/old/API_docs_v18/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v18/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputChatPhoto.md b/docs/old/API_docs_v18/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v18/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v18/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputDocument.md b/docs/old/API_docs_v18/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v18/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v18/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedChat.md b/docs/old/API_docs_v18/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedFile.md b/docs/old/API_docs_v18/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v18/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v18/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v18/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputFile.md b/docs/old/API_docs_v18/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputFileBig.md b/docs/old/API_docs_v18/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputFileLocation.md b/docs/old/API_docs_v18/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputGeoPoint.md b/docs/old/API_docs_v18/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v18/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaAudio.md b/docs/old/API_docs_v18/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaContact.md b/docs/old/API_docs_v18/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaDocument.md b/docs/old/API_docs_v18/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaEmpty.md b/docs/old/API_docs_v18/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v18/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaPhoto.md b/docs/old/API_docs_v18/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..9c14f4d9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..df120f13 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|file\_name|[string](../types/string.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => string, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..231928d3 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..642d0757 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|file\_name|[string](../types/string.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'file_name' => string, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..9e8bbc70 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v18/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..c877c6a1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMediaVideo.md b/docs/old/API_docs_v18/constructors/inputMediaVideo.md new file mode 100644 index 00000000..93b7b56e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v18/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputNotifyAll.md b/docs/old/API_docs_v18/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputNotifyChats.md b/docs/old/API_docs_v18/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputNotifyPeer.md b/docs/old/API_docs_v18/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputNotifyUsers.md b/docs/old/API_docs_v18/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPeerChat.md b/docs/old/API_docs_v18/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputPeerContact.md b/docs/old/API_docs_v18/constructors/inputPeerContact.md new file mode 100644 index 00000000..58501d74 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerContact.md @@ -0,0 +1,39 @@ +--- +title: inputPeerContact +description: inputPeerContact attributes, type and example +--- +## Constructor: inputPeerContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerContact = '@username'; // Username + +$inputPeerContact = 44700; // bot API id (users) +$inputPeerContact = -492772765; // bot API id (chats) +$inputPeerContact = -10038575794; // bot API id (channels) + +$inputPeerContact = 'user#44700'; // tg-cli style id (users) +$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputPeerEmpty.md b/docs/old/API_docs_v18/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputPeerForeign.md b/docs/old/API_docs_v18/constructors/inputPeerForeign.md new file mode 100644 index 00000000..2b839024 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerForeign.md @@ -0,0 +1,40 @@ +--- +title: inputPeerForeign +description: inputPeerForeign attributes, type and example +--- +## Constructor: inputPeerForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerForeign = '@username'; // Username + +$inputPeerForeign = 44700; // bot API id (users) +$inputPeerForeign = -492772765; // bot API id (chats) +$inputPeerForeign = -10038575794; // bot API id (channels) + +$inputPeerForeign = 'user#44700'; // tg-cli style id (users) +$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v18/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPeerSelf.md b/docs/old/API_docs_v18/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputPhoneContact.md b/docs/old/API_docs_v18/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPhoto.md b/docs/old/API_docs_v18/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPhotoCrop.md b/docs/old/API_docs_v18/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v18/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v18/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputUserContact.md b/docs/old/API_docs_v18/constructors/inputUserContact.md new file mode 100644 index 00000000..afd37c2d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputUserContact.md @@ -0,0 +1,39 @@ +--- +title: inputUserContact +description: inputUserContact attributes, type and example +--- +## Constructor: inputUserContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserContact = '@username'; // Username + +$inputUserContact = 44700; // bot API id (users) +$inputUserContact = -492772765; // bot API id (chats) +$inputUserContact = -10038575794; // bot API id (channels) + +$inputUserContact = 'user#44700'; // tg-cli style id (users) +$inputUserContact = 'chat#492772765'; // tg-cli style id (chats) +$inputUserContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputUserEmpty.md b/docs/old/API_docs_v18/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputUserForeign.md b/docs/old/API_docs_v18/constructors/inputUserForeign.md new file mode 100644 index 00000000..26b0c8a9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputUserForeign.md @@ -0,0 +1,40 @@ +--- +title: inputUserForeign +description: inputUserForeign attributes, type and example +--- +## Constructor: inputUserForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserForeign = '@username'; // Username + +$inputUserForeign = 44700; // bot API id (users) +$inputUserForeign = -492772765; // bot API id (chats) +$inputUserForeign = -10038575794; // bot API id (channels) + +$inputUserForeign = 'user#44700'; // tg-cli style id (users) +$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputUserSelf.md b/docs/old/API_docs_v18/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/inputVideo.md b/docs/old/API_docs_v18/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputVideoEmpty.md b/docs/old/API_docs_v18/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v18/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v18/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/message.md b/docs/old/API_docs_v18/constructors/message.md new file mode 100644 index 00000000..5caa2b3a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/message.md @@ -0,0 +1,31 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v18/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatCreate.md b/docs/old/API_docs_v18/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v18/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v18/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v18/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v18/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageActionEmpty.md b/docs/old/API_docs_v18/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageEmpty.md b/docs/old/API_docs_v18/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageForwarded.md b/docs/old/API_docs_v18/constructors/messageForwarded.md new file mode 100644 index 00000000..ee826693 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageForwarded.md @@ -0,0 +1,33 @@ +--- +title: messageForwarded +description: messageForwarded attributes, type and example +--- +## Constructor: messageForwarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Required| +|fwd\_date|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaAudio.md b/docs/old/API_docs_v18/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaContact.md b/docs/old/API_docs_v18/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaDocument.md b/docs/old/API_docs_v18/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaEmpty.md b/docs/old/API_docs_v18/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaGeo.md b/docs/old/API_docs_v18/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaPhoto.md b/docs/old/API_docs_v18/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..147f13a9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v18/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..f144f714 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaUnsupported.md @@ -0,0 +1,26 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageMediaVideo.md b/docs/old/API_docs_v18/constructors/messageMediaVideo.md new file mode 100644 index 00000000..70c81ff1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messageService.md b/docs/old/API_docs_v18/constructors/messageService.md new file mode 100644 index 00000000..cd3d9c43 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_affectedHistory.md b/docs/old/API_docs_v18/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..35be602d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_chatFull.md b/docs/old/API_docs_v18/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_chats.md b/docs/old/API_docs_v18/constructors/messages_chats.md new file mode 100644 index 00000000..66c6b3b2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_chats.md @@ -0,0 +1,27 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_dhConfig.md b/docs/old/API_docs_v18/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v18/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_dialogs.md b/docs/old/API_docs_v18/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v18/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_messages.md b/docs/old/API_docs_v18/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_messagesSlice.md b/docs/old/API_docs_v18/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v18/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v18/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_sentMessage.md b/docs/old/API_docs_v18/constructors/messages_sentMessage.md new file mode 100644 index 00000000..1050ef21 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_sentMessage.md @@ -0,0 +1,29 @@ +--- +title: messages_sentMessage +description: messages_sentMessage attributes, type and example +--- +## Constructor: messages\_sentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessage = ['_' => 'messages_sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_sentMessageLink.md b/docs/old/API_docs_v18/constructors/messages_sentMessageLink.md new file mode 100644 index 00000000..04c77e7e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_sentMessageLink.md @@ -0,0 +1,30 @@ +--- +title: messages_sentMessageLink +description: messages_sentMessageLink attributes, type and example +--- +## Constructor: messages\_sentMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessageLink = ['_' => 'messages_sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_statedMessage.md b/docs/old/API_docs_v18/constructors/messages_statedMessage.md new file mode 100644 index 00000000..c80a05e5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_statedMessage.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessage +description: messages_statedMessage attributes, type and example +--- +## Constructor: messages\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessage = ['_' => 'messages_statedMessage', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_statedMessageLink.md b/docs/old/API_docs_v18/constructors/messages_statedMessageLink.md new file mode 100644 index 00000000..ee0d4b5e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_statedMessageLink.md @@ -0,0 +1,31 @@ +--- +title: messages_statedMessageLink +description: messages_statedMessageLink attributes, type and example +--- +## Constructor: messages\_statedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessageLink = ['_' => 'messages_statedMessageLink', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'links' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_statedMessages.md b/docs/old/API_docs_v18/constructors/messages_statedMessages.md new file mode 100644 index 00000000..5f1e260b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_statedMessages.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessages +description: messages_statedMessages attributes, type and example +--- +## Constructor: messages\_statedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessages = ['_' => 'messages_statedMessages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/messages_statedMessagesLinks.md b/docs/old/API_docs_v18/constructors/messages_statedMessagesLinks.md new file mode 100644 index 00000000..857974b0 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/messages_statedMessagesLinks.md @@ -0,0 +1,31 @@ +--- +title: messages_statedMessagesLinks +description: messages_statedMessagesLinks attributes, type and example +--- +## Constructor: messages\_statedMessagesLinks +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessagesLinks = ['_' => 'messages_statedMessagesLinks', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'links' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/nearestDc.md b/docs/old/API_docs_v18/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/notifyAll.md b/docs/old/API_docs_v18/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/notifyChats.md b/docs/old/API_docs_v18/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/notifyPeer.md b/docs/old/API_docs_v18/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/notifyUsers.md b/docs/old/API_docs_v18/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v18/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/API_docs_46/constructors/null.md b/docs/old/API_docs_v18/constructors/null.md similarity index 100% rename from docs/API_docs_46/constructors/null.md rename to docs/old/API_docs_v18/constructors/null.md diff --git a/docs/old/API_docs_v18/constructors/peerChat.md b/docs/old/API_docs_v18/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v18/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v18/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/peerNotifySettings.md b/docs/old/API_docs_v18/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v18/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/peerUser.md b/docs/old/API_docs_v18/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/photo.md b/docs/old/API_docs_v18/constructors/photo.md new file mode 100644 index 00000000..9d7860f8 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photo.md @@ -0,0 +1,32 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photoCachedSize.md b/docs/old/API_docs_v18/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photoEmpty.md b/docs/old/API_docs_v18/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photoSize.md b/docs/old/API_docs_v18/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photoSizeEmpty.md b/docs/old/API_docs_v18/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photos_photo.md b/docs/old/API_docs_v18/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photos_photos.md b/docs/old/API_docs_v18/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/photos_photosSlice.md b/docs/old/API_docs_v18/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v18/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v18/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v18/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v18/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v18/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v18/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v18/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..618dccf7 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v18/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..ef61443e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v18/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..613cc558 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v18/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..219cc957 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileGif.md b/docs/old/API_docs_v18/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileJpeg.md b/docs/old/API_docs_v18/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileMov.md b/docs/old/API_docs_v18/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileMp3.md b/docs/old/API_docs_v18/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileMp4.md b/docs/old/API_docs_v18/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_filePartial.md b/docs/old/API_docs_v18/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_filePdf.md b/docs/old/API_docs_v18/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_filePng.md b/docs/old/API_docs_v18/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileUnknown.md b/docs/old/API_docs_v18/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/storage_fileWebp.md b/docs/old/API_docs_v18/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/true.md b/docs/old/API_docs_v18/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v18/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v18/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateChatParticipants.md b/docs/old/API_docs_v18/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateChatUserTyping.md b/docs/old/API_docs_v18/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateContactLink.md b/docs/old/API_docs_v18/constructors/updateContactLink.md new file mode 100644 index 00000000..3763820d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Required| +|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateContactRegistered.md b/docs/old/API_docs_v18/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateDcOptions.md b/docs/old/API_docs_v18/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateDeleteMessages.md b/docs/old/API_docs_v18/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..c15a42ec --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateDeleteMessages.md @@ -0,0 +1,27 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v18/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v18/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateEncryption.md b/docs/old/API_docs_v18/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateMessageID.md b/docs/old/API_docs_v18/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateNewAuthorization.md b/docs/old/API_docs_v18/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v18/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateNewMessage.md b/docs/old/API_docs_v18/constructors/updateNewMessage.md new file mode 100644 index 00000000..3e29bebb --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateNewMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateNotifySettings.md b/docs/old/API_docs_v18/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateReadMessages.md b/docs/old/API_docs_v18/constructors/updateReadMessages.md new file mode 100644 index 00000000..bbeaf29d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateReadMessages.md @@ -0,0 +1,27 @@ +--- +title: updateReadMessages +description: updateReadMessages attributes, type and example +--- +## Constructor: updateReadMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [Vector t], 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateServiceNotification.md b/docs/old/API_docs_v18/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateShort.md b/docs/old/API_docs_v18/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateShortChatMessage.md b/docs/old/API_docs_v18/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..b638a7fa --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateShortChatMessage.md @@ -0,0 +1,32 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateShortMessage.md b/docs/old/API_docs_v18/constructors/updateShortMessage.md new file mode 100644 index 00000000..74993212 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateShortMessage.md @@ -0,0 +1,31 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateUserBlocked.md b/docs/old/API_docs_v18/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateUserName.md b/docs/old/API_docs_v18/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateUserPhoto.md b/docs/old/API_docs_v18/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateUserStatus.md b/docs/old/API_docs_v18/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updateUserTyping.md b/docs/old/API_docs_v18/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updates.md b/docs/old/API_docs_v18/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updatesCombined.md b/docs/old/API_docs_v18/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updatesTooLong.md b/docs/old/API_docs_v18/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updates_difference.md b/docs/old/API_docs_v18/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v18/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updates_differenceSlice.md b/docs/old/API_docs_v18/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/updates_state.md b/docs/old/API_docs_v18/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v18/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/upload_file.md b/docs/old/API_docs_v18/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v18/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userContact.md b/docs/old/API_docs_v18/constructors/userContact.md new file mode 100644 index 00000000..f8de255e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userContact.md @@ -0,0 +1,46 @@ +--- +title: userContact +description: userContact attributes, type and example +--- +## Constructor: userContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userContact = '@username'; // Username + +$userContact = 44700; // bot API id (users) +$userContact = -492772765; // bot API id (chats) +$userContact = -10038575794; // bot API id (channels) + +$userContact = 'user#44700'; // tg-cli style id (users) +$userContact = 'chat#492772765'; // tg-cli style id (chats) +$userContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userDeleted.md b/docs/old/API_docs_v18/constructors/userDeleted.md new file mode 100644 index 00000000..fe7cfdd1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userDeleted.md @@ -0,0 +1,42 @@ +--- +title: userDeleted +description: userDeleted attributes, type and example +--- +## Constructor: userDeleted +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$userDeleted = '@username'; // Username + +$userDeleted = 44700; // bot API id (users) +$userDeleted = -492772765; // bot API id (chats) +$userDeleted = -10038575794; // bot API id (channels) + +$userDeleted = 'user#44700'; // tg-cli style id (users) +$userDeleted = 'chat#492772765'; // tg-cli style id (chats) +$userDeleted = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userEmpty.md b/docs/old/API_docs_v18/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userForeign.md b/docs/old/API_docs_v18/constructors/userForeign.md new file mode 100644 index 00000000..faa7cb3e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userForeign.md @@ -0,0 +1,45 @@ +--- +title: userForeign +description: userForeign attributes, type and example +--- +## Constructor: userForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userForeign = '@username'; // Username + +$userForeign = 44700; // bot API id (users) +$userForeign = -492772765; // bot API id (chats) +$userForeign = -10038575794; // bot API id (channels) + +$userForeign = 'user#44700'; // tg-cli style id (users) +$userForeign = 'chat#492772765'; // tg-cli style id (chats) +$userForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userFull.md b/docs/old/API_docs_v18/constructors/userFull.md new file mode 100644 index 00000000..14a5297d --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|real\_first\_name|[string](../types/string.md) | Required| +|real\_last\_name|[string](../types/string.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userProfilePhoto.md b/docs/old/API_docs_v18/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v18/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userRequest.md b/docs/old/API_docs_v18/constructors/userRequest.md new file mode 100644 index 00000000..98da6ec8 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userRequest.md @@ -0,0 +1,46 @@ +--- +title: userRequest +description: userRequest attributes, type and example +--- +## Constructor: userRequest +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userRequest = '@username'; // Username + +$userRequest = 44700; // bot API id (users) +$userRequest = -492772765; // bot API id (chats) +$userRequest = -10038575794; // bot API id (channels) + +$userRequest = 'user#44700'; // tg-cli style id (users) +$userRequest = 'chat#492772765'; // tg-cli style id (chats) +$userRequest = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userSelf.md b/docs/old/API_docs_v18/constructors/userSelf.md new file mode 100644 index 00000000..29e7dd96 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userSelf.md @@ -0,0 +1,46 @@ +--- +title: userSelf +description: userSelf attributes, type and example +--- +## Constructor: userSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| +|inactive|[Bool](../types/Bool.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; +``` + +The following syntaxes can also be used: + +``` +$userSelf = '@username'; // Username + +$userSelf = 44700; // bot API id (users) +$userSelf = -492772765; // bot API id (chats) +$userSelf = -10038575794; // bot API id (channels) + +$userSelf = 'user#44700'; // tg-cli style id (users) +$userSelf = 'chat#492772765'; // tg-cli style id (chats) +$userSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/constructors/userStatusEmpty.md b/docs/old/API_docs_v18/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userStatusOffline.md b/docs/old/API_docs_v18/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/userStatusOnline.md b/docs/old/API_docs_v18/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v18/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/vector.md b/docs/old/API_docs_v18/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/video.md b/docs/old/API_docs_v18/constructors/video.md new file mode 100644 index 00000000..aa8277e1 --- /dev/null +++ b/docs/old/API_docs_v18/constructors/video.md @@ -0,0 +1,37 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/videoEmpty.md b/docs/old/API_docs_v18/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v18/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/wallPaper.md b/docs/old/API_docs_v18/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v18/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/constructors/wallPaperSolid.md b/docs/old/API_docs_v18/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v18/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v18/index.md b/docs/old/API_docs_v18/index.md new file mode 100644 index 00000000..dc8114d9 --- /dev/null +++ b/docs/old/API_docs_v18/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v18) +description: MadelineProto API documentation (layer v18) +--- +# MadelineProto API documentation (layer v18) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/API_docs_46/methods/account_checkUsername.md b/docs/old/API_docs_v18/methods/account_checkUsername.md similarity index 100% rename from docs/API_docs_46/methods/account_checkUsername.md rename to docs/old/API_docs_v18/methods/account_checkUsername.md diff --git a/docs/API_docs_46/methods/account_getNotifySettings.md b/docs/old/API_docs_v18/methods/account_getNotifySettings.md similarity index 100% rename from docs/API_docs_46/methods/account_getNotifySettings.md rename to docs/old/API_docs_v18/methods/account_getNotifySettings.md diff --git a/docs/API_docs_46/methods/account_getWallPapers.md b/docs/old/API_docs_v18/methods/account_getWallPapers.md similarity index 100% rename from docs/API_docs_46/methods/account_getWallPapers.md rename to docs/old/API_docs_v18/methods/account_getWallPapers.md diff --git a/docs/API_docs_46/methods/account_registerDevice.md b/docs/old/API_docs_v18/methods/account_registerDevice.md similarity index 100% rename from docs/API_docs_46/methods/account_registerDevice.md rename to docs/old/API_docs_v18/methods/account_registerDevice.md diff --git a/docs/API_docs_46/methods/account_resetNotifySettings.md b/docs/old/API_docs_v18/methods/account_resetNotifySettings.md similarity index 100% rename from docs/API_docs_46/methods/account_resetNotifySettings.md rename to docs/old/API_docs_v18/methods/account_resetNotifySettings.md diff --git a/docs/API_docs_46/methods/account_unregisterDevice.md b/docs/old/API_docs_v18/methods/account_unregisterDevice.md similarity index 100% rename from docs/API_docs_46/methods/account_unregisterDevice.md rename to docs/old/API_docs_v18/methods/account_unregisterDevice.md diff --git a/docs/API_docs_46/methods/account_updateNotifySettings.md b/docs/old/API_docs_v18/methods/account_updateNotifySettings.md similarity index 100% rename from docs/API_docs_46/methods/account_updateNotifySettings.md rename to docs/old/API_docs_v18/methods/account_updateNotifySettings.md diff --git a/docs/API_docs_46/methods/account_updateProfile.md b/docs/old/API_docs_v18/methods/account_updateProfile.md similarity index 100% rename from docs/API_docs_46/methods/account_updateProfile.md rename to docs/old/API_docs_v18/methods/account_updateProfile.md diff --git a/docs/API_docs_46/methods/account_updateStatus.md b/docs/old/API_docs_v18/methods/account_updateStatus.md similarity index 100% rename from docs/API_docs_46/methods/account_updateStatus.md rename to docs/old/API_docs_v18/methods/account_updateStatus.md diff --git a/docs/API_docs_46/methods/account_updateUsername.md b/docs/old/API_docs_v18/methods/account_updateUsername.md similarity index 100% rename from docs/API_docs_46/methods/account_updateUsername.md rename to docs/old/API_docs_v18/methods/account_updateUsername.md diff --git a/docs/API_docs_46/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v18/methods/auth_bindTempAuthKey.md similarity index 100% rename from docs/API_docs_46/methods/auth_bindTempAuthKey.md rename to docs/old/API_docs_v18/methods/auth_bindTempAuthKey.md diff --git a/docs/API_docs_46/methods/auth_checkPhone.md b/docs/old/API_docs_v18/methods/auth_checkPhone.md similarity index 100% rename from docs/API_docs_46/methods/auth_checkPhone.md rename to docs/old/API_docs_v18/methods/auth_checkPhone.md diff --git a/docs/API_docs_46/methods/auth_exportAuthorization.md b/docs/old/API_docs_v18/methods/auth_exportAuthorization.md similarity index 100% rename from docs/API_docs_46/methods/auth_exportAuthorization.md rename to docs/old/API_docs_v18/methods/auth_exportAuthorization.md diff --git a/docs/API_docs_46/methods/auth_importAuthorization.md b/docs/old/API_docs_v18/methods/auth_importAuthorization.md similarity index 100% rename from docs/API_docs_46/methods/auth_importAuthorization.md rename to docs/old/API_docs_v18/methods/auth_importAuthorization.md diff --git a/docs/API_docs_46/methods/auth_logOut.md b/docs/old/API_docs_v18/methods/auth_logOut.md similarity index 100% rename from docs/API_docs_46/methods/auth_logOut.md rename to docs/old/API_docs_v18/methods/auth_logOut.md diff --git a/docs/API_docs_46/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v18/methods/auth_resetAuthorizations.md similarity index 100% rename from docs/API_docs_46/methods/auth_resetAuthorizations.md rename to docs/old/API_docs_v18/methods/auth_resetAuthorizations.md diff --git a/docs/API_docs_46/methods/auth_sendCall.md b/docs/old/API_docs_v18/methods/auth_sendCall.md similarity index 100% rename from docs/API_docs_46/methods/auth_sendCall.md rename to docs/old/API_docs_v18/methods/auth_sendCall.md diff --git a/docs/API_docs_46/methods/auth_sendCode.md b/docs/old/API_docs_v18/methods/auth_sendCode.md similarity index 100% rename from docs/API_docs_46/methods/auth_sendCode.md rename to docs/old/API_docs_v18/methods/auth_sendCode.md diff --git a/docs/API_docs_46/methods/auth_sendInvites.md b/docs/old/API_docs_v18/methods/auth_sendInvites.md similarity index 100% rename from docs/API_docs_46/methods/auth_sendInvites.md rename to docs/old/API_docs_v18/methods/auth_sendInvites.md diff --git a/docs/API_docs_46/methods/auth_sendSms.md b/docs/old/API_docs_v18/methods/auth_sendSms.md similarity index 100% rename from docs/API_docs_46/methods/auth_sendSms.md rename to docs/old/API_docs_v18/methods/auth_sendSms.md diff --git a/docs/API_docs_46/methods/auth_signIn.md b/docs/old/API_docs_v18/methods/auth_signIn.md similarity index 100% rename from docs/API_docs_46/methods/auth_signIn.md rename to docs/old/API_docs_v18/methods/auth_signIn.md diff --git a/docs/API_docs_46/methods/auth_signUp.md b/docs/old/API_docs_v18/methods/auth_signUp.md similarity index 100% rename from docs/API_docs_46/methods/auth_signUp.md rename to docs/old/API_docs_v18/methods/auth_signUp.md diff --git a/docs/API_docs_46/methods/contacts_block.md b/docs/old/API_docs_v18/methods/contacts_block.md similarity index 100% rename from docs/API_docs_46/methods/contacts_block.md rename to docs/old/API_docs_v18/methods/contacts_block.md diff --git a/docs/API_docs_46/methods/contacts_deleteContact.md b/docs/old/API_docs_v18/methods/contacts_deleteContact.md similarity index 100% rename from docs/API_docs_46/methods/contacts_deleteContact.md rename to docs/old/API_docs_v18/methods/contacts_deleteContact.md diff --git a/docs/API_docs_46/methods/contacts_deleteContacts.md b/docs/old/API_docs_v18/methods/contacts_deleteContacts.md similarity index 100% rename from docs/API_docs_46/methods/contacts_deleteContacts.md rename to docs/old/API_docs_v18/methods/contacts_deleteContacts.md diff --git a/docs/API_docs_46/methods/contacts_exportCard.md b/docs/old/API_docs_v18/methods/contacts_exportCard.md similarity index 100% rename from docs/API_docs_46/methods/contacts_exportCard.md rename to docs/old/API_docs_v18/methods/contacts_exportCard.md diff --git a/docs/API_docs_46/methods/contacts_getBlocked.md b/docs/old/API_docs_v18/methods/contacts_getBlocked.md similarity index 100% rename from docs/API_docs_46/methods/contacts_getBlocked.md rename to docs/old/API_docs_v18/methods/contacts_getBlocked.md diff --git a/docs/API_docs_46/methods/contacts_getContacts.md b/docs/old/API_docs_v18/methods/contacts_getContacts.md similarity index 100% rename from docs/API_docs_46/methods/contacts_getContacts.md rename to docs/old/API_docs_v18/methods/contacts_getContacts.md diff --git a/docs/API_docs_46/methods/contacts_getStatuses.md b/docs/old/API_docs_v18/methods/contacts_getStatuses.md similarity index 100% rename from docs/API_docs_46/methods/contacts_getStatuses.md rename to docs/old/API_docs_v18/methods/contacts_getStatuses.md diff --git a/docs/API_docs_46/methods/contacts_getSuggested.md b/docs/old/API_docs_v18/methods/contacts_getSuggested.md similarity index 100% rename from docs/API_docs_46/methods/contacts_getSuggested.md rename to docs/old/API_docs_v18/methods/contacts_getSuggested.md diff --git a/docs/API_docs_46/methods/contacts_importCard.md b/docs/old/API_docs_v18/methods/contacts_importCard.md similarity index 100% rename from docs/API_docs_46/methods/contacts_importCard.md rename to docs/old/API_docs_v18/methods/contacts_importCard.md diff --git a/docs/API_docs_46/methods/contacts_importContacts.md b/docs/old/API_docs_v18/methods/contacts_importContacts.md similarity index 100% rename from docs/API_docs_46/methods/contacts_importContacts.md rename to docs/old/API_docs_v18/methods/contacts_importContacts.md diff --git a/docs/API_docs_46/methods/contacts_search.md b/docs/old/API_docs_v18/methods/contacts_search.md similarity index 100% rename from docs/API_docs_46/methods/contacts_search.md rename to docs/old/API_docs_v18/methods/contacts_search.md diff --git a/docs/API_docs_46/methods/contacts_unblock.md b/docs/old/API_docs_v18/methods/contacts_unblock.md similarity index 100% rename from docs/API_docs_46/methods/contacts_unblock.md rename to docs/old/API_docs_v18/methods/contacts_unblock.md diff --git a/docs/API_docs_46/methods/help_getAppUpdate.md b/docs/old/API_docs_v18/methods/help_getAppUpdate.md similarity index 100% rename from docs/API_docs_46/methods/help_getAppUpdate.md rename to docs/old/API_docs_v18/methods/help_getAppUpdate.md diff --git a/docs/API_docs_46/methods/help_getConfig.md b/docs/old/API_docs_v18/methods/help_getConfig.md similarity index 100% rename from docs/API_docs_46/methods/help_getConfig.md rename to docs/old/API_docs_v18/methods/help_getConfig.md diff --git a/docs/API_docs_46/methods/help_getInviteText.md b/docs/old/API_docs_v18/methods/help_getInviteText.md similarity index 100% rename from docs/API_docs_46/methods/help_getInviteText.md rename to docs/old/API_docs_v18/methods/help_getInviteText.md diff --git a/docs/API_docs_46/methods/help_getNearestDc.md b/docs/old/API_docs_v18/methods/help_getNearestDc.md similarity index 100% rename from docs/API_docs_46/methods/help_getNearestDc.md rename to docs/old/API_docs_v18/methods/help_getNearestDc.md diff --git a/docs/API_docs_46/methods/help_getSupport.md b/docs/old/API_docs_v18/methods/help_getSupport.md similarity index 100% rename from docs/API_docs_46/methods/help_getSupport.md rename to docs/old/API_docs_v18/methods/help_getSupport.md diff --git a/docs/API_docs_46/methods/help_saveAppLog.md b/docs/old/API_docs_v18/methods/help_saveAppLog.md similarity index 100% rename from docs/API_docs_46/methods/help_saveAppLog.md rename to docs/old/API_docs_v18/methods/help_saveAppLog.md diff --git a/docs/old/API_docs_v18/methods/index.md b/docs/old/API_docs_v18/methods/index.md new file mode 100644 index 00000000..f0948618 --- /dev/null +++ b/docs/old/API_docs_v18/methods/index.md @@ -0,0 +1,198 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer18](invokeWithLayer18.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) == [$messages\_SentMessage](../types/messages_SentMessage.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/API_docs_46/methods/initConnection.md b/docs/old/API_docs_v18/methods/initConnection.md similarity index 100% rename from docs/API_docs_46/methods/initConnection.md rename to docs/old/API_docs_v18/methods/initConnection.md diff --git a/docs/API_docs_46/methods/invokeAfterMsg.md b/docs/old/API_docs_v18/methods/invokeAfterMsg.md similarity index 100% rename from docs/API_docs_46/methods/invokeAfterMsg.md rename to docs/old/API_docs_v18/methods/invokeAfterMsg.md diff --git a/docs/API_docs_46/methods/invokeAfterMsgs.md b/docs/old/API_docs_v18/methods/invokeAfterMsgs.md similarity index 100% rename from docs/API_docs_46/methods/invokeAfterMsgs.md rename to docs/old/API_docs_v18/methods/invokeAfterMsgs.md diff --git a/docs/old/API_docs_v18/methods/invokeWithLayer18.md b/docs/old/API_docs_v18/methods/invokeWithLayer18.md new file mode 100644 index 00000000..e1281b22 --- /dev/null +++ b/docs/old/API_docs_v18/methods/invokeWithLayer18.md @@ -0,0 +1,37 @@ +--- +title: invokeWithLayer18 +description: invokeWithLayer18 parameters, return type and example +--- +## Method: invokeWithLayer18 +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer18(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_acceptEncryption.md b/docs/old/API_docs_v18/methods/messages_acceptEncryption.md similarity index 100% rename from docs/API_docs_46/methods/messages_acceptEncryption.md rename to docs/old/API_docs_v18/methods/messages_acceptEncryption.md diff --git a/docs/old/API_docs_v18/methods/messages_addChatUser.md b/docs/old/API_docs_v18/methods/messages_addChatUser.md new file mode 100644 index 00000000..2cd377cf --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_createChat.md b/docs/old/API_docs_v18/methods/messages_createChat.md new file mode 100644 index 00000000..31f7e59a --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_deleteChatUser.md b/docs/old/API_docs_v18/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..341b15b7 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_deleteHistory.md b/docs/old/API_docs_v18/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_deleteMessages.md b/docs/old/API_docs_v18/methods/messages_deleteMessages.md new file mode 100644 index 00000000..b1797b8f --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_discardEncryption.md b/docs/old/API_docs_v18/methods/messages_discardEncryption.md similarity index 100% rename from docs/API_docs_46/methods/messages_discardEncryption.md rename to docs/old/API_docs_v18/methods/messages_discardEncryption.md diff --git a/docs/old/API_docs_v18/methods/messages_editChatPhoto.md b/docs/old/API_docs_v18/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..12647209 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_editChatTitle.md b/docs/old/API_docs_v18/methods/messages_editChatTitle.md new file mode 100644 index 00000000..2f521795 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_forwardMessage.md b/docs/old/API_docs_v18/methods/messages_forwardMessage.md new file mode 100644 index 00000000..cc378270 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_forwardMessages.md b/docs/old/API_docs_v18/methods/messages_forwardMessages.md new file mode 100644 index 00000000..be9d16e7 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getChats.md b/docs/old/API_docs_v18/methods/messages_getChats.md similarity index 100% rename from docs/API_docs_46/methods/messages_getChats.md rename to docs/old/API_docs_v18/methods/messages_getChats.md diff --git a/docs/API_docs_46/methods/messages_getDhConfig.md b/docs/old/API_docs_v18/methods/messages_getDhConfig.md similarity index 100% rename from docs/API_docs_46/methods/messages_getDhConfig.md rename to docs/old/API_docs_v18/methods/messages_getDhConfig.md diff --git a/docs/old/API_docs_v18/methods/messages_getDialogs.md b/docs/old/API_docs_v18/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe2b4aea --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_getDialogs.md @@ -0,0 +1,39 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getFullChat.md b/docs/old/API_docs_v18/methods/messages_getFullChat.md similarity index 100% rename from docs/API_docs_46/methods/messages_getFullChat.md rename to docs/old/API_docs_v18/methods/messages_getFullChat.md diff --git a/docs/old/API_docs_v18/methods/messages_getHistory.md b/docs/old/API_docs_v18/methods/messages_getHistory.md new file mode 100644 index 00000000..6788ebd3 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_getHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getMessages.md b/docs/old/API_docs_v18/methods/messages_getMessages.md similarity index 100% rename from docs/API_docs_46/methods/messages_getMessages.md rename to docs/old/API_docs_v18/methods/messages_getMessages.md diff --git a/docs/API_docs_46/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v18/methods/messages_readEncryptedHistory.md similarity index 100% rename from docs/API_docs_46/methods/messages_readEncryptedHistory.md rename to docs/old/API_docs_v18/methods/messages_readEncryptedHistory.md diff --git a/docs/old/API_docs_v18/methods/messages_readHistory.md b/docs/old/API_docs_v18/methods/messages_readHistory.md new file mode 100644 index 00000000..09ecea17 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_readHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|read\_contents|[Bool](../types/Bool.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_readMessageContents.md b/docs/old/API_docs_v18/methods/messages_readMessageContents.md new file mode 100644 index 00000000..648cf36e --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_receivedMessages.md b/docs/old/API_docs_v18/methods/messages_receivedMessages.md new file mode 100644 index 00000000..c4176cc4 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_receivedQueue.md b/docs/old/API_docs_v18/methods/messages_receivedQueue.md similarity index 100% rename from docs/API_docs_46/methods/messages_receivedQueue.md rename to docs/old/API_docs_v18/methods/messages_receivedQueue.md diff --git a/docs/API_docs_46/methods/messages_reportSpam.md b/docs/old/API_docs_v18/methods/messages_reportSpam.md similarity index 100% rename from docs/API_docs_46/methods/messages_reportSpam.md rename to docs/old/API_docs_v18/methods/messages_reportSpam.md diff --git a/docs/API_docs_46/methods/messages_requestEncryption.md b/docs/old/API_docs_v18/methods/messages_requestEncryption.md similarity index 100% rename from docs/API_docs_46/methods/messages_requestEncryption.md rename to docs/old/API_docs_v18/methods/messages_requestEncryption.md diff --git a/docs/API_docs_55/methods/messages_search.md b/docs/old/API_docs_v18/methods/messages_search.md similarity index 100% rename from docs/API_docs_55/methods/messages_search.md rename to docs/old/API_docs_v18/methods/messages_search.md diff --git a/docs/old/API_docs_v18/methods/messages_sendBroadcast.md b/docs/old/API_docs_v18/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..6477927a --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_sendEncrypted.md b/docs/old/API_docs_v18/methods/messages_sendEncrypted.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendEncrypted.md rename to docs/old/API_docs_v18/methods/messages_sendEncrypted.md diff --git a/docs/API_docs_46/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v18/methods/messages_sendEncryptedFile.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendEncryptedFile.md rename to docs/old/API_docs_v18/methods/messages_sendEncryptedFile.md diff --git a/docs/API_docs_46/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v18/methods/messages_sendEncryptedService.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendEncryptedService.md rename to docs/old/API_docs_v18/methods/messages_sendEncryptedService.md diff --git a/docs/old/API_docs_v18/methods/messages_sendMedia.md b/docs/old/API_docs_v18/methods/messages_sendMedia.md new file mode 100644 index 00000000..e7423ef4 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_sendMedia.md @@ -0,0 +1,38 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v18/methods/messages_sendMessage.md b/docs/old/API_docs_v18/methods/messages_sendMessage.md new file mode 100644 index 00000000..addfbb57 --- /dev/null +++ b/docs/old/API_docs_v18/methods/messages_sendMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v18/methods/messages_setEncryptedTyping.md similarity index 100% rename from docs/API_docs_46/methods/messages_setEncryptedTyping.md rename to docs/old/API_docs_v18/methods/messages_setEncryptedTyping.md diff --git a/docs/API_docs_46/methods/messages_setTyping.md b/docs/old/API_docs_v18/methods/messages_setTyping.md similarity index 100% rename from docs/API_docs_46/methods/messages_setTyping.md rename to docs/old/API_docs_v18/methods/messages_setTyping.md diff --git a/docs/API_docs_46/methods/photos_deletePhotos.md b/docs/old/API_docs_v18/methods/photos_deletePhotos.md similarity index 100% rename from docs/API_docs_46/methods/photos_deletePhotos.md rename to docs/old/API_docs_v18/methods/photos_deletePhotos.md diff --git a/docs/old/API_docs_v18/methods/photos_getUserPhotos.md b/docs/old/API_docs_v18/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..463ca056 --- /dev/null +++ b/docs/old/API_docs_v18/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v18/methods/photos_updateProfilePhoto.md similarity index 100% rename from docs/API_docs_46/methods/photos_updateProfilePhoto.md rename to docs/old/API_docs_v18/methods/photos_updateProfilePhoto.md diff --git a/docs/API_docs_46/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v18/methods/photos_uploadProfilePhoto.md similarity index 100% rename from docs/API_docs_46/methods/photos_uploadProfilePhoto.md rename to docs/old/API_docs_v18/methods/photos_uploadProfilePhoto.md diff --git a/docs/API_docs_46/methods/updates_getDifference.md b/docs/old/API_docs_v18/methods/updates_getDifference.md similarity index 100% rename from docs/API_docs_46/methods/updates_getDifference.md rename to docs/old/API_docs_v18/methods/updates_getDifference.md diff --git a/docs/API_docs_46/methods/updates_getState.md b/docs/old/API_docs_v18/methods/updates_getState.md similarity index 100% rename from docs/API_docs_46/methods/updates_getState.md rename to docs/old/API_docs_v18/methods/updates_getState.md diff --git a/docs/API_docs_46/methods/upload_getFile.md b/docs/old/API_docs_v18/methods/upload_getFile.md similarity index 100% rename from docs/API_docs_46/methods/upload_getFile.md rename to docs/old/API_docs_v18/methods/upload_getFile.md diff --git a/docs/API_docs_46/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v18/methods/upload_saveBigFilePart.md similarity index 100% rename from docs/API_docs_46/methods/upload_saveBigFilePart.md rename to docs/old/API_docs_v18/methods/upload_saveBigFilePart.md diff --git a/docs/API_docs_46/methods/upload_saveFilePart.md b/docs/old/API_docs_v18/methods/upload_saveFilePart.md similarity index 100% rename from docs/API_docs_46/methods/upload_saveFilePart.md rename to docs/old/API_docs_v18/methods/upload_saveFilePart.md diff --git a/docs/API_docs_46/methods/users_getFullUser.md b/docs/old/API_docs_v18/methods/users_getFullUser.md similarity index 100% rename from docs/API_docs_46/methods/users_getFullUser.md rename to docs/old/API_docs_v18/methods/users_getFullUser.md diff --git a/docs/API_docs_46/methods/users_getUsers.md b/docs/old/API_docs_v18/methods/users_getUsers.md similarity index 100% rename from docs/API_docs_46/methods/users_getUsers.md rename to docs/old/API_docs_v18/methods/users_getUsers.md diff --git a/docs/API_docs_46/types/!X.md b/docs/old/API_docs_v18/types/!X.md similarity index 100% rename from docs/API_docs_46/types/!X.md rename to docs/old/API_docs_v18/types/!X.md diff --git a/docs/API_docs_46/types/Audio.md b/docs/old/API_docs_v18/types/Audio.md similarity index 100% rename from docs/API_docs_46/types/Audio.md rename to docs/old/API_docs_v18/types/Audio.md diff --git a/docs/API_docs_46/types/Bool.md b/docs/old/API_docs_v18/types/Bool.md similarity index 100% rename from docs/API_docs_46/types/Bool.md rename to docs/old/API_docs_v18/types/Bool.md diff --git a/docs/old/API_docs_v18/types/Chat.md b/docs/old/API_docs_v18/types/Chat.md new file mode 100644 index 00000000..81db9ec6 --- /dev/null +++ b/docs/old/API_docs_v18/types/Chat.md @@ -0,0 +1,23 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/ChatFull.md b/docs/old/API_docs_v18/types/ChatFull.md new file mode 100644 index 00000000..a63ad7e6 --- /dev/null +++ b/docs/old/API_docs_v18/types/ChatFull.md @@ -0,0 +1,19 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/ChatParticipant.md b/docs/old/API_docs_v18/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v18/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ChatParticipants.md b/docs/old/API_docs_v18/types/ChatParticipants.md similarity index 100% rename from docs/API_docs_46/types/ChatParticipants.md rename to docs/old/API_docs_v18/types/ChatParticipants.md diff --git a/docs/API_docs_46/types/ChatPhoto.md b/docs/old/API_docs_v18/types/ChatPhoto.md similarity index 100% rename from docs/API_docs_46/types/ChatPhoto.md rename to docs/old/API_docs_v18/types/ChatPhoto.md diff --git a/docs/API_docs_46/types/Config.md b/docs/old/API_docs_v18/types/Config.md similarity index 100% rename from docs/API_docs_46/types/Config.md rename to docs/old/API_docs_v18/types/Config.md diff --git a/docs/API_docs_46/types/Contact.md b/docs/old/API_docs_v18/types/Contact.md similarity index 100% rename from docs/API_docs_46/types/Contact.md rename to docs/old/API_docs_v18/types/Contact.md diff --git a/docs/API_docs_46/types/ContactBlocked.md b/docs/old/API_docs_v18/types/ContactBlocked.md similarity index 100% rename from docs/API_docs_46/types/ContactBlocked.md rename to docs/old/API_docs_v18/types/ContactBlocked.md diff --git a/docs/old/API_docs_v18/types/ContactFound.md b/docs/old/API_docs_v18/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v18/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ContactStatus.md b/docs/old/API_docs_v18/types/ContactStatus.md similarity index 100% rename from docs/API_docs_46/types/ContactStatus.md rename to docs/old/API_docs_v18/types/ContactStatus.md diff --git a/docs/API_docs_46/types/ContactSuggested.md b/docs/old/API_docs_v18/types/ContactSuggested.md similarity index 100% rename from docs/API_docs_46/types/ContactSuggested.md rename to docs/old/API_docs_v18/types/ContactSuggested.md diff --git a/docs/API_docs_46/types/DcOption.md b/docs/old/API_docs_v18/types/DcOption.md similarity index 100% rename from docs/API_docs_46/types/DcOption.md rename to docs/old/API_docs_v18/types/DcOption.md diff --git a/docs/API_docs_55/types/Dialog.md b/docs/old/API_docs_v18/types/Dialog.md similarity index 100% rename from docs/API_docs_55/types/Dialog.md rename to docs/old/API_docs_v18/types/Dialog.md diff --git a/docs/old/API_docs_v18/types/Document.md b/docs/old/API_docs_v18/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v18/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/EncryptedChat.md b/docs/old/API_docs_v18/types/EncryptedChat.md similarity index 100% rename from docs/API_docs_46/types/EncryptedChat.md rename to docs/old/API_docs_v18/types/EncryptedChat.md diff --git a/docs/API_docs_46/types/EncryptedFile.md b/docs/old/API_docs_v18/types/EncryptedFile.md similarity index 100% rename from docs/API_docs_46/types/EncryptedFile.md rename to docs/old/API_docs_v18/types/EncryptedFile.md diff --git a/docs/API_docs_46/types/EncryptedMessage.md b/docs/old/API_docs_v18/types/EncryptedMessage.md similarity index 100% rename from docs/API_docs_46/types/EncryptedMessage.md rename to docs/old/API_docs_v18/types/EncryptedMessage.md diff --git a/docs/API_docs_46/types/Error.md b/docs/old/API_docs_v18/types/Error.md similarity index 100% rename from docs/API_docs_46/types/Error.md rename to docs/old/API_docs_v18/types/Error.md diff --git a/docs/API_docs_46/types/FileLocation.md b/docs/old/API_docs_v18/types/FileLocation.md similarity index 100% rename from docs/API_docs_46/types/FileLocation.md rename to docs/old/API_docs_v18/types/FileLocation.md diff --git a/docs/API_docs_46/types/GeoPoint.md b/docs/old/API_docs_v18/types/GeoPoint.md similarity index 100% rename from docs/API_docs_46/types/GeoPoint.md rename to docs/old/API_docs_v18/types/GeoPoint.md diff --git a/docs/API_docs_46/types/ImportedContact.md b/docs/old/API_docs_v18/types/ImportedContact.md similarity index 100% rename from docs/API_docs_46/types/ImportedContact.md rename to docs/old/API_docs_v18/types/ImportedContact.md diff --git a/docs/API_docs_46/types/InputAppEvent.md b/docs/old/API_docs_v18/types/InputAppEvent.md similarity index 100% rename from docs/API_docs_46/types/InputAppEvent.md rename to docs/old/API_docs_v18/types/InputAppEvent.md diff --git a/docs/API_docs_46/types/InputAudio.md b/docs/old/API_docs_v18/types/InputAudio.md similarity index 100% rename from docs/API_docs_46/types/InputAudio.md rename to docs/old/API_docs_v18/types/InputAudio.md diff --git a/docs/API_docs_46/types/InputChatPhoto.md b/docs/old/API_docs_v18/types/InputChatPhoto.md similarity index 100% rename from docs/API_docs_46/types/InputChatPhoto.md rename to docs/old/API_docs_v18/types/InputChatPhoto.md diff --git a/docs/API_docs_46/types/InputContact.md b/docs/old/API_docs_v18/types/InputContact.md similarity index 100% rename from docs/API_docs_46/types/InputContact.md rename to docs/old/API_docs_v18/types/InputContact.md diff --git a/docs/API_docs_46/types/InputDocument.md b/docs/old/API_docs_v18/types/InputDocument.md similarity index 100% rename from docs/API_docs_46/types/InputDocument.md rename to docs/old/API_docs_v18/types/InputDocument.md diff --git a/docs/API_docs_46/types/InputEncryptedChat.md b/docs/old/API_docs_v18/types/InputEncryptedChat.md similarity index 100% rename from docs/API_docs_46/types/InputEncryptedChat.md rename to docs/old/API_docs_v18/types/InputEncryptedChat.md diff --git a/docs/API_docs_46/types/InputEncryptedFile.md b/docs/old/API_docs_v18/types/InputEncryptedFile.md similarity index 100% rename from docs/API_docs_46/types/InputEncryptedFile.md rename to docs/old/API_docs_v18/types/InputEncryptedFile.md diff --git a/docs/API_docs_46/types/InputFile.md b/docs/old/API_docs_v18/types/InputFile.md similarity index 100% rename from docs/API_docs_46/types/InputFile.md rename to docs/old/API_docs_v18/types/InputFile.md diff --git a/docs/API_docs_46/types/InputFileLocation.md b/docs/old/API_docs_v18/types/InputFileLocation.md similarity index 100% rename from docs/API_docs_46/types/InputFileLocation.md rename to docs/old/API_docs_v18/types/InputFileLocation.md diff --git a/docs/API_docs_46/types/InputGeoPoint.md b/docs/old/API_docs_v18/types/InputGeoPoint.md similarity index 100% rename from docs/API_docs_46/types/InputGeoPoint.md rename to docs/old/API_docs_v18/types/InputGeoPoint.md diff --git a/docs/old/API_docs_v18/types/InputMedia.md b/docs/old/API_docs_v18/types/InputMedia.md new file mode 100644 index 00000000..91dacd19 --- /dev/null +++ b/docs/old/API_docs_v18/types/InputMedia.md @@ -0,0 +1,43 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputNotifyPeer.md b/docs/old/API_docs_v18/types/InputNotifyPeer.md similarity index 100% rename from docs/API_docs_46/types/InputNotifyPeer.md rename to docs/old/API_docs_v18/types/InputNotifyPeer.md diff --git a/docs/old/API_docs_v18/types/InputPeer.md b/docs/old/API_docs_v18/types/InputPeer.md new file mode 100644 index 00000000..c694639e --- /dev/null +++ b/docs/old/API_docs_v18/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerContact](../constructors/inputPeerContact.md) + +[inputPeerForeign](../constructors/inputPeerForeign.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v18/types/InputPeerNotifyEvents.md similarity index 100% rename from docs/API_docs_46/types/InputPeerNotifyEvents.md rename to docs/old/API_docs_v18/types/InputPeerNotifyEvents.md diff --git a/docs/API_docs_46/types/InputPeerNotifySettings.md b/docs/old/API_docs_v18/types/InputPeerNotifySettings.md similarity index 100% rename from docs/API_docs_46/types/InputPeerNotifySettings.md rename to docs/old/API_docs_v18/types/InputPeerNotifySettings.md diff --git a/docs/API_docs_46/types/InputPhoto.md b/docs/old/API_docs_v18/types/InputPhoto.md similarity index 100% rename from docs/API_docs_46/types/InputPhoto.md rename to docs/old/API_docs_v18/types/InputPhoto.md diff --git a/docs/API_docs_46/types/InputPhotoCrop.md b/docs/old/API_docs_v18/types/InputPhotoCrop.md similarity index 100% rename from docs/API_docs_46/types/InputPhotoCrop.md rename to docs/old/API_docs_v18/types/InputPhotoCrop.md diff --git a/docs/old/API_docs_v18/types/InputUser.md b/docs/old/API_docs_v18/types/InputUser.md new file mode 100644 index 00000000..fb5f01eb --- /dev/null +++ b/docs/old/API_docs_v18/types/InputUser.md @@ -0,0 +1,25 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUserContact](../constructors/inputUserContact.md) + +[inputUserForeign](../constructors/inputUserForeign.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputVideo.md b/docs/old/API_docs_v18/types/InputVideo.md similarity index 100% rename from docs/API_docs_46/types/InputVideo.md rename to docs/old/API_docs_v18/types/InputVideo.md diff --git a/docs/old/API_docs_v18/types/Message.md b/docs/old/API_docs_v18/types/Message.md new file mode 100644 index 00000000..337d33ce --- /dev/null +++ b/docs/old/API_docs_v18/types/Message.md @@ -0,0 +1,25 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageForwarded](../constructors/messageForwarded.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/MessageAction.md b/docs/old/API_docs_v18/types/MessageAction.md new file mode 100644 index 00000000..4a0a3911 --- /dev/null +++ b/docs/old/API_docs_v18/types/MessageAction.md @@ -0,0 +1,31 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/MessageMedia.md b/docs/old/API_docs_v18/types/MessageMedia.md new file mode 100644 index 00000000..2059f46b --- /dev/null +++ b/docs/old/API_docs_v18/types/MessageMedia.md @@ -0,0 +1,33 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/MessagesFilter.md b/docs/old/API_docs_v18/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v18/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/NearestDc.md b/docs/old/API_docs_v18/types/NearestDc.md similarity index 100% rename from docs/API_docs_46/types/NearestDc.md rename to docs/old/API_docs_v18/types/NearestDc.md diff --git a/docs/API_docs_46/types/NotifyPeer.md b/docs/old/API_docs_v18/types/NotifyPeer.md similarity index 100% rename from docs/API_docs_46/types/NotifyPeer.md rename to docs/old/API_docs_v18/types/NotifyPeer.md diff --git a/docs/API_docs_46/types/Null.md b/docs/old/API_docs_v18/types/Null.md similarity index 100% rename from docs/API_docs_46/types/Null.md rename to docs/old/API_docs_v18/types/Null.md diff --git a/docs/old/API_docs_v18/types/Peer.md b/docs/old/API_docs_v18/types/Peer.md new file mode 100644 index 00000000..85fc991d --- /dev/null +++ b/docs/old/API_docs_v18/types/Peer.md @@ -0,0 +1,21 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/PeerNotifyEvents.md b/docs/old/API_docs_v18/types/PeerNotifyEvents.md similarity index 100% rename from docs/API_docs_46/types/PeerNotifyEvents.md rename to docs/old/API_docs_v18/types/PeerNotifyEvents.md diff --git a/docs/API_docs_46/types/PeerNotifySettings.md b/docs/old/API_docs_v18/types/PeerNotifySettings.md similarity index 100% rename from docs/API_docs_46/types/PeerNotifySettings.md rename to docs/old/API_docs_v18/types/PeerNotifySettings.md diff --git a/docs/API_docs_46/types/Photo.md b/docs/old/API_docs_v18/types/Photo.md similarity index 100% rename from docs/API_docs_46/types/Photo.md rename to docs/old/API_docs_v18/types/Photo.md diff --git a/docs/API_docs_46/types/PhotoSize.md b/docs/old/API_docs_v18/types/PhotoSize.md similarity index 100% rename from docs/API_docs_46/types/PhotoSize.md rename to docs/old/API_docs_v18/types/PhotoSize.md diff --git a/docs/API_docs_46/types/SendMessageAction.md b/docs/old/API_docs_v18/types/SendMessageAction.md similarity index 100% rename from docs/API_docs_46/types/SendMessageAction.md rename to docs/old/API_docs_v18/types/SendMessageAction.md diff --git a/docs/API_docs_46/types/True.md b/docs/old/API_docs_v18/types/True.md similarity index 100% rename from docs/API_docs_46/types/True.md rename to docs/old/API_docs_v18/types/True.md diff --git a/docs/old/API_docs_v18/types/Update.md b/docs/old/API_docs_v18/types/Update.md new file mode 100644 index 00000000..81d1371a --- /dev/null +++ b/docs/old/API_docs_v18/types/Update.md @@ -0,0 +1,63 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateReadMessages](../constructors/updateReadMessages.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/Updates.md b/docs/old/API_docs_v18/types/Updates.md new file mode 100644 index 00000000..0284bdd7 --- /dev/null +++ b/docs/old/API_docs_v18/types/Updates.md @@ -0,0 +1,29 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v18/types/User.md b/docs/old/API_docs_v18/types/User.md new file mode 100644 index 00000000..4fc64f38 --- /dev/null +++ b/docs/old/API_docs_v18/types/User.md @@ -0,0 +1,37 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[userSelf](../constructors/userSelf.md) + +[userContact](../constructors/userContact.md) + +[userRequest](../constructors/userRequest.md) + +[userForeign](../constructors/userForeign.md) + +[userDeleted](../constructors/userDeleted.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + + + diff --git a/docs/API_docs_46/types/UserFull.md b/docs/old/API_docs_v18/types/UserFull.md similarity index 100% rename from docs/API_docs_46/types/UserFull.md rename to docs/old/API_docs_v18/types/UserFull.md diff --git a/docs/API_docs_46/types/UserProfilePhoto.md b/docs/old/API_docs_v18/types/UserProfilePhoto.md similarity index 100% rename from docs/API_docs_46/types/UserProfilePhoto.md rename to docs/old/API_docs_v18/types/UserProfilePhoto.md diff --git a/docs/old/API_docs_v18/types/UserStatus.md b/docs/old/API_docs_v18/types/UserStatus.md new file mode 100644 index 00000000..1fd36332 --- /dev/null +++ b/docs/old/API_docs_v18/types/UserStatus.md @@ -0,0 +1,23 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Vector t.md b/docs/old/API_docs_v18/types/Vector t.md similarity index 100% rename from docs/API_docs_55/types/Vector t.md rename to docs/old/API_docs_v18/types/Vector t.md diff --git a/docs/API_docs_46/types/Video.md b/docs/old/API_docs_v18/types/Video.md similarity index 100% rename from docs/API_docs_46/types/Video.md rename to docs/old/API_docs_v18/types/Video.md diff --git a/docs/API_docs_46/types/WallPaper.md b/docs/old/API_docs_v18/types/WallPaper.md similarity index 100% rename from docs/API_docs_46/types/WallPaper.md rename to docs/old/API_docs_v18/types/WallPaper.md diff --git a/docs/API_docs_46/types/X.md b/docs/old/API_docs_v18/types/X.md similarity index 100% rename from docs/API_docs_46/types/X.md rename to docs/old/API_docs_v18/types/X.md diff --git a/docs/old/API_docs_v18/types/auth_Authorization.md b/docs/old/API_docs_v18/types/auth_Authorization.md new file mode 100644 index 00000000..99bb69ba --- /dev/null +++ b/docs/old/API_docs_v18/types/auth_Authorization.md @@ -0,0 +1,25 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + + + diff --git a/docs/API_docs_46/types/auth_CheckedPhone.md b/docs/old/API_docs_v18/types/auth_CheckedPhone.md similarity index 100% rename from docs/API_docs_46/types/auth_CheckedPhone.md rename to docs/old/API_docs_v18/types/auth_CheckedPhone.md diff --git a/docs/API_docs_46/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v18/types/auth_ExportedAuthorization.md similarity index 100% rename from docs/API_docs_46/types/auth_ExportedAuthorization.md rename to docs/old/API_docs_v18/types/auth_ExportedAuthorization.md diff --git a/docs/API_docs_46/types/auth_SentCode.md b/docs/old/API_docs_v18/types/auth_SentCode.md similarity index 100% rename from docs/API_docs_46/types/auth_SentCode.md rename to docs/old/API_docs_v18/types/auth_SentCode.md diff --git a/docs/API_docs_46/types/bytes.md b/docs/old/API_docs_v18/types/bytes.md similarity index 100% rename from docs/API_docs_46/types/bytes.md rename to docs/old/API_docs_v18/types/bytes.md diff --git a/docs/API_docs_46/types/contacts_Blocked.md b/docs/old/API_docs_v18/types/contacts_Blocked.md similarity index 100% rename from docs/API_docs_46/types/contacts_Blocked.md rename to docs/old/API_docs_v18/types/contacts_Blocked.md diff --git a/docs/API_docs_46/types/contacts_Contacts.md b/docs/old/API_docs_v18/types/contacts_Contacts.md similarity index 100% rename from docs/API_docs_46/types/contacts_Contacts.md rename to docs/old/API_docs_v18/types/contacts_Contacts.md diff --git a/docs/old/API_docs_v18/types/contacts_ForeignLink.md b/docs/old/API_docs_v18/types/contacts_ForeignLink.md new file mode 100644 index 00000000..f242b56d --- /dev/null +++ b/docs/old/API_docs_v18/types/contacts_ForeignLink.md @@ -0,0 +1,23 @@ +--- +title: contacts_ForeignLink +description: constructors and methods of type contacts_ForeignLink +--- +## Type: contacts\_ForeignLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) + +[contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) + +[contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/contacts_Found.md b/docs/old/API_docs_v18/types/contacts_Found.md similarity index 100% rename from docs/API_docs_46/types/contacts_Found.md rename to docs/old/API_docs_v18/types/contacts_Found.md diff --git a/docs/API_docs_46/types/contacts_ImportedContacts.md b/docs/old/API_docs_v18/types/contacts_ImportedContacts.md similarity index 100% rename from docs/API_docs_46/types/contacts_ImportedContacts.md rename to docs/old/API_docs_v18/types/contacts_ImportedContacts.md diff --git a/docs/API_docs_46/types/contacts_Link.md b/docs/old/API_docs_v18/types/contacts_Link.md similarity index 100% rename from docs/API_docs_46/types/contacts_Link.md rename to docs/old/API_docs_v18/types/contacts_Link.md diff --git a/docs/old/API_docs_v18/types/contacts_MyLink.md b/docs/old/API_docs_v18/types/contacts_MyLink.md new file mode 100644 index 00000000..0eb65b07 --- /dev/null +++ b/docs/old/API_docs_v18/types/contacts_MyLink.md @@ -0,0 +1,23 @@ +--- +title: contacts_MyLink +description: constructors and methods of type contacts_MyLink +--- +## Type: contacts\_MyLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) + +[contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) + +[contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/contacts_Suggested.md b/docs/old/API_docs_v18/types/contacts_Suggested.md similarity index 100% rename from docs/API_docs_46/types/contacts_Suggested.md rename to docs/old/API_docs_v18/types/contacts_Suggested.md diff --git a/docs/API_docs_46/types/double.md b/docs/old/API_docs_v18/types/double.md similarity index 100% rename from docs/API_docs_46/types/double.md rename to docs/old/API_docs_v18/types/double.md diff --git a/docs/API_docs_46/types/help_AppUpdate.md b/docs/old/API_docs_v18/types/help_AppUpdate.md similarity index 100% rename from docs/API_docs_46/types/help_AppUpdate.md rename to docs/old/API_docs_v18/types/help_AppUpdate.md diff --git a/docs/API_docs_46/types/help_InviteText.md b/docs/old/API_docs_v18/types/help_InviteText.md similarity index 100% rename from docs/API_docs_46/types/help_InviteText.md rename to docs/old/API_docs_v18/types/help_InviteText.md diff --git a/docs/API_docs_46/types/help_Support.md b/docs/old/API_docs_v18/types/help_Support.md similarity index 100% rename from docs/API_docs_46/types/help_Support.md rename to docs/old/API_docs_v18/types/help_Support.md diff --git a/docs/old/API_docs_v18/types/index.md b/docs/old/API_docs_v18/types/index.md new file mode 100644 index 00000000..a0eed848 --- /dev/null +++ b/docs/old/API_docs_v18/types/index.md @@ -0,0 +1,206 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[Audio](Audio.md) + +[Bool](Bool.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[Document](Document.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageMedia](MessageMedia.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[SendMessageAction](SendMessageAction.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[X](X.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_ForeignLink](contacts_ForeignLink.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_MyLink](contacts_MyLink.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_SentMessage](messages_SentMessage.md) + +[messages\_StatedMessage](messages_StatedMessage.md) + +[messages\_StatedMessages](messages_StatedMessages.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/API_docs_46/types/int.md b/docs/old/API_docs_v18/types/int.md similarity index 100% rename from docs/API_docs_46/types/int.md rename to docs/old/API_docs_v18/types/int.md diff --git a/docs/API_docs_46/types/int128.md b/docs/old/API_docs_v18/types/int128.md similarity index 100% rename from docs/API_docs_46/types/int128.md rename to docs/old/API_docs_v18/types/int128.md diff --git a/docs/API_docs_46/types/int256.md b/docs/old/API_docs_v18/types/int256.md similarity index 100% rename from docs/API_docs_46/types/int256.md rename to docs/old/API_docs_v18/types/int256.md diff --git a/docs/API_docs_46/types/int512.md b/docs/old/API_docs_v18/types/int512.md similarity index 100% rename from docs/API_docs_46/types/int512.md rename to docs/old/API_docs_v18/types/int512.md diff --git a/docs/API_docs_46/types/long.md b/docs/old/API_docs_v18/types/long.md similarity index 100% rename from docs/API_docs_46/types/long.md rename to docs/old/API_docs_v18/types/long.md diff --git a/docs/old/API_docs_v18/types/messages_AffectedHistory.md b/docs/old/API_docs_v18/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/old/API_docs_v18/types/messages_ChatFull.md b/docs/old/API_docs_v18/types/messages_ChatFull.md new file mode 100644 index 00000000..14622524 --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_ChatFull.md @@ -0,0 +1,21 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + + + diff --git a/docs/old/API_docs_v18/types/messages_Chats.md b/docs/old/API_docs_v18/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/API_docs_46/types/messages_DhConfig.md b/docs/old/API_docs_v18/types/messages_DhConfig.md similarity index 100% rename from docs/API_docs_46/types/messages_DhConfig.md rename to docs/old/API_docs_v18/types/messages_DhConfig.md diff --git a/docs/API_docs_55/types/messages_Dialogs.md b/docs/old/API_docs_v18/types/messages_Dialogs.md similarity index 100% rename from docs/API_docs_55/types/messages_Dialogs.md rename to docs/old/API_docs_v18/types/messages_Dialogs.md diff --git a/docs/old/API_docs_v18/types/messages_Messages.md b/docs/old/API_docs_v18/types/messages_Messages.md new file mode 100644 index 00000000..e47583e2 --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_Messages.md @@ -0,0 +1,27 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + + + diff --git a/docs/API_docs_46/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v18/types/messages_SentEncryptedMessage.md similarity index 100% rename from docs/API_docs_46/types/messages_SentEncryptedMessage.md rename to docs/old/API_docs_v18/types/messages_SentEncryptedMessage.md diff --git a/docs/old/API_docs_v18/types/messages_SentMessage.md b/docs/old/API_docs_v18/types/messages_SentMessage.md new file mode 100644 index 00000000..83f798e2 --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_SentMessage.md @@ -0,0 +1,23 @@ +--- +title: messages_SentMessage +description: constructors and methods of type messages_SentMessage +--- +## Type: messages\_SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentMessage](../constructors/messages_sentMessage.md) + +[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + + + diff --git a/docs/old/API_docs_v18/types/messages_StatedMessage.md b/docs/old/API_docs_v18/types/messages_StatedMessage.md new file mode 100644 index 00000000..3d771cf7 --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_StatedMessage.md @@ -0,0 +1,35 @@ +--- +title: messages_StatedMessage +description: constructors and methods of type messages_StatedMessage +--- +## Type: messages\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessage](../constructors/messages_statedMessage.md) + +[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + + + diff --git a/docs/old/API_docs_v18/types/messages_StatedMessages.md b/docs/old/API_docs_v18/types/messages_StatedMessages.md new file mode 100644 index 00000000..72f718ab --- /dev/null +++ b/docs/old/API_docs_v18/types/messages_StatedMessages.md @@ -0,0 +1,25 @@ +--- +title: messages_StatedMessages +description: constructors and methods of type messages_StatedMessages +--- +## Type: messages\_StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessages](../constructors/messages_statedMessages.md) + +[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + + + diff --git a/docs/API_docs_46/types/photos_Photo.md b/docs/old/API_docs_v18/types/photos_Photo.md similarity index 100% rename from docs/API_docs_46/types/photos_Photo.md rename to docs/old/API_docs_v18/types/photos_Photo.md diff --git a/docs/API_docs_46/types/photos_Photos.md b/docs/old/API_docs_v18/types/photos_Photos.md similarity index 100% rename from docs/API_docs_46/types/photos_Photos.md rename to docs/old/API_docs_v18/types/photos_Photos.md diff --git a/docs/API_docs_46/types/storage_FileType.md b/docs/old/API_docs_v18/types/storage_FileType.md similarity index 100% rename from docs/API_docs_46/types/storage_FileType.md rename to docs/old/API_docs_v18/types/storage_FileType.md diff --git a/docs/API_docs_46/types/string.md b/docs/old/API_docs_v18/types/string.md similarity index 100% rename from docs/API_docs_46/types/string.md rename to docs/old/API_docs_v18/types/string.md diff --git a/docs/API_docs_46/types/updates_Difference.md b/docs/old/API_docs_v18/types/updates_Difference.md similarity index 100% rename from docs/API_docs_46/types/updates_Difference.md rename to docs/old/API_docs_v18/types/updates_Difference.md diff --git a/docs/API_docs_46/types/updates_State.md b/docs/old/API_docs_v18/types/updates_State.md similarity index 100% rename from docs/API_docs_46/types/updates_State.md rename to docs/old/API_docs_v18/types/updates_State.md diff --git a/docs/API_docs_46/types/upload_File.md b/docs/old/API_docs_v18/types/upload_File.md similarity index 100% rename from docs/API_docs_46/types/upload_File.md rename to docs/old/API_docs_v18/types/upload_File.md diff --git a/docs/old/API_docs_v23/constructors/accountDaysTTL.md b/docs/old/API_docs_v23/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/account_privacyRules.md b/docs/old/API_docs_v23/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v23/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/audio.md b/docs/old/API_docs_v23/constructors/audio.md new file mode 100644 index 00000000..3bd5954b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/audio.md @@ -0,0 +1,33 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/audioEmpty.md b/docs/old/API_docs_v23/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/auth_authorization.md b/docs/old/API_docs_v23/constructors/auth_authorization.md new file mode 100644 index 00000000..68be6aee --- /dev/null +++ b/docs/old/API_docs_v23/constructors/auth_authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'expires' => int, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/auth_checkedPhone.md b/docs/old/API_docs_v23/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..a874f900 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/auth_checkedPhone.md @@ -0,0 +1,27 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_invited|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, 'phone_invited' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v23/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/auth_sentAppCode.md b/docs/old/API_docs_v23/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/auth_sentCode.md b/docs/old/API_docs_v23/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/API_docs_55/constructors/boolFalse.md b/docs/old/API_docs_v23/constructors/boolFalse.md similarity index 100% rename from docs/API_docs_55/constructors/boolFalse.md rename to docs/old/API_docs_v23/constructors/boolFalse.md diff --git a/docs/API_docs_55/constructors/boolTrue.md b/docs/old/API_docs_v23/constructors/boolTrue.md similarity index 100% rename from docs/API_docs_55/constructors/boolTrue.md rename to docs/old/API_docs_v23/constructors/boolTrue.md diff --git a/docs/old/API_docs_v23/constructors/chat.md b/docs/old/API_docs_v23/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/chatEmpty.md b/docs/old/API_docs_v23/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/chatForbidden.md b/docs/old/API_docs_v23/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/chatFull.md b/docs/old/API_docs_v23/constructors/chatFull.md new file mode 100644 index 00000000..c4bb6905 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatFull.md @@ -0,0 +1,29 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/chatParticipant.md b/docs/old/API_docs_v23/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/chatParticipants.md b/docs/old/API_docs_v23/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v23/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/chatPhoto.md b/docs/old/API_docs_v23/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v23/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/config.md b/docs/old/API_docs_v23/constructors/config.md new file mode 100644 index 00000000..48985554 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/config.md @@ -0,0 +1,34 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_big_size' => int, 'chat_size_max' => int, 'broadcast_size_max' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contact.md b/docs/old/API_docs_v23/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contactBlocked.md b/docs/old/API_docs_v23/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contactFound.md b/docs/old/API_docs_v23/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contactStatus.md b/docs/old/API_docs_v23/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contactSuggested.md b/docs/old/API_docs_v23/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_blocked.md b/docs/old/API_docs_v23/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v23/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_contacts.md b/docs/old/API_docs_v23/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v23/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_foreignLinkMutual.md b/docs/old/API_docs_v23/constructors/contacts_foreignLinkMutual.md new file mode 100644 index 00000000..567c4627 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_foreignLinkMutual.md @@ -0,0 +1,21 @@ +--- +title: contacts_foreignLinkMutual +description: contacts_foreignLinkMutual attributes, type and example +--- +## Constructor: contacts\_foreignLinkMutual +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkMutual = ['_' => 'contacts_foreignLinkMutual', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_foreignLinkRequested.md b/docs/old/API_docs_v23/constructors/contacts_foreignLinkRequested.md new file mode 100644 index 00000000..aef58175 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_foreignLinkRequested.md @@ -0,0 +1,26 @@ +--- +title: contacts_foreignLinkRequested +description: contacts_foreignLinkRequested attributes, type and example +--- +## Constructor: contacts\_foreignLinkRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|has\_phone|[Bool](../types/Bool.md) | Required| + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkRequested = ['_' => 'contacts_foreignLinkRequested', 'has_phone' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_foreignLinkUnknown.md b/docs/old/API_docs_v23/constructors/contacts_foreignLinkUnknown.md new file mode 100644 index 00000000..363ab48f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_foreignLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contacts_foreignLinkUnknown +description: contacts_foreignLinkUnknown attributes, type and example +--- +## Constructor: contacts\_foreignLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_ForeignLink](../types/contacts_ForeignLink.md) + + +### Example: + +``` +$contacts_foreignLinkUnknown = ['_' => 'contacts_foreignLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_found.md b/docs/old/API_docs_v23/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_importedContacts.md b/docs/old/API_docs_v23/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_link.md b/docs/old/API_docs_v23/constructors/contacts_link.md new file mode 100644 index 00000000..f19e5382 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Required| +|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_myLinkContact.md b/docs/old/API_docs_v23/constructors/contacts_myLinkContact.md new file mode 100644 index 00000000..d1bfee83 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_myLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contacts_myLinkContact +description: contacts_myLinkContact attributes, type and example +--- +## Constructor: contacts\_myLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkContact = ['_' => 'contacts_myLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_myLinkEmpty.md b/docs/old/API_docs_v23/constructors/contacts_myLinkEmpty.md new file mode 100644 index 00000000..4d0c5c09 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_myLinkEmpty.md @@ -0,0 +1,21 @@ +--- +title: contacts_myLinkEmpty +description: contacts_myLinkEmpty attributes, type and example +--- +## Constructor: contacts\_myLinkEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkEmpty = ['_' => 'contacts_myLinkEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_myLinkRequested.md b/docs/old/API_docs_v23/constructors/contacts_myLinkRequested.md new file mode 100644 index 00000000..bb238979 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_myLinkRequested.md @@ -0,0 +1,26 @@ +--- +title: contacts_myLinkRequested +description: contacts_myLinkRequested attributes, type and example +--- +## Constructor: contacts\_myLinkRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contact|[Bool](../types/Bool.md) | Required| + + + +### Type: [contacts\_MyLink](../types/contacts_MyLink.md) + + +### Example: + +``` +$contacts_myLinkRequested = ['_' => 'contacts_myLinkRequested', 'contact' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/contacts_suggested.md b/docs/old/API_docs_v23/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/dcOption.md b/docs/old/API_docs_v23/constructors/dcOption.md new file mode 100644 index 00000000..bdee0251 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/dcOption.md @@ -0,0 +1,29 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|hostname|[string](../types/string.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/dialog.md b/docs/old/API_docs_v23/constructors/dialog.md new file mode 100644 index 00000000..85f0282f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/dialog.md @@ -0,0 +1,29 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/disabledFeature.md b/docs/old/API_docs_v23/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/document.md b/docs/old/API_docs_v23/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v23/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeAudio.md b/docs/old/API_docs_v23/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..b558d4f0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeAudio.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeFilename.md b/docs/old/API_docs_v23/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v23/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeSticker.md b/docs/old/API_docs_v23/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..1d00ace1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeSticker.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentAttributeVideo.md b/docs/old/API_docs_v23/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/documentEmpty.md b/docs/old/API_docs_v23/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedChat.md b/docs/old/API_docs_v23/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v23/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v23/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedChatRequested.md b/docs/old/API_docs_v23/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v23/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedFile.md b/docs/old/API_docs_v23/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v23/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedMessage.md b/docs/old/API_docs_v23/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/encryptedMessageService.md b/docs/old/API_docs_v23/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/error.md b/docs/old/API_docs_v23/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/fileLocation.md b/docs/old/API_docs_v23/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v23/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/geoPoint.md b/docs/old/API_docs_v23/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/geoPointEmpty.md b/docs/old/API_docs_v23/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/help_appUpdate.md b/docs/old/API_docs_v23/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v23/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/help_inviteText.md b/docs/old/API_docs_v23/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/help_noAppUpdate.md b/docs/old/API_docs_v23/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/help_support.md b/docs/old/API_docs_v23/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/importedContact.md b/docs/old/API_docs_v23/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/index.md b/docs/old/API_docs_v23/constructors/index.md new file mode 100644 index 00000000..987ccacd --- /dev/null +++ b/docs/old/API_docs_v23/constructors/index.md @@ -0,0 +1,839 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_invited' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_big_size' => [int](../types/int.md), 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) = \[\]; + +[$contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) = \['has_phone' => [Bool](../types/Bool.md), \]; + +[$contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [contacts\_MyLink](../types/contacts_MyLink.md), 'foreign_link' => [contacts\_ForeignLink](../types/contacts_ForeignLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) = \[\]; + +[$contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) = \[\]; + +[$contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) = \['contact' => [Bool](../types/Bool.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \[\]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerContact](../constructors/inputPeerContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerForeign](../constructors/inputPeerForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputReportReasonOther](../constructors/inputReportReasonOther.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$inputReportReasonPornography](../constructors/inputReportReasonPornography.md) = \[\]; + +*** +

[$inputReportReasonSpam](../constructors/inputReportReasonSpam.md) = \[\]; + +*** +

[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\]; + +*** +

[$inputUserContact](../constructors/inputUserContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserForeign](../constructors/inputUserForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageForwarded](../constructors/messageForwarded.md) = \['id' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \['bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], \]; + +[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'pts' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \[\]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \[\]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \[\]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \[\]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [contacts\_MyLink](../types/contacts_MyLink.md), 'foreign_link' => [contacts\_ForeignLink](../types/contacts_ForeignLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadMessages](../constructors/updateReadMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userDeleted](../constructors/userDeleted.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userForeign](../constructors/userForeign.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'real_first_name' => [string](../types/string.md), 'real_last_name' => [string](../types/string.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userRequest](../constructors/userRequest.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userSelf](../constructors/userSelf.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'inactive' => [Bool](../types/Bool.md), \]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v23/constructors/inputAppEvent.md b/docs/old/API_docs_v23/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputAudio.md b/docs/old/API_docs_v23/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputAudioEmpty.md b/docs/old/API_docs_v23/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v23/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputChatPhoto.md b/docs/old/API_docs_v23/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v23/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v23/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputDocument.md b/docs/old/API_docs_v23/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v23/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v23/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedChat.md b/docs/old/API_docs_v23/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedFile.md b/docs/old/API_docs_v23/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v23/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v23/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v23/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputFile.md b/docs/old/API_docs_v23/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputFileBig.md b/docs/old/API_docs_v23/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputFileLocation.md b/docs/old/API_docs_v23/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputGeoPoint.md b/docs/old/API_docs_v23/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v23/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaAudio.md b/docs/old/API_docs_v23/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaContact.md b/docs/old/API_docs_v23/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaDocument.md b/docs/old/API_docs_v23/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaEmpty.md b/docs/old/API_docs_v23/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v23/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaPhoto.md b/docs/old/API_docs_v23/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..9c14f4d9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..231928d3 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..9e8bbc70 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v23/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..c877c6a1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMediaVideo.md b/docs/old/API_docs_v23/constructors/inputMediaVideo.md new file mode 100644 index 00000000..93b7b56e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v23/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputNotifyAll.md b/docs/old/API_docs_v23/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputNotifyChats.md b/docs/old/API_docs_v23/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputNotifyPeer.md b/docs/old/API_docs_v23/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputNotifyUsers.md b/docs/old/API_docs_v23/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPeerChat.md b/docs/old/API_docs_v23/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputPeerContact.md b/docs/old/API_docs_v23/constructors/inputPeerContact.md new file mode 100644 index 00000000..58501d74 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerContact.md @@ -0,0 +1,39 @@ +--- +title: inputPeerContact +description: inputPeerContact attributes, type and example +--- +## Constructor: inputPeerContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerContact = '@username'; // Username + +$inputPeerContact = 44700; // bot API id (users) +$inputPeerContact = -492772765; // bot API id (chats) +$inputPeerContact = -10038575794; // bot API id (channels) + +$inputPeerContact = 'user#44700'; // tg-cli style id (users) +$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputPeerEmpty.md b/docs/old/API_docs_v23/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputPeerForeign.md b/docs/old/API_docs_v23/constructors/inputPeerForeign.md new file mode 100644 index 00000000..2b839024 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerForeign.md @@ -0,0 +1,40 @@ +--- +title: inputPeerForeign +description: inputPeerForeign attributes, type and example +--- +## Constructor: inputPeerForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerForeign = '@username'; // Username + +$inputPeerForeign = 44700; // bot API id (users) +$inputPeerForeign = -492772765; // bot API id (chats) +$inputPeerForeign = -10038575794; // bot API id (channels) + +$inputPeerForeign = 'user#44700'; // tg-cli style id (users) +$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v23/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPeerSelf.md b/docs/old/API_docs_v23/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputPhoneContact.md b/docs/old/API_docs_v23/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPhoto.md b/docs/old/API_docs_v23/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPhotoCrop.md b/docs/old/API_docs_v23/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v23/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v23/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputReportReasonOther.md b/docs/old/API_docs_v23/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v23/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v23/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v23/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputUserContact.md b/docs/old/API_docs_v23/constructors/inputUserContact.md new file mode 100644 index 00000000..afd37c2d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputUserContact.md @@ -0,0 +1,39 @@ +--- +title: inputUserContact +description: inputUserContact attributes, type and example +--- +## Constructor: inputUserContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserContact = '@username'; // Username + +$inputUserContact = 44700; // bot API id (users) +$inputUserContact = -492772765; // bot API id (chats) +$inputUserContact = -10038575794; // bot API id (channels) + +$inputUserContact = 'user#44700'; // tg-cli style id (users) +$inputUserContact = 'chat#492772765'; // tg-cli style id (chats) +$inputUserContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputUserEmpty.md b/docs/old/API_docs_v23/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputUserForeign.md b/docs/old/API_docs_v23/constructors/inputUserForeign.md new file mode 100644 index 00000000..26b0c8a9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputUserForeign.md @@ -0,0 +1,40 @@ +--- +title: inputUserForeign +description: inputUserForeign attributes, type and example +--- +## Constructor: inputUserForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserForeign = '@username'; // Username + +$inputUserForeign = 44700; // bot API id (users) +$inputUserForeign = -492772765; // bot API id (chats) +$inputUserForeign = -10038575794; // bot API id (channels) + +$inputUserForeign = 'user#44700'; // tg-cli style id (users) +$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputUserSelf.md b/docs/old/API_docs_v23/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/inputVideo.md b/docs/old/API_docs_v23/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputVideoEmpty.md b/docs/old/API_docs_v23/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v23/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v23/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/message.md b/docs/old/API_docs_v23/constructors/message.md new file mode 100644 index 00000000..5caa2b3a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/message.md @@ -0,0 +1,31 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v23/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatCreate.md b/docs/old/API_docs_v23/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v23/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v23/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v23/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v23/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageActionEmpty.md b/docs/old/API_docs_v23/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageEmpty.md b/docs/old/API_docs_v23/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageForwarded.md b/docs/old/API_docs_v23/constructors/messageForwarded.md new file mode 100644 index 00000000..ee826693 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageForwarded.md @@ -0,0 +1,33 @@ +--- +title: messageForwarded +description: messageForwarded attributes, type and example +--- +## Constructor: messageForwarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Required| +|fwd\_date|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageForwarded = ['_' => 'messageForwarded', 'id' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaAudio.md b/docs/old/API_docs_v23/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaContact.md b/docs/old/API_docs_v23/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaDocument.md b/docs/old/API_docs_v23/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaEmpty.md b/docs/old/API_docs_v23/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaGeo.md b/docs/old/API_docs_v23/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaPhoto.md b/docs/old/API_docs_v23/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..147f13a9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v23/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..f144f714 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaUnsupported.md @@ -0,0 +1,26 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageMediaVideo.md b/docs/old/API_docs_v23/constructors/messageMediaVideo.md new file mode 100644 index 00000000..70c81ff1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messageService.md b/docs/old/API_docs_v23/constructors/messageService.md new file mode 100644 index 00000000..cd3d9c43 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_affectedHistory.md b/docs/old/API_docs_v23/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..35be602d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_allStickers.md b/docs/old/API_docs_v23/constructors/messages_allStickers.md new file mode 100644 index 00000000..aec76594 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_allStickers.md @@ -0,0 +1,28 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v23/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_chatFull.md b/docs/old/API_docs_v23/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_chats.md b/docs/old/API_docs_v23/constructors/messages_chats.md new file mode 100644 index 00000000..66c6b3b2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_chats.md @@ -0,0 +1,27 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_dhConfig.md b/docs/old/API_docs_v23/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v23/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_dialogs.md b/docs/old/API_docs_v23/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v23/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_messages.md b/docs/old/API_docs_v23/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_messagesSlice.md b/docs/old/API_docs_v23/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v23/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v23/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_sentMessage.md b/docs/old/API_docs_v23/constructors/messages_sentMessage.md new file mode 100644 index 00000000..1050ef21 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_sentMessage.md @@ -0,0 +1,29 @@ +--- +title: messages_sentMessage +description: messages_sentMessage attributes, type and example +--- +## Constructor: messages\_sentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessage = ['_' => 'messages_sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_sentMessageLink.md b/docs/old/API_docs_v23/constructors/messages_sentMessageLink.md new file mode 100644 index 00000000..04c77e7e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_sentMessageLink.md @@ -0,0 +1,30 @@ +--- +title: messages_sentMessageLink +description: messages_sentMessageLink attributes, type and example +--- +## Constructor: messages\_sentMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessageLink = ['_' => 'messages_sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_statedMessage.md b/docs/old/API_docs_v23/constructors/messages_statedMessage.md new file mode 100644 index 00000000..c80a05e5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_statedMessage.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessage +description: messages_statedMessage attributes, type and example +--- +## Constructor: messages\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessage = ['_' => 'messages_statedMessage', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_statedMessageLink.md b/docs/old/API_docs_v23/constructors/messages_statedMessageLink.md new file mode 100644 index 00000000..ee0d4b5e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_statedMessageLink.md @@ -0,0 +1,31 @@ +--- +title: messages_statedMessageLink +description: messages_statedMessageLink attributes, type and example +--- +## Constructor: messages\_statedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessageLink = ['_' => 'messages_statedMessageLink', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'links' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_statedMessages.md b/docs/old/API_docs_v23/constructors/messages_statedMessages.md new file mode 100644 index 00000000..5f1e260b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_statedMessages.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessages +description: messages_statedMessages attributes, type and example +--- +## Constructor: messages\_statedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessages = ['_' => 'messages_statedMessages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_statedMessagesLinks.md b/docs/old/API_docs_v23/constructors/messages_statedMessagesLinks.md new file mode 100644 index 00000000..857974b0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_statedMessagesLinks.md @@ -0,0 +1,31 @@ +--- +title: messages_statedMessagesLinks +description: messages_statedMessagesLinks attributes, type and example +--- +## Constructor: messages\_statedMessagesLinks +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|pts|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessagesLinks = ['_' => 'messages_statedMessagesLinks', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'links' => [Vector t], 'pts' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_stickers.md b/docs/old/API_docs_v23/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v23/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v23/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/nearestDc.md b/docs/old/API_docs_v23/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/notifyAll.md b/docs/old/API_docs_v23/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/notifyChats.md b/docs/old/API_docs_v23/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/notifyPeer.md b/docs/old/API_docs_v23/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/notifyUsers.md b/docs/old/API_docs_v23/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v23/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/API_docs_55/constructors/null.md b/docs/old/API_docs_v23/constructors/null.md similarity index 100% rename from docs/API_docs_55/constructors/null.md rename to docs/old/API_docs_v23/constructors/null.md diff --git a/docs/old/API_docs_v23/constructors/peerChat.md b/docs/old/API_docs_v23/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v23/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v23/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/peerNotifySettings.md b/docs/old/API_docs_v23/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v23/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/peerUser.md b/docs/old/API_docs_v23/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/photo.md b/docs/old/API_docs_v23/constructors/photo.md new file mode 100644 index 00000000..9d7860f8 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photo.md @@ -0,0 +1,32 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photoCachedSize.md b/docs/old/API_docs_v23/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photoEmpty.md b/docs/old/API_docs_v23/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photoSize.md b/docs/old/API_docs_v23/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photoSizeEmpty.md b/docs/old/API_docs_v23/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photos_photo.md b/docs/old/API_docs_v23/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photos_photos.md b/docs/old/API_docs_v23/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/photos_photosSlice.md b/docs/old/API_docs_v23/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v23/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v23/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v23/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v23/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v23/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v23/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v23/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v23/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v23/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v23/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v23/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v23/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v23/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v23/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..618dccf7 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v23/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..ef61443e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v23/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..613cc558 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v23/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..219cc957 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/stickerPack.md b/docs/old/API_docs_v23/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileGif.md b/docs/old/API_docs_v23/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileJpeg.md b/docs/old/API_docs_v23/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileMov.md b/docs/old/API_docs_v23/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileMp3.md b/docs/old/API_docs_v23/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileMp4.md b/docs/old/API_docs_v23/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_filePartial.md b/docs/old/API_docs_v23/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_filePdf.md b/docs/old/API_docs_v23/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_filePng.md b/docs/old/API_docs_v23/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileUnknown.md b/docs/old/API_docs_v23/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/storage_fileWebp.md b/docs/old/API_docs_v23/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/true.md b/docs/old/API_docs_v23/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v23/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v23/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateChatParticipants.md b/docs/old/API_docs_v23/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateChatUserTyping.md b/docs/old/API_docs_v23/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateContactLink.md b/docs/old/API_docs_v23/constructors/updateContactLink.md new file mode 100644 index 00000000..3763820d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[contacts\_MyLink](../types/contacts_MyLink.md) | Required| +|foreign\_link|[contacts\_ForeignLink](../types/contacts_ForeignLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateContactRegistered.md b/docs/old/API_docs_v23/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateDcOptions.md b/docs/old/API_docs_v23/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateDeleteMessages.md b/docs/old/API_docs_v23/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..c15a42ec --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateDeleteMessages.md @@ -0,0 +1,27 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v23/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v23/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateEncryption.md b/docs/old/API_docs_v23/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateMessageID.md b/docs/old/API_docs_v23/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateNewAuthorization.md b/docs/old/API_docs_v23/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v23/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateNewMessage.md b/docs/old/API_docs_v23/constructors/updateNewMessage.md new file mode 100644 index 00000000..3e29bebb --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateNewMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateNotifySettings.md b/docs/old/API_docs_v23/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updatePrivacy.md b/docs/old/API_docs_v23/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateReadMessages.md b/docs/old/API_docs_v23/constructors/updateReadMessages.md new file mode 100644 index 00000000..bbeaf29d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateReadMessages.md @@ -0,0 +1,27 @@ +--- +title: updateReadMessages +description: updateReadMessages attributes, type and example +--- +## Constructor: updateReadMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [Vector t], 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateServiceNotification.md b/docs/old/API_docs_v23/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateShort.md b/docs/old/API_docs_v23/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateShortChatMessage.md b/docs/old/API_docs_v23/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..b638a7fa --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateShortChatMessage.md @@ -0,0 +1,32 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateShortMessage.md b/docs/old/API_docs_v23/constructors/updateShortMessage.md new file mode 100644 index 00000000..74993212 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateShortMessage.md @@ -0,0 +1,31 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'from_id' => int, 'message' => string, 'pts' => int, 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserBlocked.md b/docs/old/API_docs_v23/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserName.md b/docs/old/API_docs_v23/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserPhone.md b/docs/old/API_docs_v23/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserPhoto.md b/docs/old/API_docs_v23/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserStatus.md b/docs/old/API_docs_v23/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updateUserTyping.md b/docs/old/API_docs_v23/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updates.md b/docs/old/API_docs_v23/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updatesCombined.md b/docs/old/API_docs_v23/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updatesTooLong.md b/docs/old/API_docs_v23/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updates_difference.md b/docs/old/API_docs_v23/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v23/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updates_differenceSlice.md b/docs/old/API_docs_v23/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/updates_state.md b/docs/old/API_docs_v23/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v23/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/upload_file.md b/docs/old/API_docs_v23/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v23/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userContact.md b/docs/old/API_docs_v23/constructors/userContact.md new file mode 100644 index 00000000..f8de255e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userContact.md @@ -0,0 +1,46 @@ +--- +title: userContact +description: userContact attributes, type and example +--- +## Constructor: userContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userContact = '@username'; // Username + +$userContact = 44700; // bot API id (users) +$userContact = -492772765; // bot API id (chats) +$userContact = -10038575794; // bot API id (channels) + +$userContact = 'user#44700'; // tg-cli style id (users) +$userContact = 'chat#492772765'; // tg-cli style id (chats) +$userContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userDeleted.md b/docs/old/API_docs_v23/constructors/userDeleted.md new file mode 100644 index 00000000..fe7cfdd1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userDeleted.md @@ -0,0 +1,42 @@ +--- +title: userDeleted +description: userDeleted attributes, type and example +--- +## Constructor: userDeleted +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$userDeleted = '@username'; // Username + +$userDeleted = 44700; // bot API id (users) +$userDeleted = -492772765; // bot API id (chats) +$userDeleted = -10038575794; // bot API id (channels) + +$userDeleted = 'user#44700'; // tg-cli style id (users) +$userDeleted = 'chat#492772765'; // tg-cli style id (chats) +$userDeleted = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userEmpty.md b/docs/old/API_docs_v23/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userForeign.md b/docs/old/API_docs_v23/constructors/userForeign.md new file mode 100644 index 00000000..faa7cb3e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userForeign.md @@ -0,0 +1,45 @@ +--- +title: userForeign +description: userForeign attributes, type and example +--- +## Constructor: userForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userForeign = '@username'; // Username + +$userForeign = 44700; // bot API id (users) +$userForeign = -492772765; // bot API id (chats) +$userForeign = -10038575794; // bot API id (channels) + +$userForeign = 'user#44700'; // tg-cli style id (users) +$userForeign = 'chat#492772765'; // tg-cli style id (chats) +$userForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userFull.md b/docs/old/API_docs_v23/constructors/userFull.md new file mode 100644 index 00000000..14a5297d --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|real\_first\_name|[string](../types/string.md) | Required| +|real\_last\_name|[string](../types/string.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userProfilePhoto.md b/docs/old/API_docs_v23/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v23/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userRequest.md b/docs/old/API_docs_v23/constructors/userRequest.md new file mode 100644 index 00000000..98da6ec8 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userRequest.md @@ -0,0 +1,46 @@ +--- +title: userRequest +description: userRequest attributes, type and example +--- +## Constructor: userRequest +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userRequest = '@username'; // Username + +$userRequest = 44700; // bot API id (users) +$userRequest = -492772765; // bot API id (chats) +$userRequest = -10038575794; // bot API id (channels) + +$userRequest = 'user#44700'; // tg-cli style id (users) +$userRequest = 'chat#492772765'; // tg-cli style id (chats) +$userRequest = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userSelf.md b/docs/old/API_docs_v23/constructors/userSelf.md new file mode 100644 index 00000000..29e7dd96 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userSelf.md @@ -0,0 +1,46 @@ +--- +title: userSelf +description: userSelf attributes, type and example +--- +## Constructor: userSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| +|inactive|[Bool](../types/Bool.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'inactive' => Bool, ]; +``` + +The following syntaxes can also be used: + +``` +$userSelf = '@username'; // Username + +$userSelf = 44700; // bot API id (users) +$userSelf = -492772765; // bot API id (chats) +$userSelf = -10038575794; // bot API id (channels) + +$userSelf = 'user#44700'; // tg-cli style id (users) +$userSelf = 'chat#492772765'; // tg-cli style id (chats) +$userSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/constructors/userStatusEmpty.md b/docs/old/API_docs_v23/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userStatusLastMonth.md b/docs/old/API_docs_v23/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userStatusLastWeek.md b/docs/old/API_docs_v23/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userStatusOffline.md b/docs/old/API_docs_v23/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userStatusOnline.md b/docs/old/API_docs_v23/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/userStatusRecently.md b/docs/old/API_docs_v23/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/vector.md b/docs/old/API_docs_v23/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/video.md b/docs/old/API_docs_v23/constructors/video.md new file mode 100644 index 00000000..aa8277e1 --- /dev/null +++ b/docs/old/API_docs_v23/constructors/video.md @@ -0,0 +1,37 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/videoEmpty.md b/docs/old/API_docs_v23/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v23/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/wallPaper.md b/docs/old/API_docs_v23/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v23/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/constructors/wallPaperSolid.md b/docs/old/API_docs_v23/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v23/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v23/index.md b/docs/old/API_docs_v23/index.md new file mode 100644 index 00000000..7697b46f --- /dev/null +++ b/docs/old/API_docs_v23/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v23) +description: MadelineProto API documentation (layer v23) +--- +# MadelineProto API documentation (layer v23) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/API_docs_46/methods/account_changePhone.md b/docs/old/API_docs_v23/methods/account_changePhone.md similarity index 100% rename from docs/API_docs_46/methods/account_changePhone.md rename to docs/old/API_docs_v23/methods/account_changePhone.md diff --git a/docs/API_docs_55/methods/account_checkUsername.md b/docs/old/API_docs_v23/methods/account_checkUsername.md similarity index 100% rename from docs/API_docs_55/methods/account_checkUsername.md rename to docs/old/API_docs_v23/methods/account_checkUsername.md diff --git a/docs/API_docs_46/methods/account_deleteAccount.md b/docs/old/API_docs_v23/methods/account_deleteAccount.md similarity index 100% rename from docs/API_docs_46/methods/account_deleteAccount.md rename to docs/old/API_docs_v23/methods/account_deleteAccount.md diff --git a/docs/API_docs_46/methods/account_getAccountTTL.md b/docs/old/API_docs_v23/methods/account_getAccountTTL.md similarity index 100% rename from docs/API_docs_46/methods/account_getAccountTTL.md rename to docs/old/API_docs_v23/methods/account_getAccountTTL.md diff --git a/docs/API_docs_55/methods/account_getNotifySettings.md b/docs/old/API_docs_v23/methods/account_getNotifySettings.md similarity index 100% rename from docs/API_docs_55/methods/account_getNotifySettings.md rename to docs/old/API_docs_v23/methods/account_getNotifySettings.md diff --git a/docs/API_docs_46/methods/account_getPrivacy.md b/docs/old/API_docs_v23/methods/account_getPrivacy.md similarity index 100% rename from docs/API_docs_46/methods/account_getPrivacy.md rename to docs/old/API_docs_v23/methods/account_getPrivacy.md diff --git a/docs/API_docs_55/methods/account_getWallPapers.md b/docs/old/API_docs_v23/methods/account_getWallPapers.md similarity index 100% rename from docs/API_docs_55/methods/account_getWallPapers.md rename to docs/old/API_docs_v23/methods/account_getWallPapers.md diff --git a/docs/old/API_docs_v23/methods/account_registerDevice.md b/docs/old/API_docs_v23/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v23/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/account_reportPeer.md b/docs/old/API_docs_v23/methods/account_reportPeer.md similarity index 100% rename from docs/API_docs_46/methods/account_reportPeer.md rename to docs/old/API_docs_v23/methods/account_reportPeer.md diff --git a/docs/API_docs_55/methods/account_resetNotifySettings.md b/docs/old/API_docs_v23/methods/account_resetNotifySettings.md similarity index 100% rename from docs/API_docs_55/methods/account_resetNotifySettings.md rename to docs/old/API_docs_v23/methods/account_resetNotifySettings.md diff --git a/docs/API_docs_46/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v23/methods/account_sendChangePhoneCode.md similarity index 100% rename from docs/API_docs_46/methods/account_sendChangePhoneCode.md rename to docs/old/API_docs_v23/methods/account_sendChangePhoneCode.md diff --git a/docs/API_docs_46/methods/account_setAccountTTL.md b/docs/old/API_docs_v23/methods/account_setAccountTTL.md similarity index 100% rename from docs/API_docs_46/methods/account_setAccountTTL.md rename to docs/old/API_docs_v23/methods/account_setAccountTTL.md diff --git a/docs/API_docs_46/methods/account_setPrivacy.md b/docs/old/API_docs_v23/methods/account_setPrivacy.md similarity index 100% rename from docs/API_docs_46/methods/account_setPrivacy.md rename to docs/old/API_docs_v23/methods/account_setPrivacy.md diff --git a/docs/API_docs_55/methods/account_unregisterDevice.md b/docs/old/API_docs_v23/methods/account_unregisterDevice.md similarity index 100% rename from docs/API_docs_55/methods/account_unregisterDevice.md rename to docs/old/API_docs_v23/methods/account_unregisterDevice.md diff --git a/docs/API_docs_46/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v23/methods/account_updateDeviceLocked.md similarity index 100% rename from docs/API_docs_46/methods/account_updateDeviceLocked.md rename to docs/old/API_docs_v23/methods/account_updateDeviceLocked.md diff --git a/docs/API_docs_55/methods/account_updateNotifySettings.md b/docs/old/API_docs_v23/methods/account_updateNotifySettings.md similarity index 100% rename from docs/API_docs_55/methods/account_updateNotifySettings.md rename to docs/old/API_docs_v23/methods/account_updateNotifySettings.md diff --git a/docs/old/API_docs_v23/methods/account_updateProfile.md b/docs/old/API_docs_v23/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v23/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_updateStatus.md b/docs/old/API_docs_v23/methods/account_updateStatus.md similarity index 100% rename from docs/API_docs_55/methods/account_updateStatus.md rename to docs/old/API_docs_v23/methods/account_updateStatus.md diff --git a/docs/API_docs_55/methods/account_updateUsername.md b/docs/old/API_docs_v23/methods/account_updateUsername.md similarity index 100% rename from docs/API_docs_55/methods/account_updateUsername.md rename to docs/old/API_docs_v23/methods/account_updateUsername.md diff --git a/docs/API_docs_55/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v23/methods/auth_bindTempAuthKey.md similarity index 100% rename from docs/API_docs_55/methods/auth_bindTempAuthKey.md rename to docs/old/API_docs_v23/methods/auth_bindTempAuthKey.md diff --git a/docs/API_docs_55/methods/auth_checkPhone.md b/docs/old/API_docs_v23/methods/auth_checkPhone.md similarity index 100% rename from docs/API_docs_55/methods/auth_checkPhone.md rename to docs/old/API_docs_v23/methods/auth_checkPhone.md diff --git a/docs/API_docs_55/methods/auth_exportAuthorization.md b/docs/old/API_docs_v23/methods/auth_exportAuthorization.md similarity index 100% rename from docs/API_docs_55/methods/auth_exportAuthorization.md rename to docs/old/API_docs_v23/methods/auth_exportAuthorization.md diff --git a/docs/API_docs_55/methods/auth_importAuthorization.md b/docs/old/API_docs_v23/methods/auth_importAuthorization.md similarity index 100% rename from docs/API_docs_55/methods/auth_importAuthorization.md rename to docs/old/API_docs_v23/methods/auth_importAuthorization.md diff --git a/docs/API_docs_55/methods/auth_logOut.md b/docs/old/API_docs_v23/methods/auth_logOut.md similarity index 100% rename from docs/API_docs_55/methods/auth_logOut.md rename to docs/old/API_docs_v23/methods/auth_logOut.md diff --git a/docs/API_docs_55/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v23/methods/auth_resetAuthorizations.md similarity index 100% rename from docs/API_docs_55/methods/auth_resetAuthorizations.md rename to docs/old/API_docs_v23/methods/auth_resetAuthorizations.md diff --git a/docs/old/API_docs_v23/methods/auth_sendCall.md b/docs/old/API_docs_v23/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v23/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/auth_sendCode.md b/docs/old/API_docs_v23/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v23/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_sendInvites.md b/docs/old/API_docs_v23/methods/auth_sendInvites.md similarity index 100% rename from docs/API_docs_55/methods/auth_sendInvites.md rename to docs/old/API_docs_v23/methods/auth_sendInvites.md diff --git a/docs/old/API_docs_v23/methods/auth_sendSms.md b/docs/old/API_docs_v23/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v23/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_signIn.md b/docs/old/API_docs_v23/methods/auth_signIn.md similarity index 100% rename from docs/API_docs_55/methods/auth_signIn.md rename to docs/old/API_docs_v23/methods/auth_signIn.md diff --git a/docs/API_docs_55/methods/auth_signUp.md b/docs/old/API_docs_v23/methods/auth_signUp.md similarity index 100% rename from docs/API_docs_55/methods/auth_signUp.md rename to docs/old/API_docs_v23/methods/auth_signUp.md diff --git a/docs/API_docs_55/methods/contacts_block.md b/docs/old/API_docs_v23/methods/contacts_block.md similarity index 100% rename from docs/API_docs_55/methods/contacts_block.md rename to docs/old/API_docs_v23/methods/contacts_block.md diff --git a/docs/API_docs_55/methods/contacts_deleteContact.md b/docs/old/API_docs_v23/methods/contacts_deleteContact.md similarity index 100% rename from docs/API_docs_55/methods/contacts_deleteContact.md rename to docs/old/API_docs_v23/methods/contacts_deleteContact.md diff --git a/docs/API_docs_55/methods/contacts_deleteContacts.md b/docs/old/API_docs_v23/methods/contacts_deleteContacts.md similarity index 100% rename from docs/API_docs_55/methods/contacts_deleteContacts.md rename to docs/old/API_docs_v23/methods/contacts_deleteContacts.md diff --git a/docs/API_docs_55/methods/contacts_exportCard.md b/docs/old/API_docs_v23/methods/contacts_exportCard.md similarity index 100% rename from docs/API_docs_55/methods/contacts_exportCard.md rename to docs/old/API_docs_v23/methods/contacts_exportCard.md diff --git a/docs/API_docs_55/methods/contacts_getBlocked.md b/docs/old/API_docs_v23/methods/contacts_getBlocked.md similarity index 100% rename from docs/API_docs_55/methods/contacts_getBlocked.md rename to docs/old/API_docs_v23/methods/contacts_getBlocked.md diff --git a/docs/API_docs_55/methods/contacts_getContacts.md b/docs/old/API_docs_v23/methods/contacts_getContacts.md similarity index 100% rename from docs/API_docs_55/methods/contacts_getContacts.md rename to docs/old/API_docs_v23/methods/contacts_getContacts.md diff --git a/docs/API_docs_55/methods/contacts_getStatuses.md b/docs/old/API_docs_v23/methods/contacts_getStatuses.md similarity index 100% rename from docs/API_docs_55/methods/contacts_getStatuses.md rename to docs/old/API_docs_v23/methods/contacts_getStatuses.md diff --git a/docs/old/API_docs_v23/methods/contacts_getSuggested.md b/docs/old/API_docs_v23/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v23/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/contacts_importCard.md b/docs/old/API_docs_v23/methods/contacts_importCard.md similarity index 100% rename from docs/API_docs_55/methods/contacts_importCard.md rename to docs/old/API_docs_v23/methods/contacts_importCard.md diff --git a/docs/API_docs_55/methods/contacts_importContacts.md b/docs/old/API_docs_v23/methods/contacts_importContacts.md similarity index 100% rename from docs/API_docs_55/methods/contacts_importContacts.md rename to docs/old/API_docs_v23/methods/contacts_importContacts.md diff --git a/docs/old/API_docs_v23/methods/contacts_resolveUsername.md b/docs/old/API_docs_v23/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..5a582f18 --- /dev/null +++ b/docs/old/API_docs_v23/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/contacts_search.md b/docs/old/API_docs_v23/methods/contacts_search.md similarity index 100% rename from docs/API_docs_55/methods/contacts_search.md rename to docs/old/API_docs_v23/methods/contacts_search.md diff --git a/docs/API_docs_55/methods/contacts_unblock.md b/docs/old/API_docs_v23/methods/contacts_unblock.md similarity index 100% rename from docs/API_docs_55/methods/contacts_unblock.md rename to docs/old/API_docs_v23/methods/contacts_unblock.md diff --git a/docs/old/API_docs_v23/methods/help_getAppUpdate.md b/docs/old/API_docs_v23/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v23/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/help_getConfig.md b/docs/old/API_docs_v23/methods/help_getConfig.md similarity index 100% rename from docs/API_docs_55/methods/help_getConfig.md rename to docs/old/API_docs_v23/methods/help_getConfig.md diff --git a/docs/old/API_docs_v23/methods/help_getInviteText.md b/docs/old/API_docs_v23/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v23/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/help_getNearestDc.md b/docs/old/API_docs_v23/methods/help_getNearestDc.md similarity index 100% rename from docs/API_docs_55/methods/help_getNearestDc.md rename to docs/old/API_docs_v23/methods/help_getNearestDc.md diff --git a/docs/API_docs_55/methods/help_getSupport.md b/docs/old/API_docs_v23/methods/help_getSupport.md similarity index 100% rename from docs/API_docs_55/methods/help_getSupport.md rename to docs/old/API_docs_v23/methods/help_getSupport.md diff --git a/docs/API_docs_55/methods/help_saveAppLog.md b/docs/old/API_docs_v23/methods/help_saveAppLog.md similarity index 100% rename from docs/API_docs_55/methods/help_saveAppLog.md rename to docs/old/API_docs_v23/methods/help_saveAppLog.md diff --git a/docs/old/API_docs_v23/methods/index.md b/docs/old/API_docs_v23/methods/index.md new file mode 100644 index 00000000..b3df32e5 --- /dev/null +++ b/docs/old/API_docs_v23/methods/index.md @@ -0,0 +1,222 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'read_contents' => [Bool](../types/Bool.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), \]) == [$messages\_SentMessage](../types/messages_SentMessage.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/API_docs_55/methods/initConnection.md b/docs/old/API_docs_v23/methods/initConnection.md similarity index 100% rename from docs/API_docs_55/methods/initConnection.md rename to docs/old/API_docs_v23/methods/initConnection.md diff --git a/docs/API_docs_55/methods/invokeAfterMsg.md b/docs/old/API_docs_v23/methods/invokeAfterMsg.md similarity index 100% rename from docs/API_docs_55/methods/invokeAfterMsg.md rename to docs/old/API_docs_v23/methods/invokeAfterMsg.md diff --git a/docs/API_docs_55/methods/invokeAfterMsgs.md b/docs/old/API_docs_v23/methods/invokeAfterMsgs.md similarity index 100% rename from docs/API_docs_55/methods/invokeAfterMsgs.md rename to docs/old/API_docs_v23/methods/invokeAfterMsgs.md diff --git a/docs/API_docs_46/methods/invokeWithLayer.md b/docs/old/API_docs_v23/methods/invokeWithLayer.md similarity index 100% rename from docs/API_docs_46/methods/invokeWithLayer.md rename to docs/old/API_docs_v23/methods/invokeWithLayer.md diff --git a/docs/API_docs_55/methods/messages_acceptEncryption.md b/docs/old/API_docs_v23/methods/messages_acceptEncryption.md similarity index 100% rename from docs/API_docs_55/methods/messages_acceptEncryption.md rename to docs/old/API_docs_v23/methods/messages_acceptEncryption.md diff --git a/docs/old/API_docs_v23/methods/messages_addChatUser.md b/docs/old/API_docs_v23/methods/messages_addChatUser.md new file mode 100644 index 00000000..2cd377cf --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_createChat.md b/docs/old/API_docs_v23/methods/messages_createChat.md new file mode 100644 index 00000000..31f7e59a --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_deleteChatUser.md b/docs/old/API_docs_v23/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..341b15b7 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_deleteHistory.md b/docs/old/API_docs_v23/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_deleteMessages.md b/docs/old/API_docs_v23/methods/messages_deleteMessages.md new file mode 100644 index 00000000..b1797b8f --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_discardEncryption.md b/docs/old/API_docs_v23/methods/messages_discardEncryption.md similarity index 100% rename from docs/API_docs_55/methods/messages_discardEncryption.md rename to docs/old/API_docs_v23/methods/messages_discardEncryption.md diff --git a/docs/old/API_docs_v23/methods/messages_editChatPhoto.md b/docs/old/API_docs_v23/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..12647209 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_editChatTitle.md b/docs/old/API_docs_v23/methods/messages_editChatTitle.md new file mode 100644 index 00000000..2f521795 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_forwardMessage.md b/docs/old/API_docs_v23/methods/messages_forwardMessage.md new file mode 100644 index 00000000..cc378270 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_forwardMessages.md b/docs/old/API_docs_v23/methods/messages_forwardMessages.md new file mode 100644 index 00000000..be9d16e7 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_getAllStickers.md b/docs/old/API_docs_v23/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getChats.md b/docs/old/API_docs_v23/methods/messages_getChats.md similarity index 100% rename from docs/API_docs_55/methods/messages_getChats.md rename to docs/old/API_docs_v23/methods/messages_getChats.md diff --git a/docs/API_docs_55/methods/messages_getDhConfig.md b/docs/old/API_docs_v23/methods/messages_getDhConfig.md similarity index 100% rename from docs/API_docs_55/methods/messages_getDhConfig.md rename to docs/old/API_docs_v23/methods/messages_getDhConfig.md diff --git a/docs/old/API_docs_v23/methods/messages_getDialogs.md b/docs/old/API_docs_v23/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe2b4aea --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_getDialogs.md @@ -0,0 +1,39 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getFullChat.md b/docs/old/API_docs_v23/methods/messages_getFullChat.md similarity index 100% rename from docs/API_docs_55/methods/messages_getFullChat.md rename to docs/old/API_docs_v23/methods/messages_getFullChat.md diff --git a/docs/old/API_docs_v23/methods/messages_getHistory.md b/docs/old/API_docs_v23/methods/messages_getHistory.md new file mode 100644 index 00000000..6788ebd3 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_getHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getMessages.md b/docs/old/API_docs_v23/methods/messages_getMessages.md similarity index 100% rename from docs/API_docs_55/methods/messages_getMessages.md rename to docs/old/API_docs_v23/methods/messages_getMessages.md diff --git a/docs/API_docs_46/methods/messages_getStickers.md b/docs/old/API_docs_v23/methods/messages_getStickers.md similarity index 100% rename from docs/API_docs_46/methods/messages_getStickers.md rename to docs/old/API_docs_v23/methods/messages_getStickers.md diff --git a/docs/API_docs_55/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v23/methods/messages_readEncryptedHistory.md similarity index 100% rename from docs/API_docs_55/methods/messages_readEncryptedHistory.md rename to docs/old/API_docs_v23/methods/messages_readEncryptedHistory.md diff --git a/docs/old/API_docs_v23/methods/messages_readHistory.md b/docs/old/API_docs_v23/methods/messages_readHistory.md new file mode 100644 index 00000000..09ecea17 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_readHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|read\_contents|[Bool](../types/Bool.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, 'read_contents' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_readMessageContents.md b/docs/old/API_docs_v23/methods/messages_readMessageContents.md new file mode 100644 index 00000000..648cf36e --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_receivedMessages.md b/docs/old/API_docs_v23/methods/messages_receivedMessages.md new file mode 100644 index 00000000..c4176cc4 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_receivedQueue.md b/docs/old/API_docs_v23/methods/messages_receivedQueue.md similarity index 100% rename from docs/API_docs_55/methods/messages_receivedQueue.md rename to docs/old/API_docs_v23/methods/messages_receivedQueue.md diff --git a/docs/API_docs_55/methods/messages_reportSpam.md b/docs/old/API_docs_v23/methods/messages_reportSpam.md similarity index 100% rename from docs/API_docs_55/methods/messages_reportSpam.md rename to docs/old/API_docs_v23/methods/messages_reportSpam.md diff --git a/docs/API_docs_55/methods/messages_requestEncryption.md b/docs/old/API_docs_v23/methods/messages_requestEncryption.md similarity index 100% rename from docs/API_docs_55/methods/messages_requestEncryption.md rename to docs/old/API_docs_v23/methods/messages_requestEncryption.md diff --git a/docs/old/API_docs_v23/methods/messages_search.md b/docs/old/API_docs_v23/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_sendBroadcast.md b/docs/old/API_docs_v23/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..6477927a --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_sendEncrypted.md b/docs/old/API_docs_v23/methods/messages_sendEncrypted.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendEncrypted.md rename to docs/old/API_docs_v23/methods/messages_sendEncrypted.md diff --git a/docs/API_docs_55/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v23/methods/messages_sendEncryptedFile.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendEncryptedFile.md rename to docs/old/API_docs_v23/methods/messages_sendEncryptedFile.md diff --git a/docs/API_docs_55/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v23/methods/messages_sendEncryptedService.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendEncryptedService.md rename to docs/old/API_docs_v23/methods/messages_sendEncryptedService.md diff --git a/docs/old/API_docs_v23/methods/messages_sendMedia.md b/docs/old/API_docs_v23/methods/messages_sendMedia.md new file mode 100644 index 00000000..e7423ef4 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_sendMedia.md @@ -0,0 +1,38 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v23/methods/messages_sendMessage.md b/docs/old/API_docs_v23/methods/messages_sendMessage.md new file mode 100644 index 00000000..addfbb57 --- /dev/null +++ b/docs/old/API_docs_v23/methods/messages_sendMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v23/methods/messages_setEncryptedTyping.md similarity index 100% rename from docs/API_docs_55/methods/messages_setEncryptedTyping.md rename to docs/old/API_docs_v23/methods/messages_setEncryptedTyping.md diff --git a/docs/API_docs_55/methods/messages_setTyping.md b/docs/old/API_docs_v23/methods/messages_setTyping.md similarity index 100% rename from docs/API_docs_55/methods/messages_setTyping.md rename to docs/old/API_docs_v23/methods/messages_setTyping.md diff --git a/docs/API_docs_55/methods/photos_deletePhotos.md b/docs/old/API_docs_v23/methods/photos_deletePhotos.md similarity index 100% rename from docs/API_docs_55/methods/photos_deletePhotos.md rename to docs/old/API_docs_v23/methods/photos_deletePhotos.md diff --git a/docs/old/API_docs_v23/methods/photos_getUserPhotos.md b/docs/old/API_docs_v23/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..463ca056 --- /dev/null +++ b/docs/old/API_docs_v23/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v23/methods/photos_updateProfilePhoto.md similarity index 100% rename from docs/API_docs_55/methods/photos_updateProfilePhoto.md rename to docs/old/API_docs_v23/methods/photos_updateProfilePhoto.md diff --git a/docs/API_docs_55/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v23/methods/photos_uploadProfilePhoto.md similarity index 100% rename from docs/API_docs_55/methods/photos_uploadProfilePhoto.md rename to docs/old/API_docs_v23/methods/photos_uploadProfilePhoto.md diff --git a/docs/API_docs_55/methods/updates_getDifference.md b/docs/old/API_docs_v23/methods/updates_getDifference.md similarity index 100% rename from docs/API_docs_55/methods/updates_getDifference.md rename to docs/old/API_docs_v23/methods/updates_getDifference.md diff --git a/docs/API_docs_55/methods/updates_getState.md b/docs/old/API_docs_v23/methods/updates_getState.md similarity index 100% rename from docs/API_docs_55/methods/updates_getState.md rename to docs/old/API_docs_v23/methods/updates_getState.md diff --git a/docs/API_docs_55/methods/upload_getFile.md b/docs/old/API_docs_v23/methods/upload_getFile.md similarity index 100% rename from docs/API_docs_55/methods/upload_getFile.md rename to docs/old/API_docs_v23/methods/upload_getFile.md diff --git a/docs/API_docs_55/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v23/methods/upload_saveBigFilePart.md similarity index 100% rename from docs/API_docs_55/methods/upload_saveBigFilePart.md rename to docs/old/API_docs_v23/methods/upload_saveBigFilePart.md diff --git a/docs/API_docs_55/methods/upload_saveFilePart.md b/docs/old/API_docs_v23/methods/upload_saveFilePart.md similarity index 100% rename from docs/API_docs_55/methods/upload_saveFilePart.md rename to docs/old/API_docs_v23/methods/upload_saveFilePart.md diff --git a/docs/API_docs_55/methods/users_getFullUser.md b/docs/old/API_docs_v23/methods/users_getFullUser.md similarity index 100% rename from docs/API_docs_55/methods/users_getFullUser.md rename to docs/old/API_docs_v23/methods/users_getFullUser.md diff --git a/docs/API_docs_55/methods/users_getUsers.md b/docs/old/API_docs_v23/methods/users_getUsers.md similarity index 100% rename from docs/API_docs_55/methods/users_getUsers.md rename to docs/old/API_docs_v23/methods/users_getUsers.md diff --git a/docs/API_docs_55/types/!X.md b/docs/old/API_docs_v23/types/!X.md similarity index 100% rename from docs/API_docs_55/types/!X.md rename to docs/old/API_docs_v23/types/!X.md diff --git a/docs/API_docs_46/types/AccountDaysTTL.md b/docs/old/API_docs_v23/types/AccountDaysTTL.md similarity index 100% rename from docs/API_docs_46/types/AccountDaysTTL.md rename to docs/old/API_docs_v23/types/AccountDaysTTL.md diff --git a/docs/old/API_docs_v23/types/Audio.md b/docs/old/API_docs_v23/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v23/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Bool.md b/docs/old/API_docs_v23/types/Bool.md similarity index 100% rename from docs/API_docs_55/types/Bool.md rename to docs/old/API_docs_v23/types/Bool.md diff --git a/docs/old/API_docs_v23/types/Chat.md b/docs/old/API_docs_v23/types/Chat.md new file mode 100644 index 00000000..81db9ec6 --- /dev/null +++ b/docs/old/API_docs_v23/types/Chat.md @@ -0,0 +1,23 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/ChatFull.md b/docs/old/API_docs_v23/types/ChatFull.md new file mode 100644 index 00000000..a63ad7e6 --- /dev/null +++ b/docs/old/API_docs_v23/types/ChatFull.md @@ -0,0 +1,19 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/ChatParticipant.md b/docs/old/API_docs_v23/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v23/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ChatParticipants.md b/docs/old/API_docs_v23/types/ChatParticipants.md similarity index 100% rename from docs/API_docs_55/types/ChatParticipants.md rename to docs/old/API_docs_v23/types/ChatParticipants.md diff --git a/docs/API_docs_55/types/ChatPhoto.md b/docs/old/API_docs_v23/types/ChatPhoto.md similarity index 100% rename from docs/API_docs_55/types/ChatPhoto.md rename to docs/old/API_docs_v23/types/ChatPhoto.md diff --git a/docs/API_docs_55/types/Config.md b/docs/old/API_docs_v23/types/Config.md similarity index 100% rename from docs/API_docs_55/types/Config.md rename to docs/old/API_docs_v23/types/Config.md diff --git a/docs/API_docs_55/types/Contact.md b/docs/old/API_docs_v23/types/Contact.md similarity index 100% rename from docs/API_docs_55/types/Contact.md rename to docs/old/API_docs_v23/types/Contact.md diff --git a/docs/API_docs_55/types/ContactBlocked.md b/docs/old/API_docs_v23/types/ContactBlocked.md similarity index 100% rename from docs/API_docs_55/types/ContactBlocked.md rename to docs/old/API_docs_v23/types/ContactBlocked.md diff --git a/docs/old/API_docs_v23/types/ContactFound.md b/docs/old/API_docs_v23/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v23/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ContactStatus.md b/docs/old/API_docs_v23/types/ContactStatus.md similarity index 100% rename from docs/API_docs_55/types/ContactStatus.md rename to docs/old/API_docs_v23/types/ContactStatus.md diff --git a/docs/old/API_docs_v23/types/ContactSuggested.md b/docs/old/API_docs_v23/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v23/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/DcOption.md b/docs/old/API_docs_v23/types/DcOption.md similarity index 100% rename from docs/API_docs_55/types/DcOption.md rename to docs/old/API_docs_v23/types/DcOption.md diff --git a/docs/old/API_docs_v23/types/Dialog.md b/docs/old/API_docs_v23/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v23/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/DisabledFeature.md b/docs/old/API_docs_v23/types/DisabledFeature.md similarity index 100% rename from docs/API_docs_46/types/DisabledFeature.md rename to docs/old/API_docs_v23/types/DisabledFeature.md diff --git a/docs/old/API_docs_v23/types/Document.md b/docs/old/API_docs_v23/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v23/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/DocumentAttribute.md b/docs/old/API_docs_v23/types/DocumentAttribute.md similarity index 100% rename from docs/API_docs_46/types/DocumentAttribute.md rename to docs/old/API_docs_v23/types/DocumentAttribute.md diff --git a/docs/API_docs_55/types/EncryptedChat.md b/docs/old/API_docs_v23/types/EncryptedChat.md similarity index 100% rename from docs/API_docs_55/types/EncryptedChat.md rename to docs/old/API_docs_v23/types/EncryptedChat.md diff --git a/docs/API_docs_55/types/EncryptedFile.md b/docs/old/API_docs_v23/types/EncryptedFile.md similarity index 100% rename from docs/API_docs_55/types/EncryptedFile.md rename to docs/old/API_docs_v23/types/EncryptedFile.md diff --git a/docs/API_docs_55/types/EncryptedMessage.md b/docs/old/API_docs_v23/types/EncryptedMessage.md similarity index 100% rename from docs/API_docs_55/types/EncryptedMessage.md rename to docs/old/API_docs_v23/types/EncryptedMessage.md diff --git a/docs/API_docs_55/types/Error.md b/docs/old/API_docs_v23/types/Error.md similarity index 100% rename from docs/API_docs_55/types/Error.md rename to docs/old/API_docs_v23/types/Error.md diff --git a/docs/API_docs_55/types/FileLocation.md b/docs/old/API_docs_v23/types/FileLocation.md similarity index 100% rename from docs/API_docs_55/types/FileLocation.md rename to docs/old/API_docs_v23/types/FileLocation.md diff --git a/docs/API_docs_55/types/GeoPoint.md b/docs/old/API_docs_v23/types/GeoPoint.md similarity index 100% rename from docs/API_docs_55/types/GeoPoint.md rename to docs/old/API_docs_v23/types/GeoPoint.md diff --git a/docs/API_docs_55/types/ImportedContact.md b/docs/old/API_docs_v23/types/ImportedContact.md similarity index 100% rename from docs/API_docs_55/types/ImportedContact.md rename to docs/old/API_docs_v23/types/ImportedContact.md diff --git a/docs/API_docs_55/types/InputAppEvent.md b/docs/old/API_docs_v23/types/InputAppEvent.md similarity index 100% rename from docs/API_docs_55/types/InputAppEvent.md rename to docs/old/API_docs_v23/types/InputAppEvent.md diff --git a/docs/old/API_docs_v23/types/InputAudio.md b/docs/old/API_docs_v23/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v23/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputChatPhoto.md b/docs/old/API_docs_v23/types/InputChatPhoto.md similarity index 100% rename from docs/API_docs_55/types/InputChatPhoto.md rename to docs/old/API_docs_v23/types/InputChatPhoto.md diff --git a/docs/API_docs_55/types/InputContact.md b/docs/old/API_docs_v23/types/InputContact.md similarity index 100% rename from docs/API_docs_55/types/InputContact.md rename to docs/old/API_docs_v23/types/InputContact.md diff --git a/docs/API_docs_55/types/InputDocument.md b/docs/old/API_docs_v23/types/InputDocument.md similarity index 100% rename from docs/API_docs_55/types/InputDocument.md rename to docs/old/API_docs_v23/types/InputDocument.md diff --git a/docs/API_docs_55/types/InputEncryptedChat.md b/docs/old/API_docs_v23/types/InputEncryptedChat.md similarity index 100% rename from docs/API_docs_55/types/InputEncryptedChat.md rename to docs/old/API_docs_v23/types/InputEncryptedChat.md diff --git a/docs/API_docs_55/types/InputEncryptedFile.md b/docs/old/API_docs_v23/types/InputEncryptedFile.md similarity index 100% rename from docs/API_docs_55/types/InputEncryptedFile.md rename to docs/old/API_docs_v23/types/InputEncryptedFile.md diff --git a/docs/API_docs_55/types/InputFile.md b/docs/old/API_docs_v23/types/InputFile.md similarity index 100% rename from docs/API_docs_55/types/InputFile.md rename to docs/old/API_docs_v23/types/InputFile.md diff --git a/docs/old/API_docs_v23/types/InputFileLocation.md b/docs/old/API_docs_v23/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v23/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputGeoPoint.md b/docs/old/API_docs_v23/types/InputGeoPoint.md similarity index 100% rename from docs/API_docs_55/types/InputGeoPoint.md rename to docs/old/API_docs_v23/types/InputGeoPoint.md diff --git a/docs/old/API_docs_v23/types/InputMedia.md b/docs/old/API_docs_v23/types/InputMedia.md new file mode 100644 index 00000000..91dacd19 --- /dev/null +++ b/docs/old/API_docs_v23/types/InputMedia.md @@ -0,0 +1,43 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputNotifyPeer.md b/docs/old/API_docs_v23/types/InputNotifyPeer.md similarity index 100% rename from docs/API_docs_55/types/InputNotifyPeer.md rename to docs/old/API_docs_v23/types/InputNotifyPeer.md diff --git a/docs/old/API_docs_v23/types/InputPeer.md b/docs/old/API_docs_v23/types/InputPeer.md new file mode 100644 index 00000000..c694639e --- /dev/null +++ b/docs/old/API_docs_v23/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerContact](../constructors/inputPeerContact.md) + +[inputPeerForeign](../constructors/inputPeerForeign.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v23/types/InputPeerNotifyEvents.md similarity index 100% rename from docs/API_docs_55/types/InputPeerNotifyEvents.md rename to docs/old/API_docs_v23/types/InputPeerNotifyEvents.md diff --git a/docs/API_docs_55/types/InputPeerNotifySettings.md b/docs/old/API_docs_v23/types/InputPeerNotifySettings.md similarity index 100% rename from docs/API_docs_55/types/InputPeerNotifySettings.md rename to docs/old/API_docs_v23/types/InputPeerNotifySettings.md diff --git a/docs/API_docs_55/types/InputPhoto.md b/docs/old/API_docs_v23/types/InputPhoto.md similarity index 100% rename from docs/API_docs_55/types/InputPhoto.md rename to docs/old/API_docs_v23/types/InputPhoto.md diff --git a/docs/API_docs_55/types/InputPhotoCrop.md b/docs/old/API_docs_v23/types/InputPhotoCrop.md similarity index 100% rename from docs/API_docs_55/types/InputPhotoCrop.md rename to docs/old/API_docs_v23/types/InputPhotoCrop.md diff --git a/docs/API_docs_46/types/InputPrivacyKey.md b/docs/old/API_docs_v23/types/InputPrivacyKey.md similarity index 100% rename from docs/API_docs_46/types/InputPrivacyKey.md rename to docs/old/API_docs_v23/types/InputPrivacyKey.md diff --git a/docs/API_docs_46/types/InputPrivacyRule.md b/docs/old/API_docs_v23/types/InputPrivacyRule.md similarity index 100% rename from docs/API_docs_46/types/InputPrivacyRule.md rename to docs/old/API_docs_v23/types/InputPrivacyRule.md diff --git a/docs/old/API_docs_v23/types/InputUser.md b/docs/old/API_docs_v23/types/InputUser.md new file mode 100644 index 00000000..fb5f01eb --- /dev/null +++ b/docs/old/API_docs_v23/types/InputUser.md @@ -0,0 +1,25 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUserContact](../constructors/inputUserContact.md) + +[inputUserForeign](../constructors/inputUserForeign.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/InputVideo.md b/docs/old/API_docs_v23/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v23/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/Message.md b/docs/old/API_docs_v23/types/Message.md new file mode 100644 index 00000000..337d33ce --- /dev/null +++ b/docs/old/API_docs_v23/types/Message.md @@ -0,0 +1,25 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageForwarded](../constructors/messageForwarded.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/MessageAction.md b/docs/old/API_docs_v23/types/MessageAction.md new file mode 100644 index 00000000..4a0a3911 --- /dev/null +++ b/docs/old/API_docs_v23/types/MessageAction.md @@ -0,0 +1,31 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/MessageMedia.md b/docs/old/API_docs_v23/types/MessageMedia.md new file mode 100644 index 00000000..2059f46b --- /dev/null +++ b/docs/old/API_docs_v23/types/MessageMedia.md @@ -0,0 +1,33 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/MessagesFilter.md b/docs/old/API_docs_v23/types/MessagesFilter.md similarity index 100% rename from docs/API_docs_46/types/MessagesFilter.md rename to docs/old/API_docs_v23/types/MessagesFilter.md diff --git a/docs/API_docs_55/types/NearestDc.md b/docs/old/API_docs_v23/types/NearestDc.md similarity index 100% rename from docs/API_docs_55/types/NearestDc.md rename to docs/old/API_docs_v23/types/NearestDc.md diff --git a/docs/API_docs_55/types/NotifyPeer.md b/docs/old/API_docs_v23/types/NotifyPeer.md similarity index 100% rename from docs/API_docs_55/types/NotifyPeer.md rename to docs/old/API_docs_v23/types/NotifyPeer.md diff --git a/docs/API_docs_55/types/Null.md b/docs/old/API_docs_v23/types/Null.md similarity index 100% rename from docs/API_docs_55/types/Null.md rename to docs/old/API_docs_v23/types/Null.md diff --git a/docs/old/API_docs_v23/types/Peer.md b/docs/old/API_docs_v23/types/Peer.md new file mode 100644 index 00000000..85fc991d --- /dev/null +++ b/docs/old/API_docs_v23/types/Peer.md @@ -0,0 +1,21 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/PeerNotifyEvents.md b/docs/old/API_docs_v23/types/PeerNotifyEvents.md similarity index 100% rename from docs/API_docs_55/types/PeerNotifyEvents.md rename to docs/old/API_docs_v23/types/PeerNotifyEvents.md diff --git a/docs/API_docs_55/types/PeerNotifySettings.md b/docs/old/API_docs_v23/types/PeerNotifySettings.md similarity index 100% rename from docs/API_docs_55/types/PeerNotifySettings.md rename to docs/old/API_docs_v23/types/PeerNotifySettings.md diff --git a/docs/API_docs_55/types/Photo.md b/docs/old/API_docs_v23/types/Photo.md similarity index 100% rename from docs/API_docs_55/types/Photo.md rename to docs/old/API_docs_v23/types/Photo.md diff --git a/docs/API_docs_55/types/PhotoSize.md b/docs/old/API_docs_v23/types/PhotoSize.md similarity index 100% rename from docs/API_docs_55/types/PhotoSize.md rename to docs/old/API_docs_v23/types/PhotoSize.md diff --git a/docs/API_docs_46/types/PrivacyKey.md b/docs/old/API_docs_v23/types/PrivacyKey.md similarity index 100% rename from docs/API_docs_46/types/PrivacyKey.md rename to docs/old/API_docs_v23/types/PrivacyKey.md diff --git a/docs/API_docs_46/types/PrivacyRule.md b/docs/old/API_docs_v23/types/PrivacyRule.md similarity index 100% rename from docs/API_docs_46/types/PrivacyRule.md rename to docs/old/API_docs_v23/types/PrivacyRule.md diff --git a/docs/API_docs_46/types/ReportReason.md b/docs/old/API_docs_v23/types/ReportReason.md similarity index 100% rename from docs/API_docs_46/types/ReportReason.md rename to docs/old/API_docs_v23/types/ReportReason.md diff --git a/docs/API_docs_55/types/SendMessageAction.md b/docs/old/API_docs_v23/types/SendMessageAction.md similarity index 100% rename from docs/API_docs_55/types/SendMessageAction.md rename to docs/old/API_docs_v23/types/SendMessageAction.md diff --git a/docs/API_docs_46/types/StickerPack.md b/docs/old/API_docs_v23/types/StickerPack.md similarity index 100% rename from docs/API_docs_46/types/StickerPack.md rename to docs/old/API_docs_v23/types/StickerPack.md diff --git a/docs/API_docs_55/types/True.md b/docs/old/API_docs_v23/types/True.md similarity index 100% rename from docs/API_docs_55/types/True.md rename to docs/old/API_docs_v23/types/True.md diff --git a/docs/old/API_docs_v23/types/Update.md b/docs/old/API_docs_v23/types/Update.md new file mode 100644 index 00000000..e50ec4d2 --- /dev/null +++ b/docs/old/API_docs_v23/types/Update.md @@ -0,0 +1,67 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateReadMessages](../constructors/updateReadMessages.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/Updates.md b/docs/old/API_docs_v23/types/Updates.md new file mode 100644 index 00000000..0284bdd7 --- /dev/null +++ b/docs/old/API_docs_v23/types/Updates.md @@ -0,0 +1,29 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/User.md b/docs/old/API_docs_v23/types/User.md new file mode 100644 index 00000000..e9e2e34e --- /dev/null +++ b/docs/old/API_docs_v23/types/User.md @@ -0,0 +1,41 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[userSelf](../constructors/userSelf.md) + +[userContact](../constructors/userContact.md) + +[userRequest](../constructors/userRequest.md) + +[userForeign](../constructors/userForeign.md) + +[userDeleted](../constructors/userDeleted.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/API_docs_55/types/UserFull.md b/docs/old/API_docs_v23/types/UserFull.md similarity index 100% rename from docs/API_docs_55/types/UserFull.md rename to docs/old/API_docs_v23/types/UserFull.md diff --git a/docs/API_docs_55/types/UserProfilePhoto.md b/docs/old/API_docs_v23/types/UserProfilePhoto.md similarity index 100% rename from docs/API_docs_55/types/UserProfilePhoto.md rename to docs/old/API_docs_v23/types/UserProfilePhoto.md diff --git a/docs/API_docs_46/types/UserStatus.md b/docs/old/API_docs_v23/types/UserStatus.md similarity index 100% rename from docs/API_docs_46/types/UserStatus.md rename to docs/old/API_docs_v23/types/UserStatus.md diff --git a/docs/old/API_docs_v23/types/Vector t.md b/docs/old/API_docs_v23/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v23/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/Video.md b/docs/old/API_docs_v23/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v23/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/WallPaper.md b/docs/old/API_docs_v23/types/WallPaper.md similarity index 100% rename from docs/API_docs_55/types/WallPaper.md rename to docs/old/API_docs_v23/types/WallPaper.md diff --git a/docs/API_docs_55/types/X.md b/docs/old/API_docs_v23/types/X.md similarity index 100% rename from docs/API_docs_55/types/X.md rename to docs/old/API_docs_v23/types/X.md diff --git a/docs/API_docs_46/types/account_PrivacyRules.md b/docs/old/API_docs_v23/types/account_PrivacyRules.md similarity index 100% rename from docs/API_docs_46/types/account_PrivacyRules.md rename to docs/old/API_docs_v23/types/account_PrivacyRules.md diff --git a/docs/API_docs_46/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v23/types/account_SentChangePhoneCode.md similarity index 100% rename from docs/API_docs_46/types/account_SentChangePhoneCode.md rename to docs/old/API_docs_v23/types/account_SentChangePhoneCode.md diff --git a/docs/old/API_docs_v23/types/auth_Authorization.md b/docs/old/API_docs_v23/types/auth_Authorization.md new file mode 100644 index 00000000..99bb69ba --- /dev/null +++ b/docs/old/API_docs_v23/types/auth_Authorization.md @@ -0,0 +1,25 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + + + diff --git a/docs/API_docs_55/types/auth_CheckedPhone.md b/docs/old/API_docs_v23/types/auth_CheckedPhone.md similarity index 100% rename from docs/API_docs_55/types/auth_CheckedPhone.md rename to docs/old/API_docs_v23/types/auth_CheckedPhone.md diff --git a/docs/API_docs_55/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v23/types/auth_ExportedAuthorization.md similarity index 100% rename from docs/API_docs_55/types/auth_ExportedAuthorization.md rename to docs/old/API_docs_v23/types/auth_ExportedAuthorization.md diff --git a/docs/old/API_docs_v23/types/auth_SentCode.md b/docs/old/API_docs_v23/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v23/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/API_docs_55/types/bytes.md b/docs/old/API_docs_v23/types/bytes.md similarity index 100% rename from docs/API_docs_55/types/bytes.md rename to docs/old/API_docs_v23/types/bytes.md diff --git a/docs/API_docs_55/types/contacts_Blocked.md b/docs/old/API_docs_v23/types/contacts_Blocked.md similarity index 100% rename from docs/API_docs_55/types/contacts_Blocked.md rename to docs/old/API_docs_v23/types/contacts_Blocked.md diff --git a/docs/API_docs_55/types/contacts_Contacts.md b/docs/old/API_docs_v23/types/contacts_Contacts.md similarity index 100% rename from docs/API_docs_55/types/contacts_Contacts.md rename to docs/old/API_docs_v23/types/contacts_Contacts.md diff --git a/docs/old/API_docs_v23/types/contacts_ForeignLink.md b/docs/old/API_docs_v23/types/contacts_ForeignLink.md new file mode 100644 index 00000000..f242b56d --- /dev/null +++ b/docs/old/API_docs_v23/types/contacts_ForeignLink.md @@ -0,0 +1,23 @@ +--- +title: contacts_ForeignLink +description: constructors and methods of type contacts_ForeignLink +--- +## Type: contacts\_ForeignLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_foreignLinkUnknown](../constructors/contacts_foreignLinkUnknown.md) + +[contacts\_foreignLinkRequested](../constructors/contacts_foreignLinkRequested.md) + +[contacts\_foreignLinkMutual](../constructors/contacts_foreignLinkMutual.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/contacts_Found.md b/docs/old/API_docs_v23/types/contacts_Found.md similarity index 100% rename from docs/API_docs_55/types/contacts_Found.md rename to docs/old/API_docs_v23/types/contacts_Found.md diff --git a/docs/API_docs_55/types/contacts_ImportedContacts.md b/docs/old/API_docs_v23/types/contacts_ImportedContacts.md similarity index 100% rename from docs/API_docs_55/types/contacts_ImportedContacts.md rename to docs/old/API_docs_v23/types/contacts_ImportedContacts.md diff --git a/docs/API_docs_55/types/contacts_Link.md b/docs/old/API_docs_v23/types/contacts_Link.md similarity index 100% rename from docs/API_docs_55/types/contacts_Link.md rename to docs/old/API_docs_v23/types/contacts_Link.md diff --git a/docs/old/API_docs_v23/types/contacts_MyLink.md b/docs/old/API_docs_v23/types/contacts_MyLink.md new file mode 100644 index 00000000..0eb65b07 --- /dev/null +++ b/docs/old/API_docs_v23/types/contacts_MyLink.md @@ -0,0 +1,23 @@ +--- +title: contacts_MyLink +description: constructors and methods of type contacts_MyLink +--- +## Type: contacts\_MyLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_myLinkEmpty](../constructors/contacts_myLinkEmpty.md) + +[contacts\_myLinkRequested](../constructors/contacts_myLinkRequested.md) + +[contacts\_myLinkContact](../constructors/contacts_myLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v23/types/contacts_Suggested.md b/docs/old/API_docs_v23/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v23/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/API_docs_55/types/double.md b/docs/old/API_docs_v23/types/double.md similarity index 100% rename from docs/API_docs_55/types/double.md rename to docs/old/API_docs_v23/types/double.md diff --git a/docs/API_docs_55/types/help_AppUpdate.md b/docs/old/API_docs_v23/types/help_AppUpdate.md similarity index 100% rename from docs/API_docs_55/types/help_AppUpdate.md rename to docs/old/API_docs_v23/types/help_AppUpdate.md diff --git a/docs/API_docs_55/types/help_InviteText.md b/docs/old/API_docs_v23/types/help_InviteText.md similarity index 100% rename from docs/API_docs_55/types/help_InviteText.md rename to docs/old/API_docs_v23/types/help_InviteText.md diff --git a/docs/API_docs_55/types/help_Support.md b/docs/old/API_docs_v23/types/help_Support.md similarity index 100% rename from docs/API_docs_55/types/help_Support.md rename to docs/old/API_docs_v23/types/help_Support.md diff --git a/docs/old/API_docs_v23/types/index.md b/docs/old/API_docs_v23/types/index.md new file mode 100644 index 00000000..2722d05a --- /dev/null +++ b/docs/old/API_docs_v23/types/index.md @@ -0,0 +1,232 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Bool](Bool.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageMedia](MessageMedia.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[X](X.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_ForeignLink](contacts_ForeignLink.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_MyLink](contacts_MyLink.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_SentMessage](messages_SentMessage.md) + +[messages\_StatedMessage](messages_StatedMessage.md) + +[messages\_StatedMessages](messages_StatedMessages.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/API_docs_55/types/int.md b/docs/old/API_docs_v23/types/int.md similarity index 100% rename from docs/API_docs_55/types/int.md rename to docs/old/API_docs_v23/types/int.md diff --git a/docs/API_docs_55/types/int128.md b/docs/old/API_docs_v23/types/int128.md similarity index 100% rename from docs/API_docs_55/types/int128.md rename to docs/old/API_docs_v23/types/int128.md diff --git a/docs/API_docs_55/types/int256.md b/docs/old/API_docs_v23/types/int256.md similarity index 100% rename from docs/API_docs_55/types/int256.md rename to docs/old/API_docs_v23/types/int256.md diff --git a/docs/API_docs_55/types/int512.md b/docs/old/API_docs_v23/types/int512.md similarity index 100% rename from docs/API_docs_55/types/int512.md rename to docs/old/API_docs_v23/types/int512.md diff --git a/docs/API_docs_55/types/long.md b/docs/old/API_docs_v23/types/long.md similarity index 100% rename from docs/API_docs_55/types/long.md rename to docs/old/API_docs_v23/types/long.md diff --git a/docs/old/API_docs_v23/types/messages_AffectedHistory.md b/docs/old/API_docs_v23/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/API_docs_46/types/messages_AllStickers.md b/docs/old/API_docs_v23/types/messages_AllStickers.md similarity index 100% rename from docs/API_docs_46/types/messages_AllStickers.md rename to docs/old/API_docs_v23/types/messages_AllStickers.md diff --git a/docs/old/API_docs_v23/types/messages_ChatFull.md b/docs/old/API_docs_v23/types/messages_ChatFull.md new file mode 100644 index 00000000..14622524 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_ChatFull.md @@ -0,0 +1,21 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + + + diff --git a/docs/old/API_docs_v23/types/messages_Chats.md b/docs/old/API_docs_v23/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/API_docs_55/types/messages_DhConfig.md b/docs/old/API_docs_v23/types/messages_DhConfig.md similarity index 100% rename from docs/API_docs_55/types/messages_DhConfig.md rename to docs/old/API_docs_v23/types/messages_DhConfig.md diff --git a/docs/old/API_docs_v23/types/messages_Dialogs.md b/docs/old/API_docs_v23/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/old/API_docs_v23/types/messages_Messages.md b/docs/old/API_docs_v23/types/messages_Messages.md new file mode 100644 index 00000000..e47583e2 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_Messages.md @@ -0,0 +1,27 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + + + diff --git a/docs/API_docs_55/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v23/types/messages_SentEncryptedMessage.md similarity index 100% rename from docs/API_docs_55/types/messages_SentEncryptedMessage.md rename to docs/old/API_docs_v23/types/messages_SentEncryptedMessage.md diff --git a/docs/old/API_docs_v23/types/messages_SentMessage.md b/docs/old/API_docs_v23/types/messages_SentMessage.md new file mode 100644 index 00000000..83f798e2 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_SentMessage.md @@ -0,0 +1,23 @@ +--- +title: messages_SentMessage +description: constructors and methods of type messages_SentMessage +--- +## Type: messages\_SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentMessage](../constructors/messages_sentMessage.md) + +[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + + + diff --git a/docs/old/API_docs_v23/types/messages_StatedMessage.md b/docs/old/API_docs_v23/types/messages_StatedMessage.md new file mode 100644 index 00000000..3d771cf7 --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_StatedMessage.md @@ -0,0 +1,35 @@ +--- +title: messages_StatedMessage +description: constructors and methods of type messages_StatedMessage +--- +## Type: messages\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessage](../constructors/messages_statedMessage.md) + +[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + + + diff --git a/docs/old/API_docs_v23/types/messages_StatedMessages.md b/docs/old/API_docs_v23/types/messages_StatedMessages.md new file mode 100644 index 00000000..72f718ab --- /dev/null +++ b/docs/old/API_docs_v23/types/messages_StatedMessages.md @@ -0,0 +1,25 @@ +--- +title: messages_StatedMessages +description: constructors and methods of type messages_StatedMessages +--- +## Type: messages\_StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessages](../constructors/messages_statedMessages.md) + +[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + + + diff --git a/docs/API_docs_46/types/messages_Stickers.md b/docs/old/API_docs_v23/types/messages_Stickers.md similarity index 100% rename from docs/API_docs_46/types/messages_Stickers.md rename to docs/old/API_docs_v23/types/messages_Stickers.md diff --git a/docs/API_docs_55/types/photos_Photo.md b/docs/old/API_docs_v23/types/photos_Photo.md similarity index 100% rename from docs/API_docs_55/types/photos_Photo.md rename to docs/old/API_docs_v23/types/photos_Photo.md diff --git a/docs/API_docs_55/types/photos_Photos.md b/docs/old/API_docs_v23/types/photos_Photos.md similarity index 100% rename from docs/API_docs_55/types/photos_Photos.md rename to docs/old/API_docs_v23/types/photos_Photos.md diff --git a/docs/API_docs_55/types/storage_FileType.md b/docs/old/API_docs_v23/types/storage_FileType.md similarity index 100% rename from docs/API_docs_55/types/storage_FileType.md rename to docs/old/API_docs_v23/types/storage_FileType.md diff --git a/docs/API_docs_55/types/string.md b/docs/old/API_docs_v23/types/string.md similarity index 100% rename from docs/API_docs_55/types/string.md rename to docs/old/API_docs_v23/types/string.md diff --git a/docs/API_docs_55/types/updates_Difference.md b/docs/old/API_docs_v23/types/updates_Difference.md similarity index 100% rename from docs/API_docs_55/types/updates_Difference.md rename to docs/old/API_docs_v23/types/updates_Difference.md diff --git a/docs/API_docs_55/types/updates_State.md b/docs/old/API_docs_v23/types/updates_State.md similarity index 100% rename from docs/API_docs_55/types/updates_State.md rename to docs/old/API_docs_v23/types/updates_State.md diff --git a/docs/API_docs_55/types/upload_File.md b/docs/old/API_docs_v23/types/upload_File.md similarity index 100% rename from docs/API_docs_55/types/upload_File.md rename to docs/old/API_docs_v23/types/upload_File.md diff --git a/docs/old/API_docs_v25/constructors/accountDaysTTL.md b/docs/old/API_docs_v25/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/account_noPassword.md b/docs/old/API_docs_v25/constructors/account_noPassword.md new file mode 100644 index 00000000..7e7226ae --- /dev/null +++ b/docs/old/API_docs_v25/constructors/account_noPassword.md @@ -0,0 +1,26 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/account_password.md b/docs/old/API_docs_v25/constructors/account_password.md new file mode 100644 index 00000000..b556fe07 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/account_password.md @@ -0,0 +1,28 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/account_privacyRules.md b/docs/old/API_docs_v25/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v25/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/audio.md b/docs/old/API_docs_v25/constructors/audio.md new file mode 100644 index 00000000..3bd5954b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/audio.md @@ -0,0 +1,33 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/audioEmpty.md b/docs/old/API_docs_v25/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/auth_authorization.md b/docs/old/API_docs_v25/constructors/auth_authorization.md new file mode 100644 index 00000000..68be6aee --- /dev/null +++ b/docs/old/API_docs_v25/constructors/auth_authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'expires' => int, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/auth_checkedPhone.md b/docs/old/API_docs_v25/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v25/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/auth_sentAppCode.md b/docs/old/API_docs_v25/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/auth_sentCode.md b/docs/old/API_docs_v25/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/boolFalse.md b/docs/old/API_docs_v25/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/boolTrue.md b/docs/old/API_docs_v25/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/chat.md b/docs/old/API_docs_v25/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/chatEmpty.md b/docs/old/API_docs_v25/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/chatForbidden.md b/docs/old/API_docs_v25/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/chatFull.md b/docs/old/API_docs_v25/constructors/chatFull.md new file mode 100644 index 00000000..c4bb6905 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatFull.md @@ -0,0 +1,29 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatLocated.md b/docs/old/API_docs_v25/constructors/chatLocated.md new file mode 100644 index 00000000..1815881a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatLocated.md @@ -0,0 +1,27 @@ +--- +title: chatLocated +description: chatLocated attributes, type and example +--- +## Constructor: chatLocated +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|distance|[int](../types/int.md) | Required| + + + +### Type: [ChatLocated](../types/ChatLocated.md) + + +### Example: + +``` +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatParticipant.md b/docs/old/API_docs_v25/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatParticipants.md b/docs/old/API_docs_v25/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v25/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatPhoto.md b/docs/old/API_docs_v25/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v25/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/config.md b/docs/old/API_docs_v25/constructors/config.md new file mode 100644 index 00000000..89492ec5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/config.md @@ -0,0 +1,40 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contact.md b/docs/old/API_docs_v25/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactBlocked.md b/docs/old/API_docs_v25/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactFound.md b/docs/old/API_docs_v25/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactLinkContact.md b/docs/old/API_docs_v25/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v25/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactLinkNone.md b/docs/old/API_docs_v25/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactLinkUnknown.md b/docs/old/API_docs_v25/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactStatus.md b/docs/old/API_docs_v25/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contactSuggested.md b/docs/old/API_docs_v25/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_blocked.md b/docs/old/API_docs_v25/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v25/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_contacts.md b/docs/old/API_docs_v25/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v25/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_found.md b/docs/old/API_docs_v25/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_importedContacts.md b/docs/old/API_docs_v25/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_link.md b/docs/old/API_docs_v25/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/contacts_suggested.md b/docs/old/API_docs_v25/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/dcOption.md b/docs/old/API_docs_v25/constructors/dcOption.md new file mode 100644 index 00000000..bdee0251 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/dcOption.md @@ -0,0 +1,29 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|hostname|[string](../types/string.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/dialog.md b/docs/old/API_docs_v25/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/disabledFeature.md b/docs/old/API_docs_v25/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/document.md b/docs/old/API_docs_v25/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v25/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeAudio.md b/docs/old/API_docs_v25/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..b558d4f0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeAudio.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeFilename.md b/docs/old/API_docs_v25/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v25/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeSticker.md b/docs/old/API_docs_v25/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..bdaa73f6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeSticker.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentAttributeVideo.md b/docs/old/API_docs_v25/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/documentEmpty.md b/docs/old/API_docs_v25/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedChat.md b/docs/old/API_docs_v25/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v25/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v25/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedChatRequested.md b/docs/old/API_docs_v25/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v25/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedFile.md b/docs/old/API_docs_v25/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v25/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedMessage.md b/docs/old/API_docs_v25/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/encryptedMessageService.md b/docs/old/API_docs_v25/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/error.md b/docs/old/API_docs_v25/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/fileLocation.md b/docs/old/API_docs_v25/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v25/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geoChat.md b/docs/old/API_docs_v25/constructors/geoChat.md new file mode 100644 index 00000000..507e62c3 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoChat.md @@ -0,0 +1,49 @@ +--- +title: geoChat +description: geoChat attributes, type and example +--- +## Constructor: geoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|checked\_in|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$geoChat = '@username'; // Username + +$geoChat = 44700; // bot API id (users) +$geoChat = -492772765; // bot API id (chats) +$geoChat = -10038575794; // bot API id (channels) + +$geoChat = 'user#44700'; // tg-cli style id (users) +$geoChat = 'chat#492772765'; // tg-cli style id (chats) +$geoChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/geoChatMessage.md b/docs/old/API_docs_v25/constructors/geoChatMessage.md new file mode 100644 index 00000000..28985e8d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoChatMessage.md @@ -0,0 +1,31 @@ +--- +title: geoChatMessage +description: geoChatMessage attributes, type and example +--- +## Constructor: geoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geoChatMessageEmpty.md b/docs/old/API_docs_v25/constructors/geoChatMessageEmpty.md new file mode 100644 index 00000000..0ff9a47b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoChatMessageEmpty.md @@ -0,0 +1,27 @@ +--- +title: geoChatMessageEmpty +description: geoChatMessageEmpty attributes, type and example +--- +## Constructor: geoChatMessageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geoChatMessageService.md b/docs/old/API_docs_v25/constructors/geoChatMessageService.md new file mode 100644 index 00000000..faf75db6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoChatMessageService.md @@ -0,0 +1,30 @@ +--- +title: geoChatMessageService +description: geoChatMessageService attributes, type and example +--- +## Constructor: geoChatMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geoPoint.md b/docs/old/API_docs_v25/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geoPointEmpty.md b/docs/old/API_docs_v25/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geochats_located.md b/docs/old/API_docs_v25/constructors/geochats_located.md new file mode 100644 index 00000000..30a7c3cb --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geochats_located.md @@ -0,0 +1,29 @@ +--- +title: geochats_located +description: geochats_located attributes, type and example +--- +## Constructor: geochats\_located +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Located](../types/geochats_Located.md) + + +### Example: + +``` +$geochats_located = ['_' => 'geochats_located', 'results' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geochats_messages.md b/docs/old/API_docs_v25/constructors/geochats_messages.md new file mode 100644 index 00000000..ada3b34e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geochats_messages.md @@ -0,0 +1,28 @@ +--- +title: geochats_messages +description: geochats_messages attributes, type and example +--- +## Constructor: geochats\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messages = ['_' => 'geochats_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geochats_messagesSlice.md b/docs/old/API_docs_v25/constructors/geochats_messagesSlice.md new file mode 100644 index 00000000..f2e904c4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geochats_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: geochats_messagesSlice +description: geochats_messagesSlice attributes, type and example +--- +## Constructor: geochats\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messagesSlice = ['_' => 'geochats_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/geochats_statedMessage.md b/docs/old/API_docs_v25/constructors/geochats_statedMessage.md new file mode 100644 index 00000000..f5c6ae91 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/geochats_statedMessage.md @@ -0,0 +1,29 @@ +--- +title: geochats_statedMessage +description: geochats_statedMessage attributes, type and example +--- +## Constructor: geochats\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + + +### Example: + +``` +$geochats_statedMessage = ['_' => 'geochats_statedMessage', 'message' => GeoChatMessage, 'chats' => [Vector t], 'users' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/help_appUpdate.md b/docs/old/API_docs_v25/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v25/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/help_inviteText.md b/docs/old/API_docs_v25/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/help_noAppUpdate.md b/docs/old/API_docs_v25/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/help_support.md b/docs/old/API_docs_v25/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/importedContact.md b/docs/old/API_docs_v25/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/index.md b/docs/old/API_docs_v25/constructors/index.md new file mode 100644 index 00000000..68b23bb0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/index.md @@ -0,0 +1,865 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$chatLocated](../constructors/chatLocated.md) = \['chat_id' => [int](../types/int.md), 'distance' => [int](../types/int.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoChat](../constructors/geoChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'checked_in' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$geoChatMessage](../constructors/geoChatMessage.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \]; + +*** +

[$geoChatMessageService](../constructors/geoChatMessageService.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; + +*** +

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoChat](../constructors/inputGeoChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) = \['peer' => [InputGeoChat](../types/InputGeoChat.md), \]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerContact](../constructors/inputPeerContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerForeign](../constructors/inputPeerForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputUserContact](../constructors/inputUserContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserForeign](../constructors/inputUserForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) = \[\]; + +*** +

[$messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) = \['title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessage](../constructors/messages_statedMessage.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) = \['message' => [Message](../types/Message.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'seq' => [int](../types/int.md), \]; + +[$messages\_statedMessages](../constructors/messages_statedMessages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'seq' => [int](../types/int.md), \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \[\]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \[\]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \[\]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \[\]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessages](../constructors/updateReadMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userDeleted](../constructors/userDeleted.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userForeign](../constructors/userForeign.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'real_first_name' => [string](../types/string.md), 'real_last_name' => [string](../types/string.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userRequest](../constructors/userRequest.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userSelf](../constructors/userSelf.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v25/constructors/inputAppEvent.md b/docs/old/API_docs_v25/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputAudio.md b/docs/old/API_docs_v25/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputAudioEmpty.md b/docs/old/API_docs_v25/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v25/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputChatPhoto.md b/docs/old/API_docs_v25/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v25/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v25/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputDocument.md b/docs/old/API_docs_v25/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v25/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v25/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedChat.md b/docs/old/API_docs_v25/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedFile.md b/docs/old/API_docs_v25/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v25/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v25/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v25/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputFile.md b/docs/old/API_docs_v25/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputFileBig.md b/docs/old/API_docs_v25/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputFileLocation.md b/docs/old/API_docs_v25/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputGeoChat.md b/docs/old/API_docs_v25/constructors/inputGeoChat.md new file mode 100644 index 00000000..bc0ac858 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputGeoChat.md @@ -0,0 +1,27 @@ +--- +title: inputGeoChat +description: inputGeoChat attributes, type and example +--- +## Constructor: inputGeoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputGeoChat](../types/InputGeoChat.md) + + +### Example: + +``` +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputGeoPoint.md b/docs/old/API_docs_v25/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v25/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaAudio.md b/docs/old/API_docs_v25/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaContact.md b/docs/old/API_docs_v25/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaDocument.md b/docs/old/API_docs_v25/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaEmpty.md b/docs/old/API_docs_v25/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v25/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaPhoto.md b/docs/old/API_docs_v25/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..9c14f4d9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..231928d3 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..9e8bbc70 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v25/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..c877c6a1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMediaVideo.md b/docs/old/API_docs_v25/constructors/inputMediaVideo.md new file mode 100644 index 00000000..93b7b56e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v25/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputNotifyAll.md b/docs/old/API_docs_v25/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputNotifyChats.md b/docs/old/API_docs_v25/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputNotifyGeoChatPeer.md b/docs/old/API_docs_v25/constructors/inputNotifyGeoChatPeer.md new file mode 100644 index 00000000..0bd702d1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputNotifyGeoChatPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyGeoChatPeer +description: inputNotifyGeoChatPeer attributes, type and example +--- +## Constructor: inputNotifyGeoChatPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputNotifyPeer.md b/docs/old/API_docs_v25/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputNotifyUsers.md b/docs/old/API_docs_v25/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPeerChat.md b/docs/old/API_docs_v25/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputPeerContact.md b/docs/old/API_docs_v25/constructors/inputPeerContact.md new file mode 100644 index 00000000..58501d74 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerContact.md @@ -0,0 +1,39 @@ +--- +title: inputPeerContact +description: inputPeerContact attributes, type and example +--- +## Constructor: inputPeerContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerContact = '@username'; // Username + +$inputPeerContact = 44700; // bot API id (users) +$inputPeerContact = -492772765; // bot API id (chats) +$inputPeerContact = -10038575794; // bot API id (channels) + +$inputPeerContact = 'user#44700'; // tg-cli style id (users) +$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputPeerEmpty.md b/docs/old/API_docs_v25/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputPeerForeign.md b/docs/old/API_docs_v25/constructors/inputPeerForeign.md new file mode 100644 index 00000000..2b839024 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerForeign.md @@ -0,0 +1,40 @@ +--- +title: inputPeerForeign +description: inputPeerForeign attributes, type and example +--- +## Constructor: inputPeerForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerForeign = '@username'; // Username + +$inputPeerForeign = 44700; // bot API id (users) +$inputPeerForeign = -492772765; // bot API id (chats) +$inputPeerForeign = -10038575794; // bot API id (channels) + +$inputPeerForeign = 'user#44700'; // tg-cli style id (users) +$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v25/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPeerSelf.md b/docs/old/API_docs_v25/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputPhoneContact.md b/docs/old/API_docs_v25/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPhoto.md b/docs/old/API_docs_v25/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPhotoCrop.md b/docs/old/API_docs_v25/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v25/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v25/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputUserContact.md b/docs/old/API_docs_v25/constructors/inputUserContact.md new file mode 100644 index 00000000..afd37c2d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputUserContact.md @@ -0,0 +1,39 @@ +--- +title: inputUserContact +description: inputUserContact attributes, type and example +--- +## Constructor: inputUserContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserContact = '@username'; // Username + +$inputUserContact = 44700; // bot API id (users) +$inputUserContact = -492772765; // bot API id (chats) +$inputUserContact = -10038575794; // bot API id (channels) + +$inputUserContact = 'user#44700'; // tg-cli style id (users) +$inputUserContact = 'chat#492772765'; // tg-cli style id (chats) +$inputUserContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputUserEmpty.md b/docs/old/API_docs_v25/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputUserForeign.md b/docs/old/API_docs_v25/constructors/inputUserForeign.md new file mode 100644 index 00000000..26b0c8a9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputUserForeign.md @@ -0,0 +1,40 @@ +--- +title: inputUserForeign +description: inputUserForeign attributes, type and example +--- +## Constructor: inputUserForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserForeign = '@username'; // Username + +$inputUserForeign = 44700; // bot API id (users) +$inputUserForeign = -492772765; // bot API id (chats) +$inputUserForeign = -10038575794; // bot API id (channels) + +$inputUserForeign = 'user#44700'; // tg-cli style id (users) +$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputUserSelf.md b/docs/old/API_docs_v25/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/inputVideo.md b/docs/old/API_docs_v25/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputVideoEmpty.md b/docs/old/API_docs_v25/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v25/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v25/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/message.md b/docs/old/API_docs_v25/constructors/message.md new file mode 100644 index 00000000..5441d5e9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/message.md @@ -0,0 +1,34 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v25/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatCreate.md b/docs/old/API_docs_v25/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v25/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v25/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v25/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v25/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionEmpty.md b/docs/old/API_docs_v25/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionGeoChatCheckin.md b/docs/old/API_docs_v25/constructors/messageActionGeoChatCheckin.md new file mode 100644 index 00000000..79bd9834 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionGeoChatCheckin.md @@ -0,0 +1,21 @@ +--- +title: messageActionGeoChatCheckin +description: messageActionGeoChatCheckin attributes, type and example +--- +## Constructor: messageActionGeoChatCheckin +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageActionGeoChatCreate.md b/docs/old/API_docs_v25/constructors/messageActionGeoChatCreate.md new file mode 100644 index 00000000..755430ec --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageActionGeoChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionGeoChatCreate +description: messageActionGeoChatCreate attributes, type and example +--- +## Constructor: messageActionGeoChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageEmpty.md b/docs/old/API_docs_v25/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaAudio.md b/docs/old/API_docs_v25/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaContact.md b/docs/old/API_docs_v25/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaDocument.md b/docs/old/API_docs_v25/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaEmpty.md b/docs/old/API_docs_v25/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaGeo.md b/docs/old/API_docs_v25/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaPhoto.md b/docs/old/API_docs_v25/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..147f13a9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v25/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageMediaVideo.md b/docs/old/API_docs_v25/constructors/messageMediaVideo.md new file mode 100644 index 00000000..70c81ff1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messageService.md b/docs/old/API_docs_v25/constructors/messageService.md new file mode 100644 index 00000000..cd3d9c43 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_affectedHistory.md b/docs/old/API_docs_v25/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_affectedMessages.md b/docs/old/API_docs_v25/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_allStickers.md b/docs/old/API_docs_v25/constructors/messages_allStickers.md new file mode 100644 index 00000000..aec76594 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_allStickers.md @@ -0,0 +1,28 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v25/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_chatFull.md b/docs/old/API_docs_v25/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_chats.md b/docs/old/API_docs_v25/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_dhConfig.md b/docs/old/API_docs_v25/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v25/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_dialogs.md b/docs/old/API_docs_v25/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v25/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_messageEmpty.md b/docs/old/API_docs_v25/constructors/messages_messageEmpty.md new file mode 100644 index 00000000..07c70633 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_messageEmpty.md @@ -0,0 +1,21 @@ +--- +title: messages_messageEmpty +description: messages_messageEmpty attributes, type and example +--- +## Constructor: messages\_messageEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Message](../types/messages_Message.md) + + +### Example: + +``` +$messages_messageEmpty = ['_' => 'messages_messageEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_messages.md b/docs/old/API_docs_v25/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_messagesSlice.md b/docs/old/API_docs_v25/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v25/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v25/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_sentMessage.md b/docs/old/API_docs_v25/constructors/messages_sentMessage.md new file mode 100644 index 00000000..6860ae6a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_sentMessage.md @@ -0,0 +1,29 @@ +--- +title: messages_sentMessage +description: messages_sentMessage attributes, type and example +--- +## Constructor: messages\_sentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessage = ['_' => 'messages_sentMessage', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_sentMessageLink.md b/docs/old/API_docs_v25/constructors/messages_sentMessageLink.md new file mode 100644 index 00000000..50cfcb10 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_sentMessageLink.md @@ -0,0 +1,31 @@ +--- +title: messages_sentMessageLink +description: messages_sentMessageLink attributes, type and example +--- +## Constructor: messages\_sentMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessageLink = ['_' => 'messages_sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_statedMessage.md b/docs/old/API_docs_v25/constructors/messages_statedMessage.md new file mode 100644 index 00000000..08903b23 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_statedMessage.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessage +description: messages_statedMessage attributes, type and example +--- +## Constructor: messages\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessage = ['_' => 'messages_statedMessage', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_statedMessageLink.md b/docs/old/API_docs_v25/constructors/messages_statedMessageLink.md new file mode 100644 index 00000000..549a159e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_statedMessageLink.md @@ -0,0 +1,32 @@ +--- +title: messages_statedMessageLink +description: messages_statedMessageLink attributes, type and example +--- +## Constructor: messages\_statedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + + +### Example: + +``` +$messages_statedMessageLink = ['_' => 'messages_statedMessageLink', 'message' => Message, 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'pts_count' => int, 'links' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_statedMessages.md b/docs/old/API_docs_v25/constructors/messages_statedMessages.md new file mode 100644 index 00000000..94d3ca4c --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_statedMessages.md @@ -0,0 +1,30 @@ +--- +title: messages_statedMessages +description: messages_statedMessages attributes, type and example +--- +## Constructor: messages\_statedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessages = ['_' => 'messages_statedMessages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_statedMessagesLinks.md b/docs/old/API_docs_v25/constructors/messages_statedMessagesLinks.md new file mode 100644 index 00000000..478bb426 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_statedMessagesLinks.md @@ -0,0 +1,32 @@ +--- +title: messages_statedMessagesLinks +description: messages_statedMessagesLinks attributes, type and example +--- +## Constructor: messages\_statedMessagesLinks +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + + +### Example: + +``` +$messages_statedMessagesLinks = ['_' => 'messages_statedMessagesLinks', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'pts' => int, 'pts_count' => int, 'links' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_stickers.md b/docs/old/API_docs_v25/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v25/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v25/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/nearestDc.md b/docs/old/API_docs_v25/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/notifyAll.md b/docs/old/API_docs_v25/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/notifyChats.md b/docs/old/API_docs_v25/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/notifyPeer.md b/docs/old/API_docs_v25/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/notifyUsers.md b/docs/old/API_docs_v25/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v25/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/null.md b/docs/old/API_docs_v25/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/peerChat.md b/docs/old/API_docs_v25/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v25/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v25/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/peerNotifySettings.md b/docs/old/API_docs_v25/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v25/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/peerUser.md b/docs/old/API_docs_v25/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/photo.md b/docs/old/API_docs_v25/constructors/photo.md new file mode 100644 index 00000000..9d7860f8 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photo.md @@ -0,0 +1,32 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photoCachedSize.md b/docs/old/API_docs_v25/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photoEmpty.md b/docs/old/API_docs_v25/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photoSize.md b/docs/old/API_docs_v25/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photoSizeEmpty.md b/docs/old/API_docs_v25/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photos_photo.md b/docs/old/API_docs_v25/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photos_photos.md b/docs/old/API_docs_v25/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/photos_photosSlice.md b/docs/old/API_docs_v25/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v25/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v25/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v25/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v25/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v25/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v25/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v25/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v25/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v25/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v25/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v25/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v25/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v25/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v25/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..618dccf7 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v25/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..ef61443e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v25/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..613cc558 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v25/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..219cc957 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/stickerPack.md b/docs/old/API_docs_v25/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileGif.md b/docs/old/API_docs_v25/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileJpeg.md b/docs/old/API_docs_v25/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileMov.md b/docs/old/API_docs_v25/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileMp3.md b/docs/old/API_docs_v25/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileMp4.md b/docs/old/API_docs_v25/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_filePartial.md b/docs/old/API_docs_v25/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_filePdf.md b/docs/old/API_docs_v25/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_filePng.md b/docs/old/API_docs_v25/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileUnknown.md b/docs/old/API_docs_v25/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/storage_fileWebp.md b/docs/old/API_docs_v25/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v25/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v25/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateChatParticipants.md b/docs/old/API_docs_v25/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateChatUserTyping.md b/docs/old/API_docs_v25/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateContactLink.md b/docs/old/API_docs_v25/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateContactRegistered.md b/docs/old/API_docs_v25/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateDcOptions.md b/docs/old/API_docs_v25/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateDeleteMessages.md b/docs/old/API_docs_v25/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v25/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v25/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateEncryption.md b/docs/old/API_docs_v25/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateMessageID.md b/docs/old/API_docs_v25/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateNewAuthorization.md b/docs/old/API_docs_v25/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v25/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateNewGeoChatMessage.md b/docs/old/API_docs_v25/constructors/updateNewGeoChatMessage.md new file mode 100644 index 00000000..ab1bf47f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateNewGeoChatMessage.md @@ -0,0 +1,26 @@ +--- +title: updateNewGeoChatMessage +description: updateNewGeoChatMessage attributes, type and example +--- +## Constructor: updateNewGeoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateNewMessage.md b/docs/old/API_docs_v25/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateNotifySettings.md b/docs/old/API_docs_v25/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updatePrivacy.md b/docs/old/API_docs_v25/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v25/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v25/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateReadMessages.md b/docs/old/API_docs_v25/constructors/updateReadMessages.md new file mode 100644 index 00000000..8fbefd6d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateReadMessages.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessages +description: updateReadMessages attributes, type and example +--- +## Constructor: updateReadMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateServiceNotification.md b/docs/old/API_docs_v25/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateShort.md b/docs/old/API_docs_v25/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateShortChatMessage.md b/docs/old/API_docs_v25/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..6a9604cc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateShortChatMessage.md @@ -0,0 +1,35 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateShortMessage.md b/docs/old/API_docs_v25/constructors/updateShortMessage.md new file mode 100644 index 00000000..7ac64eea --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateShortMessage.md @@ -0,0 +1,34 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserBlocked.md b/docs/old/API_docs_v25/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserName.md b/docs/old/API_docs_v25/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserPhone.md b/docs/old/API_docs_v25/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserPhoto.md b/docs/old/API_docs_v25/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserStatus.md b/docs/old/API_docs_v25/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updateUserTyping.md b/docs/old/API_docs_v25/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updates.md b/docs/old/API_docs_v25/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updatesCombined.md b/docs/old/API_docs_v25/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updatesTooLong.md b/docs/old/API_docs_v25/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updates_difference.md b/docs/old/API_docs_v25/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v25/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updates_differenceSlice.md b/docs/old/API_docs_v25/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/updates_state.md b/docs/old/API_docs_v25/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v25/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/upload_file.md b/docs/old/API_docs_v25/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v25/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userContact.md b/docs/old/API_docs_v25/constructors/userContact.md new file mode 100644 index 00000000..f8de255e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userContact.md @@ -0,0 +1,46 @@ +--- +title: userContact +description: userContact attributes, type and example +--- +## Constructor: userContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userContact = '@username'; // Username + +$userContact = 44700; // bot API id (users) +$userContact = -492772765; // bot API id (chats) +$userContact = -10038575794; // bot API id (channels) + +$userContact = 'user#44700'; // tg-cli style id (users) +$userContact = 'chat#492772765'; // tg-cli style id (chats) +$userContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userDeleted.md b/docs/old/API_docs_v25/constructors/userDeleted.md new file mode 100644 index 00000000..fe7cfdd1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userDeleted.md @@ -0,0 +1,42 @@ +--- +title: userDeleted +description: userDeleted attributes, type and example +--- +## Constructor: userDeleted +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$userDeleted = '@username'; // Username + +$userDeleted = 44700; // bot API id (users) +$userDeleted = -492772765; // bot API id (chats) +$userDeleted = -10038575794; // bot API id (channels) + +$userDeleted = 'user#44700'; // tg-cli style id (users) +$userDeleted = 'chat#492772765'; // tg-cli style id (chats) +$userDeleted = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userEmpty.md b/docs/old/API_docs_v25/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userForeign.md b/docs/old/API_docs_v25/constructors/userForeign.md new file mode 100644 index 00000000..faa7cb3e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userForeign.md @@ -0,0 +1,45 @@ +--- +title: userForeign +description: userForeign attributes, type and example +--- +## Constructor: userForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userForeign = '@username'; // Username + +$userForeign = 44700; // bot API id (users) +$userForeign = -492772765; // bot API id (chats) +$userForeign = -10038575794; // bot API id (channels) + +$userForeign = 'user#44700'; // tg-cli style id (users) +$userForeign = 'chat#492772765'; // tg-cli style id (chats) +$userForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userFull.md b/docs/old/API_docs_v25/constructors/userFull.md new file mode 100644 index 00000000..14a5297d --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|real\_first\_name|[string](../types/string.md) | Required| +|real\_last\_name|[string](../types/string.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userProfilePhoto.md b/docs/old/API_docs_v25/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v25/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userRequest.md b/docs/old/API_docs_v25/constructors/userRequest.md new file mode 100644 index 00000000..98da6ec8 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userRequest.md @@ -0,0 +1,46 @@ +--- +title: userRequest +description: userRequest attributes, type and example +--- +## Constructor: userRequest +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userRequest = '@username'; // Username + +$userRequest = 44700; // bot API id (users) +$userRequest = -492772765; // bot API id (chats) +$userRequest = -10038575794; // bot API id (channels) + +$userRequest = 'user#44700'; // tg-cli style id (users) +$userRequest = 'chat#492772765'; // tg-cli style id (chats) +$userRequest = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userSelf.md b/docs/old/API_docs_v25/constructors/userSelf.md new file mode 100644 index 00000000..d9085b22 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userSelf.md @@ -0,0 +1,45 @@ +--- +title: userSelf +description: userSelf attributes, type and example +--- +## Constructor: userSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userSelf = '@username'; // Username + +$userSelf = 44700; // bot API id (users) +$userSelf = -492772765; // bot API id (chats) +$userSelf = -10038575794; // bot API id (channels) + +$userSelf = 'user#44700'; // tg-cli style id (users) +$userSelf = 'chat#492772765'; // tg-cli style id (chats) +$userSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/constructors/userStatusEmpty.md b/docs/old/API_docs_v25/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userStatusLastMonth.md b/docs/old/API_docs_v25/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userStatusLastWeek.md b/docs/old/API_docs_v25/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userStatusOffline.md b/docs/old/API_docs_v25/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userStatusOnline.md b/docs/old/API_docs_v25/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/userStatusRecently.md b/docs/old/API_docs_v25/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/vector.md b/docs/old/API_docs_v25/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/video.md b/docs/old/API_docs_v25/constructors/video.md new file mode 100644 index 00000000..aa8277e1 --- /dev/null +++ b/docs/old/API_docs_v25/constructors/video.md @@ -0,0 +1,37 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/videoEmpty.md b/docs/old/API_docs_v25/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v25/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/wallPaper.md b/docs/old/API_docs_v25/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v25/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/constructors/wallPaperSolid.md b/docs/old/API_docs_v25/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v25/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v25/index.md b/docs/old/API_docs_v25/index.md new file mode 100644 index 00000000..10b31034 --- /dev/null +++ b/docs/old/API_docs_v25/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v25) +description: MadelineProto API documentation (layer v25) +--- +# MadelineProto API documentation (layer v25) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/API_docs_55/methods/account_changePhone.md b/docs/old/API_docs_v25/methods/account_changePhone.md similarity index 100% rename from docs/API_docs_55/methods/account_changePhone.md rename to docs/old/API_docs_v25/methods/account_changePhone.md diff --git a/docs/old/API_docs_v25/methods/account_checkUsername.md b/docs/old/API_docs_v25/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_deleteAccount.md b/docs/old/API_docs_v25/methods/account_deleteAccount.md similarity index 100% rename from docs/API_docs_55/methods/account_deleteAccount.md rename to docs/old/API_docs_v25/methods/account_deleteAccount.md diff --git a/docs/API_docs_55/methods/account_getAccountTTL.md b/docs/old/API_docs_v25/methods/account_getAccountTTL.md similarity index 100% rename from docs/API_docs_55/methods/account_getAccountTTL.md rename to docs/old/API_docs_v25/methods/account_getAccountTTL.md diff --git a/docs/old/API_docs_v25/methods/account_getNotifySettings.md b/docs/old/API_docs_v25/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/account_getPassword.md b/docs/old/API_docs_v25/methods/account_getPassword.md similarity index 100% rename from docs/API_docs_46/methods/account_getPassword.md rename to docs/old/API_docs_v25/methods/account_getPassword.md diff --git a/docs/API_docs_55/methods/account_getPrivacy.md b/docs/old/API_docs_v25/methods/account_getPrivacy.md similarity index 100% rename from docs/API_docs_55/methods/account_getPrivacy.md rename to docs/old/API_docs_v25/methods/account_getPrivacy.md diff --git a/docs/old/API_docs_v25/methods/account_getWallPapers.md b/docs/old/API_docs_v25/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_registerDevice.md b/docs/old/API_docs_v25/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_resetNotifySettings.md b/docs/old/API_docs_v25/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v25/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_setAccountTTL.md b/docs/old/API_docs_v25/methods/account_setAccountTTL.md similarity index 100% rename from docs/API_docs_55/methods/account_setAccountTTL.md rename to docs/old/API_docs_v25/methods/account_setAccountTTL.md diff --git a/docs/old/API_docs_v25/methods/account_setPassword.md b/docs/old/API_docs_v25/methods/account_setPassword.md new file mode 100644 index 00000000..3aeef0ee --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_setPassword.md @@ -0,0 +1,40 @@ +--- +title: account_setPassword +description: account_setPassword parameters, return type and example +--- +## Method: account\_setPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|new\_password\_hash|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setPassword(['current_password_hash' => bytes, 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_setPrivacy.md b/docs/old/API_docs_v25/methods/account_setPrivacy.md similarity index 100% rename from docs/API_docs_55/methods/account_setPrivacy.md rename to docs/old/API_docs_v25/methods/account_setPrivacy.md diff --git a/docs/old/API_docs_v25/methods/account_unregisterDevice.md b/docs/old/API_docs_v25/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v25/methods/account_updateDeviceLocked.md similarity index 100% rename from docs/API_docs_55/methods/account_updateDeviceLocked.md rename to docs/old/API_docs_v25/methods/account_updateDeviceLocked.md diff --git a/docs/old/API_docs_v25/methods/account_updateNotifySettings.md b/docs/old/API_docs_v25/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_updateProfile.md b/docs/old/API_docs_v25/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_updateStatus.md b/docs/old/API_docs_v25/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/account_updateUsername.md b/docs/old/API_docs_v25/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v25/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v25/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/auth_checkPassword.md b/docs/old/API_docs_v25/methods/auth_checkPassword.md similarity index 100% rename from docs/API_docs_46/methods/auth_checkPassword.md rename to docs/old/API_docs_v25/methods/auth_checkPassword.md diff --git a/docs/old/API_docs_v25/methods/auth_checkPhone.md b/docs/old/API_docs_v25/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_exportAuthorization.md b/docs/old/API_docs_v25/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_importAuthorization.md b/docs/old/API_docs_v25/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_logOut.md b/docs/old/API_docs_v25/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v25/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_sendCall.md b/docs/old/API_docs_v25/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_sendCode.md b/docs/old/API_docs_v25/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_sendInvites.md b/docs/old/API_docs_v25/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_sendSms.md b/docs/old/API_docs_v25/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_signIn.md b/docs/old/API_docs_v25/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/auth_signUp.md b/docs/old/API_docs_v25/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v25/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_block.md b/docs/old/API_docs_v25/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_deleteContact.md b/docs/old/API_docs_v25/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_deleteContacts.md b/docs/old/API_docs_v25/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_exportCard.md b/docs/old/API_docs_v25/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_getBlocked.md b/docs/old/API_docs_v25/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_getContacts.md b/docs/old/API_docs_v25/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_getStatuses.md b/docs/old/API_docs_v25/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_getSuggested.md b/docs/old/API_docs_v25/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_importCard.md b/docs/old/API_docs_v25/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_importContacts.md b/docs/old/API_docs_v25/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_resolveUsername.md b/docs/old/API_docs_v25/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..5a582f18 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_search.md b/docs/old/API_docs_v25/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/contacts_unblock.md b/docs/old/API_docs_v25/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v25/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_checkin.md b/docs/old/API_docs_v25/methods/geochats_checkin.md new file mode 100644 index 00000000..c4598255 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_checkin.md @@ -0,0 +1,37 @@ +--- +title: geochats_checkin +description: geochats_checkin parameters, return type and example +--- +## Method: geochats\_checkin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_createGeoChat.md b/docs/old/API_docs_v25/methods/geochats_createGeoChat.md new file mode 100644 index 00000000..acc269a0 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_createGeoChat.md @@ -0,0 +1,40 @@ +--- +title: geochats_createGeoChat +description: geochats_createGeoChat parameters, return type and example +--- +## Method: geochats\_createGeoChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_editChatPhoto.md b/docs/old/API_docs_v25/methods/geochats_editChatPhoto.md new file mode 100644 index 00000000..36823e54 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: geochats_editChatPhoto +description: geochats_editChatPhoto parameters, return type and example +--- +## Method: geochats\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_editChatTitle.md b/docs/old/API_docs_v25/methods/geochats_editChatTitle.md new file mode 100644 index 00000000..54c0fde5 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_editChatTitle.md @@ -0,0 +1,39 @@ +--- +title: geochats_editChatTitle +description: geochats_editChatTitle parameters, return type and example +--- +## Method: geochats\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_getFullChat.md b/docs/old/API_docs_v25/methods/geochats_getFullChat.md new file mode 100644 index 00000000..24234c90 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: geochats_getFullChat +description: geochats_getFullChat parameters, return type and example +--- +## Method: geochats\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_getHistory.md b/docs/old/API_docs_v25/methods/geochats_getHistory.md new file mode 100644 index 00000000..0c585966 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_getHistory.md @@ -0,0 +1,40 @@ +--- +title: geochats_getHistory +description: geochats_getHistory parameters, return type and example +--- +## Method: geochats\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_getLocated.md b/docs/old/API_docs_v25/methods/geochats_getLocated.md new file mode 100644 index 00000000..d7584615 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_getLocated.md @@ -0,0 +1,39 @@ +--- +title: geochats_getLocated +description: geochats_getLocated parameters, return type and example +--- +## Method: geochats\_getLocated +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|radius|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Located](../types/geochats_Located.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_getRecents.md b/docs/old/API_docs_v25/methods/geochats_getRecents.md new file mode 100644 index 00000000..ff8cbe11 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_getRecents.md @@ -0,0 +1,38 @@ +--- +title: geochats_getRecents +description: geochats_getRecents parameters, return type and example +--- +## Method: geochats\_getRecents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_search.md b/docs/old/API_docs_v25/methods/geochats_search.md new file mode 100644 index 00000000..ce502810 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_search.md @@ -0,0 +1,44 @@ +--- +title: geochats_search +description: geochats_search parameters, return type and example +--- +## Method: geochats\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_sendMedia.md b/docs/old/API_docs_v25/methods/geochats_sendMedia.md new file mode 100644 index 00000000..22024eb8 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_sendMedia.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMedia +description: geochats_sendMedia parameters, return type and example +--- +## Method: geochats\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_sendMessage.md b/docs/old/API_docs_v25/methods/geochats_sendMessage.md new file mode 100644 index 00000000..ac4ac41a --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_sendMessage.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMessage +description: geochats_sendMessage parameters, return type and example +--- +## Method: geochats\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/geochats_setTyping.md b/docs/old/API_docs_v25/methods/geochats_setTyping.md new file mode 100644 index 00000000..163e7dc7 --- /dev/null +++ b/docs/old/API_docs_v25/methods/geochats_setTyping.md @@ -0,0 +1,38 @@ +--- +title: geochats_setTyping +description: geochats_setTyping parameters, return type and example +--- +## Method: geochats\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_getAppUpdate.md b/docs/old/API_docs_v25/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_getConfig.md b/docs/old/API_docs_v25/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_getInviteText.md b/docs/old/API_docs_v25/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_getNearestDc.md b/docs/old/API_docs_v25/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_getSupport.md b/docs/old/API_docs_v25/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/help_saveAppLog.md b/docs/old/API_docs_v25/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v25/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/index.md b/docs/old/API_docs_v25/methods/index.md new file mode 100644 index 00000000..52cf4eac --- /dev/null +++ b/docs/old/API_docs_v25/methods/index.md @@ -0,0 +1,249 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPassword](account_setPassword.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[geochats_checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatPhoto](geochats_editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatTitle](geochats_editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_getFullChat](geochats_getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[geochats_getHistory](geochats_getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_getLocated](geochats_getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Located](../types/geochats_Located.md) + +$MadelineProto->[geochats_getRecents](geochats_getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_search](geochats_search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_sendMedia](geochats_sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_sendMessage](geochats_sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessages](../types/messages_StatedMessages.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$messages\_StatedMessage](../types/messages_StatedMessage.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) == [$messages\_SentMessage](../types/messages_SentMessage.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v25/methods/initConnection.md b/docs/old/API_docs_v25/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v25/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/invokeAfterMsg.md b/docs/old/API_docs_v25/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v25/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/invokeAfterMsgs.md b/docs/old/API_docs_v25/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v25/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/invokeWithLayer.md b/docs/old/API_docs_v25/methods/invokeWithLayer.md similarity index 100% rename from docs/API_docs_55/methods/invokeWithLayer.md rename to docs/old/API_docs_v25/methods/invokeWithLayer.md diff --git a/docs/old/API_docs_v25/methods/messages_acceptEncryption.md b/docs/old/API_docs_v25/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_addChatUser.md b/docs/old/API_docs_v25/methods/messages_addChatUser.md new file mode 100644 index 00000000..2cd377cf --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_createChat.md b/docs/old/API_docs_v25/methods/messages_createChat.md new file mode 100644 index 00000000..31f7e59a --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_deleteChatUser.md b/docs/old/API_docs_v25/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..341b15b7 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_deleteHistory.md b/docs/old/API_docs_v25/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_deleteMessages.md b/docs/old/API_docs_v25/methods/messages_deleteMessages.md similarity index 100% rename from docs/API_docs_46/methods/messages_deleteMessages.md rename to docs/old/API_docs_v25/methods/messages_deleteMessages.md diff --git a/docs/old/API_docs_v25/methods/messages_discardEncryption.md b/docs/old/API_docs_v25/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_editChatPhoto.md b/docs/old/API_docs_v25/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..12647209 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_editChatTitle.md b/docs/old/API_docs_v25/methods/messages_editChatTitle.md new file mode 100644 index 00000000..2f521795 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_forwardMessage.md b/docs/old/API_docs_v25/methods/messages_forwardMessage.md new file mode 100644 index 00000000..cc378270 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_forwardMessages.md b/docs/old/API_docs_v25/methods/messages_forwardMessages.md new file mode 100644 index 00000000..be9d16e7 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getAllStickers.md b/docs/old/API_docs_v25/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getChats.md b/docs/old/API_docs_v25/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getDhConfig.md b/docs/old/API_docs_v25/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getDialogs.md b/docs/old/API_docs_v25/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe2b4aea --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getDialogs.md @@ -0,0 +1,39 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getFullChat.md b/docs/old/API_docs_v25/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getHistory.md b/docs/old/API_docs_v25/methods/messages_getHistory.md new file mode 100644 index 00000000..6788ebd3 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_getMessages.md b/docs/old/API_docs_v25/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getStickers.md b/docs/old/API_docs_v25/methods/messages_getStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getStickers.md rename to docs/old/API_docs_v25/methods/messages_getStickers.md diff --git a/docs/old/API_docs_v25/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v25/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_readHistory.md b/docs/old/API_docs_v25/methods/messages_readHistory.md new file mode 100644 index 00000000..34f28811 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_readHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_readMessageContents.md b/docs/old/API_docs_v25/methods/messages_readMessageContents.md similarity index 100% rename from docs/API_docs_46/methods/messages_readMessageContents.md rename to docs/old/API_docs_v25/methods/messages_readMessageContents.md diff --git a/docs/old/API_docs_v25/methods/messages_receivedMessages.md b/docs/old/API_docs_v25/methods/messages_receivedMessages.md new file mode 100644 index 00000000..c4176cc4 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_receivedQueue.md b/docs/old/API_docs_v25/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_requestEncryption.md b/docs/old/API_docs_v25/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_search.md b/docs/old/API_docs_v25/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendBroadcast.md b/docs/old/API_docs_v25/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..6477927a --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessages](../types/messages_StatedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessages = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendEncrypted.md b/docs/old/API_docs_v25/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v25/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v25/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendMedia.md b/docs/old/API_docs_v25/methods/messages_sendMedia.md new file mode 100644 index 00000000..a13e2767 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendMedia.md @@ -0,0 +1,39 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [messages\_StatedMessage](../types/messages_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StatedMessage = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_sendMessage.md b/docs/old/API_docs_v25/methods/messages_sendMessage.md new file mode 100644 index 00000000..9bfbfae9 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_sendMessage.md @@ -0,0 +1,39 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v25/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/messages_setTyping.md b/docs/old/API_docs_v25/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v25/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/photos_deletePhotos.md b/docs/old/API_docs_v25/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v25/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/photos_getUserPhotos.md b/docs/old/API_docs_v25/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..463ca056 --- /dev/null +++ b/docs/old/API_docs_v25/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v25/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v25/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v25/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v25/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/updates_getDifference.md b/docs/old/API_docs_v25/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v25/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/updates_getState.md b/docs/old/API_docs_v25/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v25/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/upload_getFile.md b/docs/old/API_docs_v25/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v25/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v25/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v25/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/upload_saveFilePart.md b/docs/old/API_docs_v25/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v25/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/users_getFullUser.md b/docs/old/API_docs_v25/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v25/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/methods/users_getUsers.md b/docs/old/API_docs_v25/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v25/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/!X.md b/docs/old/API_docs_v25/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v25/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs_55/types/AccountDaysTTL.md b/docs/old/API_docs_v25/types/AccountDaysTTL.md similarity index 100% rename from docs/API_docs_55/types/AccountDaysTTL.md rename to docs/old/API_docs_v25/types/AccountDaysTTL.md diff --git a/docs/old/API_docs_v25/types/Audio.md b/docs/old/API_docs_v25/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v25/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Bool.md b/docs/old/API_docs_v25/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v25/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/Chat.md b/docs/old/API_docs_v25/types/Chat.md new file mode 100644 index 00000000..e02c846a --- /dev/null +++ b/docs/old/API_docs_v25/types/Chat.md @@ -0,0 +1,25 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[geoChat](../constructors/geoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ChatFull.md b/docs/old/API_docs_v25/types/ChatFull.md new file mode 100644 index 00000000..a63ad7e6 --- /dev/null +++ b/docs/old/API_docs_v25/types/ChatFull.md @@ -0,0 +1,19 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ChatLocated.md b/docs/old/API_docs_v25/types/ChatLocated.md new file mode 100644 index 00000000..c3009878 --- /dev/null +++ b/docs/old/API_docs_v25/types/ChatLocated.md @@ -0,0 +1,19 @@ +--- +title: ChatLocated +description: constructors and methods of type ChatLocated +--- +## Type: ChatLocated +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatLocated](../constructors/chatLocated.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ChatParticipant.md b/docs/old/API_docs_v25/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v25/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ChatParticipants.md b/docs/old/API_docs_v25/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v25/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ChatPhoto.md b/docs/old/API_docs_v25/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v25/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Config.md b/docs/old/API_docs_v25/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v25/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v25/types/Contact.md b/docs/old/API_docs_v25/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v25/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ContactBlocked.md b/docs/old/API_docs_v25/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v25/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ContactFound.md b/docs/old/API_docs_v25/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v25/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ContactLink.md b/docs/old/API_docs_v25/types/ContactLink.md similarity index 100% rename from docs/API_docs_46/types/ContactLink.md rename to docs/old/API_docs_v25/types/ContactLink.md diff --git a/docs/old/API_docs_v25/types/ContactStatus.md b/docs/old/API_docs_v25/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v25/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v25/types/ContactSuggested.md b/docs/old/API_docs_v25/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v25/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/DcOption.md b/docs/old/API_docs_v25/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v25/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Dialog.md b/docs/old/API_docs_v25/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v25/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/DisabledFeature.md b/docs/old/API_docs_v25/types/DisabledFeature.md similarity index 100% rename from docs/API_docs_55/types/DisabledFeature.md rename to docs/old/API_docs_v25/types/DisabledFeature.md diff --git a/docs/old/API_docs_v25/types/Document.md b/docs/old/API_docs_v25/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v25/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/DocumentAttribute.md b/docs/old/API_docs_v25/types/DocumentAttribute.md similarity index 100% rename from docs/API_docs_55/types/DocumentAttribute.md rename to docs/old/API_docs_v25/types/DocumentAttribute.md diff --git a/docs/old/API_docs_v25/types/EncryptedChat.md b/docs/old/API_docs_v25/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v25/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v25/types/EncryptedFile.md b/docs/old/API_docs_v25/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v25/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/EncryptedMessage.md b/docs/old/API_docs_v25/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v25/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Error.md b/docs/old/API_docs_v25/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v25/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/FileLocation.md b/docs/old/API_docs_v25/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v25/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/GeoChatMessage.md b/docs/old/API_docs_v25/types/GeoChatMessage.md new file mode 100644 index 00000000..4e3d3d37 --- /dev/null +++ b/docs/old/API_docs_v25/types/GeoChatMessage.md @@ -0,0 +1,23 @@ +--- +title: GeoChatMessage +description: constructors and methods of type GeoChatMessage +--- +## Type: GeoChatMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) + +[geoChatMessage](../constructors/geoChatMessage.md) + +[geoChatMessageService](../constructors/geoChatMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/GeoPoint.md b/docs/old/API_docs_v25/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v25/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/ImportedContact.md b/docs/old/API_docs_v25/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v25/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputAppEvent.md b/docs/old/API_docs_v25/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputAudio.md b/docs/old/API_docs_v25/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v25/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputChatPhoto.md b/docs/old/API_docs_v25/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputContact.md b/docs/old/API_docs_v25/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputDocument.md b/docs/old/API_docs_v25/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputEncryptedChat.md b/docs/old/API_docs_v25/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputEncryptedFile.md b/docs/old/API_docs_v25/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputFile.md b/docs/old/API_docs_v25/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputFileLocation.md b/docs/old/API_docs_v25/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v25/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputGeoChat.md b/docs/old/API_docs_v25/types/InputGeoChat.md new file mode 100644 index 00000000..51c98288 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputGeoChat.md @@ -0,0 +1,19 @@ +--- +title: InputGeoChat +description: constructors and methods of type InputGeoChat +--- +## Type: InputGeoChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoChat](../constructors/inputGeoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputGeoPoint.md b/docs/old/API_docs_v25/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputMedia.md b/docs/old/API_docs_v25/types/InputMedia.md new file mode 100644 index 00000000..91dacd19 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputMedia.md @@ -0,0 +1,43 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputNotifyPeer.md b/docs/old/API_docs_v25/types/InputNotifyPeer.md new file mode 100644 index 00000000..b3c22f62 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputNotifyPeer.md @@ -0,0 +1,27 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + +[inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPeer.md b/docs/old/API_docs_v25/types/InputPeer.md new file mode 100644 index 00000000..c694639e --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerContact](../constructors/inputPeerContact.md) + +[inputPeerForeign](../constructors/inputPeerForeign.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v25/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPeerNotifySettings.md b/docs/old/API_docs_v25/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPhoto.md b/docs/old/API_docs_v25/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPhotoCrop.md b/docs/old/API_docs_v25/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputPrivacyKey.md b/docs/old/API_docs_v25/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v25/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputPrivacyRule.md b/docs/old/API_docs_v25/types/InputPrivacyRule.md similarity index 100% rename from docs/API_docs_55/types/InputPrivacyRule.md rename to docs/old/API_docs_v25/types/InputPrivacyRule.md diff --git a/docs/old/API_docs_v25/types/InputUser.md b/docs/old/API_docs_v25/types/InputUser.md new file mode 100644 index 00000000..fb5f01eb --- /dev/null +++ b/docs/old/API_docs_v25/types/InputUser.md @@ -0,0 +1,25 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUserContact](../constructors/inputUserContact.md) + +[inputUserForeign](../constructors/inputUserForeign.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/InputVideo.md b/docs/old/API_docs_v25/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v25/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Message.md b/docs/old/API_docs_v25/types/Message.md similarity index 100% rename from docs/API_docs_55/types/Message.md rename to docs/old/API_docs_v25/types/Message.md diff --git a/docs/old/API_docs_v25/types/MessageAction.md b/docs/old/API_docs_v25/types/MessageAction.md new file mode 100644 index 00000000..50055878 --- /dev/null +++ b/docs/old/API_docs_v25/types/MessageAction.md @@ -0,0 +1,35 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) + +[messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/MessageMedia.md b/docs/old/API_docs_v25/types/MessageMedia.md new file mode 100644 index 00000000..2059f46b --- /dev/null +++ b/docs/old/API_docs_v25/types/MessageMedia.md @@ -0,0 +1,33 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/MessagesFilter.md b/docs/old/API_docs_v25/types/MessagesFilter.md new file mode 100644 index 00000000..52d33dc8 --- /dev/null +++ b/docs/old/API_docs_v25/types/MessagesFilter.md @@ -0,0 +1,31 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/NearestDc.md b/docs/old/API_docs_v25/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v25/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v25/types/NotifyPeer.md b/docs/old/API_docs_v25/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v25/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Null.md b/docs/old/API_docs_v25/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v25/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Peer.md b/docs/old/API_docs_v25/types/Peer.md new file mode 100644 index 00000000..85fc991d --- /dev/null +++ b/docs/old/API_docs_v25/types/Peer.md @@ -0,0 +1,21 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/PeerNotifyEvents.md b/docs/old/API_docs_v25/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v25/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/PeerNotifySettings.md b/docs/old/API_docs_v25/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v25/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v25/types/Photo.md b/docs/old/API_docs_v25/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v25/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/PhotoSize.md b/docs/old/API_docs_v25/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v25/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/PrivacyKey.md b/docs/old/API_docs_v25/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v25/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/PrivacyRule.md b/docs/old/API_docs_v25/types/PrivacyRule.md similarity index 100% rename from docs/API_docs_55/types/PrivacyRule.md rename to docs/old/API_docs_v25/types/PrivacyRule.md diff --git a/docs/old/API_docs_v25/types/SendMessageAction.md b/docs/old/API_docs_v25/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v25/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/StickerPack.md b/docs/old/API_docs_v25/types/StickerPack.md similarity index 100% rename from docs/API_docs_55/types/StickerPack.md rename to docs/old/API_docs_v25/types/StickerPack.md diff --git a/docs/old/API_docs_v25/types/Update.md b/docs/old/API_docs_v25/types/Update.md new file mode 100644 index 00000000..15ec3687 --- /dev/null +++ b/docs/old/API_docs_v25/types/Update.md @@ -0,0 +1,73 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateReadMessages](../constructors/updateReadMessages.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Updates.md b/docs/old/API_docs_v25/types/Updates.md new file mode 100644 index 00000000..0284bdd7 --- /dev/null +++ b/docs/old/API_docs_v25/types/Updates.md @@ -0,0 +1,29 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/User.md b/docs/old/API_docs_v25/types/User.md new file mode 100644 index 00000000..e9e2e34e --- /dev/null +++ b/docs/old/API_docs_v25/types/User.md @@ -0,0 +1,41 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[userSelf](../constructors/userSelf.md) + +[userContact](../constructors/userContact.md) + +[userRequest](../constructors/userRequest.md) + +[userForeign](../constructors/userForeign.md) + +[userDeleted](../constructors/userDeleted.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v25/types/UserFull.md b/docs/old/API_docs_v25/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v25/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v25/types/UserProfilePhoto.md b/docs/old/API_docs_v25/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v25/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/API_docs_55/types/UserStatus.md b/docs/old/API_docs_v25/types/UserStatus.md similarity index 100% rename from docs/API_docs_55/types/UserStatus.md rename to docs/old/API_docs_v25/types/UserStatus.md diff --git a/docs/old/API_docs_v25/types/Vector t.md b/docs/old/API_docs_v25/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v25/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/Video.md b/docs/old/API_docs_v25/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v25/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/WallPaper.md b/docs/old/API_docs_v25/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v25/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v25/types/X.md b/docs/old/API_docs_v25/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v25/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs_46/types/account_Password.md b/docs/old/API_docs_v25/types/account_Password.md similarity index 100% rename from docs/API_docs_46/types/account_Password.md rename to docs/old/API_docs_v25/types/account_Password.md diff --git a/docs/API_docs_55/types/account_PrivacyRules.md b/docs/old/API_docs_v25/types/account_PrivacyRules.md similarity index 100% rename from docs/API_docs_55/types/account_PrivacyRules.md rename to docs/old/API_docs_v25/types/account_PrivacyRules.md diff --git a/docs/old/API_docs_v25/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v25/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v25/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v25/types/auth_Authorization.md b/docs/old/API_docs_v25/types/auth_Authorization.md new file mode 100644 index 00000000..ece2ceef --- /dev/null +++ b/docs/old/API_docs_v25/types/auth_Authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + + + diff --git a/docs/old/API_docs_v25/types/auth_CheckedPhone.md b/docs/old/API_docs_v25/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v25/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v25/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v25/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v25/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v25/types/auth_SentCode.md b/docs/old/API_docs_v25/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v25/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v25/types/bytes.md b/docs/old/API_docs_v25/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v25/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/contacts_Blocked.md b/docs/old/API_docs_v25/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v25/types/contacts_Contacts.md b/docs/old/API_docs_v25/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v25/types/contacts_Found.md b/docs/old/API_docs_v25/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v25/types/contacts_ImportedContacts.md b/docs/old/API_docs_v25/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v25/types/contacts_Link.md b/docs/old/API_docs_v25/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v25/types/contacts_Suggested.md b/docs/old/API_docs_v25/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v25/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v25/types/double.md b/docs/old/API_docs_v25/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v25/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/geochats_Located.md b/docs/old/API_docs_v25/types/geochats_Located.md new file mode 100644 index 00000000..64662c10 --- /dev/null +++ b/docs/old/API_docs_v25/types/geochats_Located.md @@ -0,0 +1,21 @@ +--- +title: geochats_Located +description: constructors and methods of type geochats_Located +--- +## Type: geochats\_Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_located](../constructors/geochats_located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) + + + diff --git a/docs/old/API_docs_v25/types/geochats_Messages.md b/docs/old/API_docs_v25/types/geochats_Messages.md new file mode 100644 index 00000000..ec03bc3f --- /dev/null +++ b/docs/old/API_docs_v25/types/geochats_Messages.md @@ -0,0 +1,27 @@ +--- +title: geochats_Messages +description: constructors and methods of type geochats_Messages +--- +## Type: geochats\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_messages](../constructors/geochats_messages.md) + +[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats_search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) + + + diff --git a/docs/old/API_docs_v25/types/geochats_StatedMessage.md b/docs/old/API_docs_v25/types/geochats_StatedMessage.md new file mode 100644 index 00000000..8bb77081 --- /dev/null +++ b/docs/old/API_docs_v25/types/geochats_StatedMessage.md @@ -0,0 +1,31 @@ +--- +title: geochats_StatedMessage +description: constructors and methods of type geochats_StatedMessage +--- +## Type: geochats\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_statedMessage](../constructors/geochats_statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) + + + diff --git a/docs/old/API_docs_v25/types/help_AppUpdate.md b/docs/old/API_docs_v25/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v25/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v25/types/help_InviteText.md b/docs/old/API_docs_v25/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v25/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v25/types/help_Support.md b/docs/old/API_docs_v25/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v25/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v25/types/index.md b/docs/old/API_docs_v25/types/index.md new file mode 100644 index 00000000..1a1c7972 --- /dev/null +++ b/docs/old/API_docs_v25/types/index.md @@ -0,0 +1,244 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Bool](Bool.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatLocated](ChatLocated.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[FileLocation](FileLocation.md) + +[GeoChatMessage](GeoChatMessage.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoChat](InputGeoChat.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageMedia](MessageMedia.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[X](X.md) + +[account\_Password](account_Password.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[geochats\_Located](geochats_Located.md) + +[geochats\_Messages](geochats_Messages.md) + +[geochats\_StatedMessage](geochats_StatedMessage.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Message](messages_Message.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_SentMessage](messages_SentMessage.md) + +[messages\_StatedMessage](messages_StatedMessage.md) + +[messages\_StatedMessages](messages_StatedMessages.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v25/types/int.md b/docs/old/API_docs_v25/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v25/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/int128.md b/docs/old/API_docs_v25/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v25/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/int256.md b/docs/old/API_docs_v25/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v25/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/int512.md b/docs/old/API_docs_v25/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v25/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/long.md b/docs/old/API_docs_v25/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v25/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/messages_AffectedHistory.md b/docs/old/API_docs_v25/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_AffectedMessages.md b/docs/old/API_docs_v25/types/messages_AffectedMessages.md new file mode 100644 index 00000000..1c96de40 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_AffectedMessages.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + + + diff --git a/docs/API_docs_55/types/messages_AllStickers.md b/docs/old/API_docs_v25/types/messages_AllStickers.md similarity index 100% rename from docs/API_docs_55/types/messages_AllStickers.md rename to docs/old/API_docs_v25/types/messages_AllStickers.md diff --git a/docs/old/API_docs_v25/types/messages_ChatFull.md b/docs/old/API_docs_v25/types/messages_ChatFull.md new file mode 100644 index 00000000..a866cab1 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_Chats.md b/docs/old/API_docs_v25/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_DhConfig.md b/docs/old/API_docs_v25/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_Dialogs.md b/docs/old/API_docs_v25/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_Message.md b/docs/old/API_docs_v25/types/messages_Message.md new file mode 100644 index 00000000..1c5384d0 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_Message.md @@ -0,0 +1,19 @@ +--- +title: messages_Message +description: constructors and methods of type messages_Message +--- +## Type: messages\_Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messageEmpty](../constructors/messages_messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/messages_Messages.md b/docs/old/API_docs_v25/types/messages_Messages.md new file mode 100644 index 00000000..e47583e2 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_Messages.md @@ -0,0 +1,27 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v25/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_SentMessage.md b/docs/old/API_docs_v25/types/messages_SentMessage.md new file mode 100644 index 00000000..83f798e2 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_SentMessage.md @@ -0,0 +1,23 @@ +--- +title: messages_SentMessage +description: constructors and methods of type messages_SentMessage +--- +## Type: messages\_SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentMessage](../constructors/messages_sentMessage.md) + +[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_StatedMessage.md b/docs/old/API_docs_v25/types/messages_StatedMessage.md new file mode 100644 index 00000000..3d771cf7 --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_StatedMessage.md @@ -0,0 +1,35 @@ +--- +title: messages_StatedMessage +description: constructors and methods of type messages_StatedMessage +--- +## Type: messages\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessage](../constructors/messages_statedMessage.md) + +[messages\_statedMessageLink](../constructors/messages_statedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + + + diff --git a/docs/old/API_docs_v25/types/messages_StatedMessages.md b/docs/old/API_docs_v25/types/messages_StatedMessages.md new file mode 100644 index 00000000..72f718ab --- /dev/null +++ b/docs/old/API_docs_v25/types/messages_StatedMessages.md @@ -0,0 +1,25 @@ +--- +title: messages_StatedMessages +description: constructors and methods of type messages_StatedMessages +--- +## Type: messages\_StatedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_statedMessages](../constructors/messages_statedMessages.md) + +[messages\_statedMessagesLinks](../constructors/messages_statedMessagesLinks.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + + + diff --git a/docs/API_docs_55/types/messages_Stickers.md b/docs/old/API_docs_v25/types/messages_Stickers.md similarity index 100% rename from docs/API_docs_55/types/messages_Stickers.md rename to docs/old/API_docs_v25/types/messages_Stickers.md diff --git a/docs/old/API_docs_v25/types/photos_Photo.md b/docs/old/API_docs_v25/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v25/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v25/types/photos_Photos.md b/docs/old/API_docs_v25/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v25/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v25/types/storage_FileType.md b/docs/old/API_docs_v25/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v25/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v25/types/string.md b/docs/old/API_docs_v25/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v25/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v25/types/updates_Difference.md b/docs/old/API_docs_v25/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v25/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v25/types/updates_State.md b/docs/old/API_docs_v25/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v25/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v25/types/upload_File.md b/docs/old/API_docs_v25/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v25/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v27/constructors/accountDaysTTL.md b/docs/old/API_docs_v27/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_authorizations.md b/docs/old/API_docs_v27/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_noPassword.md b/docs/old/API_docs_v27/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_password.md b/docs/old/API_docs_v27/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v27/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_passwordSettings.md b/docs/old/API_docs_v27/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_privacyRules.md b/docs/old/API_docs_v27/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v27/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/audio.md b/docs/old/API_docs_v27/constructors/audio.md new file mode 100644 index 00000000..3bd5954b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/audio.md @@ -0,0 +1,33 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/audioEmpty.md b/docs/old/API_docs_v27/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_authorization.md b/docs/old/API_docs_v27/constructors/auth_authorization.md new file mode 100644 index 00000000..68be6aee --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'expires' => int, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_checkedPhone.md b/docs/old/API_docs_v27/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v27/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v27/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_sentAppCode.md b/docs/old/API_docs_v27/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/auth_sentCode.md b/docs/old/API_docs_v27/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/authorization.md b/docs/old/API_docs_v27/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/boolFalse.md b/docs/old/API_docs_v27/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/boolTrue.md b/docs/old/API_docs_v27/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/chat.md b/docs/old/API_docs_v27/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/chatEmpty.md b/docs/old/API_docs_v27/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/chatForbidden.md b/docs/old/API_docs_v27/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/chatFull.md b/docs/old/API_docs_v27/constructors/chatFull.md new file mode 100644 index 00000000..c4bb6905 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatFull.md @@ -0,0 +1,29 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatLocated.md b/docs/old/API_docs_v27/constructors/chatLocated.md new file mode 100644 index 00000000..1815881a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatLocated.md @@ -0,0 +1,27 @@ +--- +title: chatLocated +description: chatLocated attributes, type and example +--- +## Constructor: chatLocated +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|distance|[int](../types/int.md) | Required| + + + +### Type: [ChatLocated](../types/ChatLocated.md) + + +### Example: + +``` +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatParticipant.md b/docs/old/API_docs_v27/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatParticipants.md b/docs/old/API_docs_v27/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v27/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatPhoto.md b/docs/old/API_docs_v27/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v27/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/config.md b/docs/old/API_docs_v27/constructors/config.md new file mode 100644 index 00000000..d02fc8fe --- /dev/null +++ b/docs/old/API_docs_v27/constructors/config.md @@ -0,0 +1,41 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contact.md b/docs/old/API_docs_v27/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactBlocked.md b/docs/old/API_docs_v27/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactFound.md b/docs/old/API_docs_v27/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactLinkContact.md b/docs/old/API_docs_v27/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v27/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactLinkNone.md b/docs/old/API_docs_v27/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactLinkUnknown.md b/docs/old/API_docs_v27/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactStatus.md b/docs/old/API_docs_v27/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contactSuggested.md b/docs/old/API_docs_v27/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_blocked.md b/docs/old/API_docs_v27/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v27/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_contacts.md b/docs/old/API_docs_v27/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v27/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_found.md b/docs/old/API_docs_v27/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_importedContacts.md b/docs/old/API_docs_v27/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_link.md b/docs/old/API_docs_v27/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/contacts_suggested.md b/docs/old/API_docs_v27/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/dcOption.md b/docs/old/API_docs_v27/constructors/dcOption.md new file mode 100644 index 00000000..bdee0251 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/dcOption.md @@ -0,0 +1,29 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|hostname|[string](../types/string.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'hostname' => string, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/dialog.md b/docs/old/API_docs_v27/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/disabledFeature.md b/docs/old/API_docs_v27/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/document.md b/docs/old/API_docs_v27/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v27/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeAudio.md b/docs/old/API_docs_v27/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..b558d4f0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeAudio.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeFilename.md b/docs/old/API_docs_v27/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v27/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeSticker.md b/docs/old/API_docs_v27/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..bdaa73f6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeSticker.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentAttributeVideo.md b/docs/old/API_docs_v27/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/documentEmpty.md b/docs/old/API_docs_v27/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedChat.md b/docs/old/API_docs_v27/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v27/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v27/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedChatRequested.md b/docs/old/API_docs_v27/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v27/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedFile.md b/docs/old/API_docs_v27/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v27/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedMessage.md b/docs/old/API_docs_v27/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/encryptedMessageService.md b/docs/old/API_docs_v27/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/error.md b/docs/old/API_docs_v27/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/fileLocation.md b/docs/old/API_docs_v27/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v27/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geoChat.md b/docs/old/API_docs_v27/constructors/geoChat.md new file mode 100644 index 00000000..507e62c3 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoChat.md @@ -0,0 +1,49 @@ +--- +title: geoChat +description: geoChat attributes, type and example +--- +## Constructor: geoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|checked\_in|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$geoChat = '@username'; // Username + +$geoChat = 44700; // bot API id (users) +$geoChat = -492772765; // bot API id (chats) +$geoChat = -10038575794; // bot API id (channels) + +$geoChat = 'user#44700'; // tg-cli style id (users) +$geoChat = 'chat#492772765'; // tg-cli style id (chats) +$geoChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/geoChatMessage.md b/docs/old/API_docs_v27/constructors/geoChatMessage.md new file mode 100644 index 00000000..28985e8d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoChatMessage.md @@ -0,0 +1,31 @@ +--- +title: geoChatMessage +description: geoChatMessage attributes, type and example +--- +## Constructor: geoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geoChatMessageEmpty.md b/docs/old/API_docs_v27/constructors/geoChatMessageEmpty.md new file mode 100644 index 00000000..0ff9a47b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoChatMessageEmpty.md @@ -0,0 +1,27 @@ +--- +title: geoChatMessageEmpty +description: geoChatMessageEmpty attributes, type and example +--- +## Constructor: geoChatMessageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geoChatMessageService.md b/docs/old/API_docs_v27/constructors/geoChatMessageService.md new file mode 100644 index 00000000..faf75db6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoChatMessageService.md @@ -0,0 +1,30 @@ +--- +title: geoChatMessageService +description: geoChatMessageService attributes, type and example +--- +## Constructor: geoChatMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geoPoint.md b/docs/old/API_docs_v27/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geoPointEmpty.md b/docs/old/API_docs_v27/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geochats_located.md b/docs/old/API_docs_v27/constructors/geochats_located.md new file mode 100644 index 00000000..30a7c3cb --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geochats_located.md @@ -0,0 +1,29 @@ +--- +title: geochats_located +description: geochats_located attributes, type and example +--- +## Constructor: geochats\_located +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Located](../types/geochats_Located.md) + + +### Example: + +``` +$geochats_located = ['_' => 'geochats_located', 'results' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geochats_messages.md b/docs/old/API_docs_v27/constructors/geochats_messages.md new file mode 100644 index 00000000..ada3b34e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geochats_messages.md @@ -0,0 +1,28 @@ +--- +title: geochats_messages +description: geochats_messages attributes, type and example +--- +## Constructor: geochats\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messages = ['_' => 'geochats_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geochats_messagesSlice.md b/docs/old/API_docs_v27/constructors/geochats_messagesSlice.md new file mode 100644 index 00000000..f2e904c4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geochats_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: geochats_messagesSlice +description: geochats_messagesSlice attributes, type and example +--- +## Constructor: geochats\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messagesSlice = ['_' => 'geochats_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/geochats_statedMessage.md b/docs/old/API_docs_v27/constructors/geochats_statedMessage.md new file mode 100644 index 00000000..f5c6ae91 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/geochats_statedMessage.md @@ -0,0 +1,29 @@ +--- +title: geochats_statedMessage +description: geochats_statedMessage attributes, type and example +--- +## Constructor: geochats\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + + +### Example: + +``` +$geochats_statedMessage = ['_' => 'geochats_statedMessage', 'message' => GeoChatMessage, 'chats' => [Vector t], 'users' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/help_appUpdate.md b/docs/old/API_docs_v27/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v27/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/help_inviteText.md b/docs/old/API_docs_v27/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/help_noAppUpdate.md b/docs/old/API_docs_v27/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/help_support.md b/docs/old/API_docs_v27/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/importedContact.md b/docs/old/API_docs_v27/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/index.md b/docs/old/API_docs_v27/constructors/index.md new file mode 100644 index 00000000..eecdffe5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/index.md @@ -0,0 +1,883 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['expires' => [int](../types/int.md), 'user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$chatLocated](../constructors/chatLocated.md) = \['chat_id' => [int](../types/int.md), 'distance' => [int](../types/int.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'hostname' => [string](../types/string.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoChat](../constructors/geoChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'checked_in' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$geoChatMessage](../constructors/geoChatMessage.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \]; + +*** +

[$geoChatMessageService](../constructors/geoChatMessageService.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; + +*** +

[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoChat](../constructors/inputGeoChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) = \['peer' => [InputGeoChat](../types/InputGeoChat.md), \]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerContact](../constructors/inputPeerContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerForeign](../constructors/inputPeerForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputUserContact](../constructors/inputUserContact.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserForeign](../constructors/inputUserForeign.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) = \[\]; + +*** +

[$messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) = \['title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'seq' => [int](../types/int.md), \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \[\]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \[\]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \[\]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \[\]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessages](../constructors/updateReadMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$userContact](../constructors/userContact.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userDeleted](../constructors/userDeleted.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userForeign](../constructors/userForeign.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'real_first_name' => [string](../types/string.md), 'real_last_name' => [string](../types/string.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userRequest](../constructors/userRequest.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userSelf](../constructors/userSelf.md) = \['id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v27/constructors/inputAppEvent.md b/docs/old/API_docs_v27/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputAudio.md b/docs/old/API_docs_v27/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputAudioEmpty.md b/docs/old/API_docs_v27/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v27/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputChatPhoto.md b/docs/old/API_docs_v27/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v27/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v27/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputDocument.md b/docs/old/API_docs_v27/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v27/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v27/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedChat.md b/docs/old/API_docs_v27/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedFile.md b/docs/old/API_docs_v27/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v27/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v27/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v27/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputFile.md b/docs/old/API_docs_v27/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputFileBig.md b/docs/old/API_docs_v27/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputFileLocation.md b/docs/old/API_docs_v27/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputGeoChat.md b/docs/old/API_docs_v27/constructors/inputGeoChat.md new file mode 100644 index 00000000..bc0ac858 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputGeoChat.md @@ -0,0 +1,27 @@ +--- +title: inputGeoChat +description: inputGeoChat attributes, type and example +--- +## Constructor: inputGeoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputGeoChat](../types/InputGeoChat.md) + + +### Example: + +``` +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputGeoPoint.md b/docs/old/API_docs_v27/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v27/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaAudio.md b/docs/old/API_docs_v27/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaContact.md b/docs/old/API_docs_v27/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaDocument.md b/docs/old/API_docs_v27/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaEmpty.md b/docs/old/API_docs_v27/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v27/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaPhoto.md b/docs/old/API_docs_v27/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..9c14f4d9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..231928d3 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,26 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..9e8bbc70 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v27/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..c877c6a1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMediaVideo.md b/docs/old/API_docs_v27/constructors/inputMediaVideo.md new file mode 100644 index 00000000..93b7b56e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v27/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputNotifyAll.md b/docs/old/API_docs_v27/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputNotifyChats.md b/docs/old/API_docs_v27/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputNotifyGeoChatPeer.md b/docs/old/API_docs_v27/constructors/inputNotifyGeoChatPeer.md new file mode 100644 index 00000000..0bd702d1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputNotifyGeoChatPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyGeoChatPeer +description: inputNotifyGeoChatPeer attributes, type and example +--- +## Constructor: inputNotifyGeoChatPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputNotifyPeer.md b/docs/old/API_docs_v27/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputNotifyUsers.md b/docs/old/API_docs_v27/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPeerChat.md b/docs/old/API_docs_v27/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputPeerContact.md b/docs/old/API_docs_v27/constructors/inputPeerContact.md new file mode 100644 index 00000000..58501d74 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerContact.md @@ -0,0 +1,39 @@ +--- +title: inputPeerContact +description: inputPeerContact attributes, type and example +--- +## Constructor: inputPeerContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerContact = ['_' => 'inputPeerContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerContact = '@username'; // Username + +$inputPeerContact = 44700; // bot API id (users) +$inputPeerContact = -492772765; // bot API id (chats) +$inputPeerContact = -10038575794; // bot API id (channels) + +$inputPeerContact = 'user#44700'; // tg-cli style id (users) +$inputPeerContact = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputPeerEmpty.md b/docs/old/API_docs_v27/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputPeerForeign.md b/docs/old/API_docs_v27/constructors/inputPeerForeign.md new file mode 100644 index 00000000..2b839024 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerForeign.md @@ -0,0 +1,40 @@ +--- +title: inputPeerForeign +description: inputPeerForeign attributes, type and example +--- +## Constructor: inputPeerForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerForeign = ['_' => 'inputPeerForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerForeign = '@username'; // Username + +$inputPeerForeign = 44700; // bot API id (users) +$inputPeerForeign = -492772765; // bot API id (chats) +$inputPeerForeign = -10038575794; // bot API id (channels) + +$inputPeerForeign = 'user#44700'; // tg-cli style id (users) +$inputPeerForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v27/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPeerSelf.md b/docs/old/API_docs_v27/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputPhoneContact.md b/docs/old/API_docs_v27/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPhoto.md b/docs/old/API_docs_v27/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPhotoCrop.md b/docs/old/API_docs_v27/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v27/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v27/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputUserContact.md b/docs/old/API_docs_v27/constructors/inputUserContact.md new file mode 100644 index 00000000..afd37c2d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputUserContact.md @@ -0,0 +1,39 @@ +--- +title: inputUserContact +description: inputUserContact attributes, type and example +--- +## Constructor: inputUserContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserContact = '@username'; // Username + +$inputUserContact = 44700; // bot API id (users) +$inputUserContact = -492772765; // bot API id (chats) +$inputUserContact = -10038575794; // bot API id (channels) + +$inputUserContact = 'user#44700'; // tg-cli style id (users) +$inputUserContact = 'chat#492772765'; // tg-cli style id (chats) +$inputUserContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputUserEmpty.md b/docs/old/API_docs_v27/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputUserForeign.md b/docs/old/API_docs_v27/constructors/inputUserForeign.md new file mode 100644 index 00000000..26b0c8a9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputUserForeign.md @@ -0,0 +1,40 @@ +--- +title: inputUserForeign +description: inputUserForeign attributes, type and example +--- +## Constructor: inputUserForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserForeign = ['_' => 'inputUserForeign', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserForeign = '@username'; // Username + +$inputUserForeign = 44700; // bot API id (users) +$inputUserForeign = -492772765; // bot API id (chats) +$inputUserForeign = -10038575794; // bot API id (channels) + +$inputUserForeign = 'user#44700'; // tg-cli style id (users) +$inputUserForeign = 'chat#492772765'; // tg-cli style id (chats) +$inputUserForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputUserSelf.md b/docs/old/API_docs_v27/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/inputVideo.md b/docs/old/API_docs_v27/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputVideoEmpty.md b/docs/old/API_docs_v27/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v27/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v27/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/message.md b/docs/old/API_docs_v27/constructors/message.md new file mode 100644 index 00000000..5441d5e9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/message.md @@ -0,0 +1,34 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v27/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatCreate.md b/docs/old/API_docs_v27/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v27/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v27/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v27/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v27/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionEmpty.md b/docs/old/API_docs_v27/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionGeoChatCheckin.md b/docs/old/API_docs_v27/constructors/messageActionGeoChatCheckin.md new file mode 100644 index 00000000..79bd9834 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionGeoChatCheckin.md @@ -0,0 +1,21 @@ +--- +title: messageActionGeoChatCheckin +description: messageActionGeoChatCheckin attributes, type and example +--- +## Constructor: messageActionGeoChatCheckin +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageActionGeoChatCreate.md b/docs/old/API_docs_v27/constructors/messageActionGeoChatCreate.md new file mode 100644 index 00000000..755430ec --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageActionGeoChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionGeoChatCreate +description: messageActionGeoChatCreate attributes, type and example +--- +## Constructor: messageActionGeoChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageEmpty.md b/docs/old/API_docs_v27/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaAudio.md b/docs/old/API_docs_v27/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaContact.md b/docs/old/API_docs_v27/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaDocument.md b/docs/old/API_docs_v27/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaEmpty.md b/docs/old/API_docs_v27/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaGeo.md b/docs/old/API_docs_v27/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaPhoto.md b/docs/old/API_docs_v27/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..147f13a9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v27/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaVideo.md b/docs/old/API_docs_v27/constructors/messageMediaVideo.md new file mode 100644 index 00000000..70c81ff1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaVideo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageMediaWebPage.md b/docs/old/API_docs_v27/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messageService.md b/docs/old/API_docs_v27/constructors/messageService.md new file mode 100644 index 00000000..cd3d9c43 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_affectedHistory.md b/docs/old/API_docs_v27/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_affectedMessages.md b/docs/old/API_docs_v27/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_allStickers.md b/docs/old/API_docs_v27/constructors/messages_allStickers.md new file mode 100644 index 00000000..aec76594 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_allStickers.md @@ -0,0 +1,28 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v27/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_chatFull.md b/docs/old/API_docs_v27/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_chats.md b/docs/old/API_docs_v27/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_dhConfig.md b/docs/old/API_docs_v27/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v27/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_dialogs.md b/docs/old/API_docs_v27/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v27/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_messageEmpty.md b/docs/old/API_docs_v27/constructors/messages_messageEmpty.md new file mode 100644 index 00000000..07c70633 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_messageEmpty.md @@ -0,0 +1,21 @@ +--- +title: messages_messageEmpty +description: messages_messageEmpty attributes, type and example +--- +## Constructor: messages\_messageEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Message](../types/messages_Message.md) + + +### Example: + +``` +$messages_messageEmpty = ['_' => 'messages_messageEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_messages.md b/docs/old/API_docs_v27/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_messagesSlice.md b/docs/old/API_docs_v27/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v27/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v27/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_sentMessage.md b/docs/old/API_docs_v27/constructors/messages_sentMessage.md new file mode 100644 index 00000000..318fe54c --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_sentMessage.md @@ -0,0 +1,30 @@ +--- +title: messages_sentMessage +description: messages_sentMessage attributes, type and example +--- +## Constructor: messages\_sentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessage = ['_' => 'messages_sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_sentMessageLink.md b/docs/old/API_docs_v27/constructors/messages_sentMessageLink.md new file mode 100644 index 00000000..4e1fb89e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_sentMessageLink.md @@ -0,0 +1,32 @@ +--- +title: messages_sentMessageLink +description: messages_sentMessageLink attributes, type and example +--- +## Constructor: messages\_sentMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessageLink = ['_' => 'messages_sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_stickers.md b/docs/old/API_docs_v27/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v27/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v27/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/nearestDc.md b/docs/old/API_docs_v27/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/notifyAll.md b/docs/old/API_docs_v27/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/notifyChats.md b/docs/old/API_docs_v27/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/notifyPeer.md b/docs/old/API_docs_v27/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/notifyUsers.md b/docs/old/API_docs_v27/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v27/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/null.md b/docs/old/API_docs_v27/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/peerChat.md b/docs/old/API_docs_v27/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v27/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v27/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/peerNotifySettings.md b/docs/old/API_docs_v27/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v27/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/peerUser.md b/docs/old/API_docs_v27/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/photo.md b/docs/old/API_docs_v27/constructors/photo.md new file mode 100644 index 00000000..9d7860f8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photo.md @@ -0,0 +1,32 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photoCachedSize.md b/docs/old/API_docs_v27/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photoEmpty.md b/docs/old/API_docs_v27/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photoSize.md b/docs/old/API_docs_v27/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photoSizeEmpty.md b/docs/old/API_docs_v27/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photos_photo.md b/docs/old/API_docs_v27/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photos_photos.md b/docs/old/API_docs_v27/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/photos_photosSlice.md b/docs/old/API_docs_v27/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v27/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v27/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v27/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v27/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v27/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v27/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v27/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v27/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v27/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v27/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v27/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v27/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v27/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v27/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..618dccf7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v27/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..ef61443e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v27/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..613cc558 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v27/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..219cc957 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/stickerPack.md b/docs/old/API_docs_v27/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileGif.md b/docs/old/API_docs_v27/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileJpeg.md b/docs/old/API_docs_v27/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileMov.md b/docs/old/API_docs_v27/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileMp3.md b/docs/old/API_docs_v27/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileMp4.md b/docs/old/API_docs_v27/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_filePartial.md b/docs/old/API_docs_v27/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_filePdf.md b/docs/old/API_docs_v27/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_filePng.md b/docs/old/API_docs_v27/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileUnknown.md b/docs/old/API_docs_v27/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/storage_fileWebp.md b/docs/old/API_docs_v27/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v27/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v27/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateChatParticipants.md b/docs/old/API_docs_v27/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateChatUserTyping.md b/docs/old/API_docs_v27/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateContactLink.md b/docs/old/API_docs_v27/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateContactRegistered.md b/docs/old/API_docs_v27/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateDcOptions.md b/docs/old/API_docs_v27/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateDeleteMessages.md b/docs/old/API_docs_v27/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v27/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v27/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateEncryption.md b/docs/old/API_docs_v27/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateMessageID.md b/docs/old/API_docs_v27/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateNewAuthorization.md b/docs/old/API_docs_v27/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v27/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateNewGeoChatMessage.md b/docs/old/API_docs_v27/constructors/updateNewGeoChatMessage.md new file mode 100644 index 00000000..ab1bf47f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateNewGeoChatMessage.md @@ -0,0 +1,26 @@ +--- +title: updateNewGeoChatMessage +description: updateNewGeoChatMessage attributes, type and example +--- +## Constructor: updateNewGeoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateNewMessage.md b/docs/old/API_docs_v27/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateNotifySettings.md b/docs/old/API_docs_v27/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updatePrivacy.md b/docs/old/API_docs_v27/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v27/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v27/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateReadMessages.md b/docs/old/API_docs_v27/constructors/updateReadMessages.md new file mode 100644 index 00000000..8fbefd6d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateReadMessages.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessages +description: updateReadMessages attributes, type and example +--- +## Constructor: updateReadMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessages = ['_' => 'updateReadMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateServiceNotification.md b/docs/old/API_docs_v27/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateShort.md b/docs/old/API_docs_v27/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateShortChatMessage.md b/docs/old/API_docs_v27/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..6a9604cc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateShortChatMessage.md @@ -0,0 +1,35 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateShortMessage.md b/docs/old/API_docs_v27/constructors/updateShortMessage.md new file mode 100644 index 00000000..7ac64eea --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateShortMessage.md @@ -0,0 +1,34 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserBlocked.md b/docs/old/API_docs_v27/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserName.md b/docs/old/API_docs_v27/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserPhone.md b/docs/old/API_docs_v27/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserPhoto.md b/docs/old/API_docs_v27/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserStatus.md b/docs/old/API_docs_v27/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateUserTyping.md b/docs/old/API_docs_v27/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updateWebPage.md b/docs/old/API_docs_v27/constructors/updateWebPage.md new file mode 100644 index 00000000..8d513843 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updateWebPage.md @@ -0,0 +1,26 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updates.md b/docs/old/API_docs_v27/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updatesCombined.md b/docs/old/API_docs_v27/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updatesTooLong.md b/docs/old/API_docs_v27/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updates_difference.md b/docs/old/API_docs_v27/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v27/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updates_differenceSlice.md b/docs/old/API_docs_v27/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/updates_state.md b/docs/old/API_docs_v27/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v27/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/upload_file.md b/docs/old/API_docs_v27/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v27/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userContact.md b/docs/old/API_docs_v27/constructors/userContact.md new file mode 100644 index 00000000..f8de255e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userContact.md @@ -0,0 +1,46 @@ +--- +title: userContact +description: userContact attributes, type and example +--- +## Constructor: userContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userContact = ['_' => 'userContact', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userContact = '@username'; // Username + +$userContact = 44700; // bot API id (users) +$userContact = -492772765; // bot API id (chats) +$userContact = -10038575794; // bot API id (channels) + +$userContact = 'user#44700'; // tg-cli style id (users) +$userContact = 'chat#492772765'; // tg-cli style id (chats) +$userContact = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userDeleted.md b/docs/old/API_docs_v27/constructors/userDeleted.md new file mode 100644 index 00000000..fe7cfdd1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userDeleted.md @@ -0,0 +1,42 @@ +--- +title: userDeleted +description: userDeleted attributes, type and example +--- +## Constructor: userDeleted +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$userDeleted = '@username'; // Username + +$userDeleted = 44700; // bot API id (users) +$userDeleted = -492772765; // bot API id (chats) +$userDeleted = -10038575794; // bot API id (channels) + +$userDeleted = 'user#44700'; // tg-cli style id (users) +$userDeleted = 'chat#492772765'; // tg-cli style id (chats) +$userDeleted = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userEmpty.md b/docs/old/API_docs_v27/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userForeign.md b/docs/old/API_docs_v27/constructors/userForeign.md new file mode 100644 index 00000000..faa7cb3e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userForeign.md @@ -0,0 +1,45 @@ +--- +title: userForeign +description: userForeign attributes, type and example +--- +## Constructor: userForeign +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userForeign = ['_' => 'userForeign', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userForeign = '@username'; // Username + +$userForeign = 44700; // bot API id (users) +$userForeign = -492772765; // bot API id (chats) +$userForeign = -10038575794; // bot API id (channels) + +$userForeign = 'user#44700'; // tg-cli style id (users) +$userForeign = 'chat#492772765'; // tg-cli style id (chats) +$userForeign = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userFull.md b/docs/old/API_docs_v27/constructors/userFull.md new file mode 100644 index 00000000..14a5297d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|real\_first\_name|[string](../types/string.md) | Required| +|real\_last\_name|[string](../types/string.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userProfilePhoto.md b/docs/old/API_docs_v27/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v27/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userRequest.md b/docs/old/API_docs_v27/constructors/userRequest.md new file mode 100644 index 00000000..98da6ec8 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userRequest.md @@ -0,0 +1,46 @@ +--- +title: userRequest +description: userRequest attributes, type and example +--- +## Constructor: userRequest +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userRequest = ['_' => 'userRequest', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'access_hash' => long, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userRequest = '@username'; // Username + +$userRequest = 44700; // bot API id (users) +$userRequest = -492772765; // bot API id (chats) +$userRequest = -10038575794; // bot API id (channels) + +$userRequest = 'user#44700'; // tg-cli style id (users) +$userRequest = 'chat#492772765'; // tg-cli style id (chats) +$userRequest = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userSelf.md b/docs/old/API_docs_v27/constructors/userSelf.md new file mode 100644 index 00000000..d9085b22 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userSelf.md @@ -0,0 +1,45 @@ +--- +title: userSelf +description: userSelf attributes, type and example +--- +## Constructor: userSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| +|phone|[string](../types/string.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userSelf = ['_' => 'userSelf', 'id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, ]; +``` + +The following syntaxes can also be used: + +``` +$userSelf = '@username'; // Username + +$userSelf = 44700; // bot API id (users) +$userSelf = -492772765; // bot API id (chats) +$userSelf = -10038575794; // bot API id (channels) + +$userSelf = 'user#44700'; // tg-cli style id (users) +$userSelf = 'chat#492772765'; // tg-cli style id (chats) +$userSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/constructors/userStatusEmpty.md b/docs/old/API_docs_v27/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userStatusLastMonth.md b/docs/old/API_docs_v27/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userStatusLastWeek.md b/docs/old/API_docs_v27/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userStatusOffline.md b/docs/old/API_docs_v27/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userStatusOnline.md b/docs/old/API_docs_v27/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/userStatusRecently.md b/docs/old/API_docs_v27/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/vector.md b/docs/old/API_docs_v27/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/video.md b/docs/old/API_docs_v27/constructors/video.md new file mode 100644 index 00000000..aa8277e1 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/video.md @@ -0,0 +1,37 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/videoEmpty.md b/docs/old/API_docs_v27/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v27/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/wallPaper.md b/docs/old/API_docs_v27/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v27/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/wallPaperSolid.md b/docs/old/API_docs_v27/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v27/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/webPage.md b/docs/old/API_docs_v27/constructors/webPage.md new file mode 100644 index 00000000..8e8ed76d --- /dev/null +++ b/docs/old/API_docs_v27/constructors/webPage.md @@ -0,0 +1,39 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/webPageEmpty.md b/docs/old/API_docs_v27/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v27/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v27/constructors/webPagePending.md b/docs/old/API_docs_v27/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v27/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v27/index.md b/docs/old/API_docs_v27/index.md new file mode 100644 index 00000000..49d0a1bd --- /dev/null +++ b/docs/old/API_docs_v27/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v27) +description: MadelineProto API documentation (layer v27) +--- +# MadelineProto API documentation (layer v27) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v27/methods/account_changePhone.md b/docs/old/API_docs_v27/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_checkUsername.md b/docs/old/API_docs_v27/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_deleteAccount.md b/docs/old/API_docs_v27/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_getAccountTTL.md b/docs/old/API_docs_v27/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/account_getAuthorizations.md b/docs/old/API_docs_v27/methods/account_getAuthorizations.md similarity index 100% rename from docs/API_docs_46/methods/account_getAuthorizations.md rename to docs/old/API_docs_v27/methods/account_getAuthorizations.md diff --git a/docs/old/API_docs_v27/methods/account_getNotifySettings.md b/docs/old/API_docs_v27/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_getPassword.md b/docs/old/API_docs_v27/methods/account_getPassword.md similarity index 100% rename from docs/API_docs_55/methods/account_getPassword.md rename to docs/old/API_docs_v27/methods/account_getPassword.md diff --git a/docs/API_docs_46/methods/account_getPasswordSettings.md b/docs/old/API_docs_v27/methods/account_getPasswordSettings.md similarity index 100% rename from docs/API_docs_46/methods/account_getPasswordSettings.md rename to docs/old/API_docs_v27/methods/account_getPasswordSettings.md diff --git a/docs/old/API_docs_v27/methods/account_getPrivacy.md b/docs/old/API_docs_v27/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_getWallPapers.md b/docs/old/API_docs_v27/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_registerDevice.md b/docs/old/API_docs_v27/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/account_resetAuthorization.md b/docs/old/API_docs_v27/methods/account_resetAuthorization.md similarity index 100% rename from docs/API_docs_46/methods/account_resetAuthorization.md rename to docs/old/API_docs_v27/methods/account_resetAuthorization.md diff --git a/docs/old/API_docs_v27/methods/account_resetNotifySettings.md b/docs/old/API_docs_v27/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v27/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_setAccountTTL.md b/docs/old/API_docs_v27/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_setPrivacy.md b/docs/old/API_docs_v27/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_unregisterDevice.md b/docs/old/API_docs_v27/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v27/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_updateNotifySettings.md b/docs/old/API_docs_v27/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v27/methods/account_updatePasswordSettings.md similarity index 100% rename from docs/API_docs_46/methods/account_updatePasswordSettings.md rename to docs/old/API_docs_v27/methods/account_updatePasswordSettings.md diff --git a/docs/old/API_docs_v27/methods/account_updateProfile.md b/docs/old/API_docs_v27/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_updateStatus.md b/docs/old/API_docs_v27/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/account_updateUsername.md b/docs/old/API_docs_v27/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v27/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v27/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_checkPassword.md b/docs/old/API_docs_v27/methods/auth_checkPassword.md similarity index 100% rename from docs/API_docs_55/methods/auth_checkPassword.md rename to docs/old/API_docs_v27/methods/auth_checkPassword.md diff --git a/docs/old/API_docs_v27/methods/auth_checkPhone.md b/docs/old/API_docs_v27/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_exportAuthorization.md b/docs/old/API_docs_v27/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_importAuthorization.md b/docs/old/API_docs_v27/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_logOut.md b/docs/old/API_docs_v27/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/auth_recoverPassword.md b/docs/old/API_docs_v27/methods/auth_recoverPassword.md similarity index 100% rename from docs/API_docs_46/methods/auth_recoverPassword.md rename to docs/old/API_docs_v27/methods/auth_recoverPassword.md diff --git a/docs/API_docs_46/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v27/methods/auth_requestPasswordRecovery.md similarity index 100% rename from docs/API_docs_46/methods/auth_requestPasswordRecovery.md rename to docs/old/API_docs_v27/methods/auth_requestPasswordRecovery.md diff --git a/docs/old/API_docs_v27/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v27/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_sendCall.md b/docs/old/API_docs_v27/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_sendCode.md b/docs/old/API_docs_v27/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_sendInvites.md b/docs/old/API_docs_v27/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_sendSms.md b/docs/old/API_docs_v27/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_signIn.md b/docs/old/API_docs_v27/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/auth_signUp.md b/docs/old/API_docs_v27/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v27/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_block.md b/docs/old/API_docs_v27/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_deleteContact.md b/docs/old/API_docs_v27/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_deleteContacts.md b/docs/old/API_docs_v27/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_exportCard.md b/docs/old/API_docs_v27/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_getBlocked.md b/docs/old/API_docs_v27/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_getContacts.md b/docs/old/API_docs_v27/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_getStatuses.md b/docs/old/API_docs_v27/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_getSuggested.md b/docs/old/API_docs_v27/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_importCard.md b/docs/old/API_docs_v27/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_importContacts.md b/docs/old/API_docs_v27/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_resolveUsername.md b/docs/old/API_docs_v27/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..5a582f18 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_search.md b/docs/old/API_docs_v27/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/contacts_unblock.md b/docs/old/API_docs_v27/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v27/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_checkin.md b/docs/old/API_docs_v27/methods/geochats_checkin.md new file mode 100644 index 00000000..c4598255 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_checkin.md @@ -0,0 +1,37 @@ +--- +title: geochats_checkin +description: geochats_checkin parameters, return type and example +--- +## Method: geochats\_checkin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_createGeoChat.md b/docs/old/API_docs_v27/methods/geochats_createGeoChat.md new file mode 100644 index 00000000..acc269a0 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_createGeoChat.md @@ -0,0 +1,40 @@ +--- +title: geochats_createGeoChat +description: geochats_createGeoChat parameters, return type and example +--- +## Method: geochats\_createGeoChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_editChatPhoto.md b/docs/old/API_docs_v27/methods/geochats_editChatPhoto.md new file mode 100644 index 00000000..36823e54 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: geochats_editChatPhoto +description: geochats_editChatPhoto parameters, return type and example +--- +## Method: geochats\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_editChatTitle.md b/docs/old/API_docs_v27/methods/geochats_editChatTitle.md new file mode 100644 index 00000000..54c0fde5 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_editChatTitle.md @@ -0,0 +1,39 @@ +--- +title: geochats_editChatTitle +description: geochats_editChatTitle parameters, return type and example +--- +## Method: geochats\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_getFullChat.md b/docs/old/API_docs_v27/methods/geochats_getFullChat.md new file mode 100644 index 00000000..24234c90 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: geochats_getFullChat +description: geochats_getFullChat parameters, return type and example +--- +## Method: geochats\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_getHistory.md b/docs/old/API_docs_v27/methods/geochats_getHistory.md new file mode 100644 index 00000000..0c585966 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_getHistory.md @@ -0,0 +1,40 @@ +--- +title: geochats_getHistory +description: geochats_getHistory parameters, return type and example +--- +## Method: geochats\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_getLocated.md b/docs/old/API_docs_v27/methods/geochats_getLocated.md new file mode 100644 index 00000000..d7584615 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_getLocated.md @@ -0,0 +1,39 @@ +--- +title: geochats_getLocated +description: geochats_getLocated parameters, return type and example +--- +## Method: geochats\_getLocated +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|radius|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Located](../types/geochats_Located.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_getRecents.md b/docs/old/API_docs_v27/methods/geochats_getRecents.md new file mode 100644 index 00000000..ff8cbe11 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_getRecents.md @@ -0,0 +1,38 @@ +--- +title: geochats_getRecents +description: geochats_getRecents parameters, return type and example +--- +## Method: geochats\_getRecents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_search.md b/docs/old/API_docs_v27/methods/geochats_search.md new file mode 100644 index 00000000..ce502810 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_search.md @@ -0,0 +1,44 @@ +--- +title: geochats_search +description: geochats_search parameters, return type and example +--- +## Method: geochats\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_sendMedia.md b/docs/old/API_docs_v27/methods/geochats_sendMedia.md new file mode 100644 index 00000000..22024eb8 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_sendMedia.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMedia +description: geochats_sendMedia parameters, return type and example +--- +## Method: geochats\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_sendMessage.md b/docs/old/API_docs_v27/methods/geochats_sendMessage.md new file mode 100644 index 00000000..ac4ac41a --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_sendMessage.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMessage +description: geochats_sendMessage parameters, return type and example +--- +## Method: geochats\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/geochats_setTyping.md b/docs/old/API_docs_v27/methods/geochats_setTyping.md new file mode 100644 index 00000000..163e7dc7 --- /dev/null +++ b/docs/old/API_docs_v27/methods/geochats_setTyping.md @@ -0,0 +1,38 @@ +--- +title: geochats_setTyping +description: geochats_setTyping parameters, return type and example +--- +## Method: geochats\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_getAppUpdate.md b/docs/old/API_docs_v27/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_getConfig.md b/docs/old/API_docs_v27/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_getInviteText.md b/docs/old/API_docs_v27/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_getNearestDc.md b/docs/old/API_docs_v27/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_getSupport.md b/docs/old/API_docs_v27/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/help_saveAppLog.md b/docs/old/API_docs_v27/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v27/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/index.md b/docs/old/API_docs_v27/methods/index.md new file mode 100644 index 00000000..cbb8b318 --- /dev/null +++ b/docs/old/API_docs_v27/methods/index.md @@ -0,0 +1,261 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[geochats_checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatPhoto](geochats_editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatTitle](geochats_editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_getFullChat](geochats_getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[geochats_getHistory](geochats_getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_getLocated](geochats_getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Located](../types/geochats_Located.md) + +$MadelineProto->[geochats_getRecents](geochats_getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_search](geochats_search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_sendMedia](geochats_sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_sendMessage](geochats_sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) == [$messages\_SentMessage](../types/messages_SentMessage.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v27/methods/initConnection.md b/docs/old/API_docs_v27/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v27/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/invokeAfterMsg.md b/docs/old/API_docs_v27/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v27/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/invokeAfterMsgs.md b/docs/old/API_docs_v27/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v27/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/invokeWithLayer.md b/docs/old/API_docs_v27/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v27/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_acceptEncryption.md b/docs/old/API_docs_v27/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_addChatUser.md b/docs/old/API_docs_v27/methods/messages_addChatUser.md similarity index 100% rename from docs/API_docs_46/methods/messages_addChatUser.md rename to docs/old/API_docs_v27/methods/messages_addChatUser.md diff --git a/docs/API_docs_46/methods/messages_createChat.md b/docs/old/API_docs_v27/methods/messages_createChat.md similarity index 100% rename from docs/API_docs_46/methods/messages_createChat.md rename to docs/old/API_docs_v27/methods/messages_createChat.md diff --git a/docs/API_docs_46/methods/messages_deleteChatUser.md b/docs/old/API_docs_v27/methods/messages_deleteChatUser.md similarity index 100% rename from docs/API_docs_46/methods/messages_deleteChatUser.md rename to docs/old/API_docs_v27/methods/messages_deleteChatUser.md diff --git a/docs/old/API_docs_v27/methods/messages_deleteHistory.md b/docs/old/API_docs_v27/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_deleteMessages.md b/docs/old/API_docs_v27/methods/messages_deleteMessages.md similarity index 100% rename from docs/API_docs_55/methods/messages_deleteMessages.md rename to docs/old/API_docs_v27/methods/messages_deleteMessages.md diff --git a/docs/old/API_docs_v27/methods/messages_discardEncryption.md b/docs/old/API_docs_v27/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_editChatPhoto.md b/docs/old/API_docs_v27/methods/messages_editChatPhoto.md similarity index 100% rename from docs/API_docs_46/methods/messages_editChatPhoto.md rename to docs/old/API_docs_v27/methods/messages_editChatPhoto.md diff --git a/docs/API_docs_46/methods/messages_editChatTitle.md b/docs/old/API_docs_v27/methods/messages_editChatTitle.md similarity index 100% rename from docs/API_docs_46/methods/messages_editChatTitle.md rename to docs/old/API_docs_v27/methods/messages_editChatTitle.md diff --git a/docs/API_docs_46/methods/messages_forwardMessage.md b/docs/old/API_docs_v27/methods/messages_forwardMessage.md similarity index 100% rename from docs/API_docs_46/methods/messages_forwardMessage.md rename to docs/old/API_docs_v27/methods/messages_forwardMessage.md diff --git a/docs/old/API_docs_v27/methods/messages_forwardMessages.md b/docs/old/API_docs_v27/methods/messages_forwardMessages.md new file mode 100644 index 00000000..77dc96f1 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getAllStickers.md b/docs/old/API_docs_v27/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getChats.md b/docs/old/API_docs_v27/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getDhConfig.md b/docs/old/API_docs_v27/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getDialogs.md b/docs/old/API_docs_v27/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe2b4aea --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getDialogs.md @@ -0,0 +1,39 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getFullChat.md b/docs/old/API_docs_v27/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getHistory.md b/docs/old/API_docs_v27/methods/messages_getHistory.md new file mode 100644 index 00000000..6788ebd3 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getMessages.md b/docs/old/API_docs_v27/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_getStickers.md b/docs/old/API_docs_v27/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v27/methods/messages_getWebPagePreview.md similarity index 100% rename from docs/API_docs_46/methods/messages_getWebPagePreview.md rename to docs/old/API_docs_v27/methods/messages_getWebPagePreview.md diff --git a/docs/old/API_docs_v27/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v27/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_readHistory.md b/docs/old/API_docs_v27/methods/messages_readHistory.md new file mode 100644 index 00000000..34f28811 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_readHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_readMessageContents.md b/docs/old/API_docs_v27/methods/messages_readMessageContents.md similarity index 100% rename from docs/API_docs_55/methods/messages_readMessageContents.md rename to docs/old/API_docs_v27/methods/messages_readMessageContents.md diff --git a/docs/old/API_docs_v27/methods/messages_receivedMessages.md b/docs/old/API_docs_v27/methods/messages_receivedMessages.md new file mode 100644 index 00000000..c4176cc4 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_receivedQueue.md b/docs/old/API_docs_v27/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_requestEncryption.md b/docs/old/API_docs_v27/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_search.md b/docs/old/API_docs_v27/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_sendBroadcast.md b/docs/old/API_docs_v27/methods/messages_sendBroadcast.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendBroadcast.md rename to docs/old/API_docs_v27/methods/messages_sendBroadcast.md diff --git a/docs/old/API_docs_v27/methods/messages_sendEncrypted.md b/docs/old/API_docs_v27/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v27/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v27/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_sendMedia.md b/docs/old/API_docs_v27/methods/messages_sendMedia.md new file mode 100644 index 00000000..69b63232 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_sendMedia.md @@ -0,0 +1,39 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_sendMessage.md b/docs/old/API_docs_v27/methods/messages_sendMessage.md new file mode 100644 index 00000000..1eecae75 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_sendMessage.md @@ -0,0 +1,39 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| + + +### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v27/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/messages_setTyping.md b/docs/old/API_docs_v27/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v27/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/photos_deletePhotos.md b/docs/old/API_docs_v27/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v27/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/photos_getUserPhotos.md b/docs/old/API_docs_v27/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..463ca056 --- /dev/null +++ b/docs/old/API_docs_v27/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v27/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v27/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v27/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v27/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/updates_getDifference.md b/docs/old/API_docs_v27/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v27/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/updates_getState.md b/docs/old/API_docs_v27/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v27/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/upload_getFile.md b/docs/old/API_docs_v27/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v27/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v27/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v27/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/upload_saveFilePart.md b/docs/old/API_docs_v27/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v27/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/users_getFullUser.md b/docs/old/API_docs_v27/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v27/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/methods/users_getUsers.md b/docs/old/API_docs_v27/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v27/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/!X.md b/docs/old/API_docs_v27/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v27/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/AccountDaysTTL.md b/docs/old/API_docs_v27/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v27/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v27/types/Audio.md b/docs/old/API_docs_v27/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v27/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Authorization.md b/docs/old/API_docs_v27/types/Authorization.md similarity index 100% rename from docs/API_docs_46/types/Authorization.md rename to docs/old/API_docs_v27/types/Authorization.md diff --git a/docs/old/API_docs_v27/types/Bool.md b/docs/old/API_docs_v27/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v27/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/Chat.md b/docs/old/API_docs_v27/types/Chat.md new file mode 100644 index 00000000..e02c846a --- /dev/null +++ b/docs/old/API_docs_v27/types/Chat.md @@ -0,0 +1,25 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[geoChat](../constructors/geoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ChatFull.md b/docs/old/API_docs_v27/types/ChatFull.md new file mode 100644 index 00000000..a63ad7e6 --- /dev/null +++ b/docs/old/API_docs_v27/types/ChatFull.md @@ -0,0 +1,19 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ChatLocated.md b/docs/old/API_docs_v27/types/ChatLocated.md new file mode 100644 index 00000000..c3009878 --- /dev/null +++ b/docs/old/API_docs_v27/types/ChatLocated.md @@ -0,0 +1,19 @@ +--- +title: ChatLocated +description: constructors and methods of type ChatLocated +--- +## Type: ChatLocated +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatLocated](../constructors/chatLocated.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ChatParticipant.md b/docs/old/API_docs_v27/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v27/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ChatParticipants.md b/docs/old/API_docs_v27/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v27/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ChatPhoto.md b/docs/old/API_docs_v27/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v27/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Config.md b/docs/old/API_docs_v27/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v27/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v27/types/Contact.md b/docs/old/API_docs_v27/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v27/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ContactBlocked.md b/docs/old/API_docs_v27/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v27/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ContactFound.md b/docs/old/API_docs_v27/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v27/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ContactLink.md b/docs/old/API_docs_v27/types/ContactLink.md similarity index 100% rename from docs/API_docs_55/types/ContactLink.md rename to docs/old/API_docs_v27/types/ContactLink.md diff --git a/docs/old/API_docs_v27/types/ContactStatus.md b/docs/old/API_docs_v27/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v27/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v27/types/ContactSuggested.md b/docs/old/API_docs_v27/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v27/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/DcOption.md b/docs/old/API_docs_v27/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v27/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Dialog.md b/docs/old/API_docs_v27/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v27/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/DisabledFeature.md b/docs/old/API_docs_v27/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v27/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Document.md b/docs/old/API_docs_v27/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v27/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/DocumentAttribute.md b/docs/old/API_docs_v27/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v27/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/EncryptedChat.md b/docs/old/API_docs_v27/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v27/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v27/types/EncryptedFile.md b/docs/old/API_docs_v27/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v27/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/EncryptedMessage.md b/docs/old/API_docs_v27/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v27/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Error.md b/docs/old/API_docs_v27/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v27/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/FileLocation.md b/docs/old/API_docs_v27/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v27/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/GeoChatMessage.md b/docs/old/API_docs_v27/types/GeoChatMessage.md new file mode 100644 index 00000000..4e3d3d37 --- /dev/null +++ b/docs/old/API_docs_v27/types/GeoChatMessage.md @@ -0,0 +1,23 @@ +--- +title: GeoChatMessage +description: constructors and methods of type GeoChatMessage +--- +## Type: GeoChatMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) + +[geoChatMessage](../constructors/geoChatMessage.md) + +[geoChatMessageService](../constructors/geoChatMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/GeoPoint.md b/docs/old/API_docs_v27/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v27/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/ImportedContact.md b/docs/old/API_docs_v27/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v27/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputAppEvent.md b/docs/old/API_docs_v27/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputAudio.md b/docs/old/API_docs_v27/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v27/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputChatPhoto.md b/docs/old/API_docs_v27/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputContact.md b/docs/old/API_docs_v27/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputDocument.md b/docs/old/API_docs_v27/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputEncryptedChat.md b/docs/old/API_docs_v27/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputEncryptedFile.md b/docs/old/API_docs_v27/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputFile.md b/docs/old/API_docs_v27/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputFileLocation.md b/docs/old/API_docs_v27/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v27/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputGeoChat.md b/docs/old/API_docs_v27/types/InputGeoChat.md new file mode 100644 index 00000000..51c98288 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputGeoChat.md @@ -0,0 +1,19 @@ +--- +title: InputGeoChat +description: constructors and methods of type InputGeoChat +--- +## Type: InputGeoChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoChat](../constructors/inputGeoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputGeoPoint.md b/docs/old/API_docs_v27/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputMedia.md b/docs/old/API_docs_v27/types/InputMedia.md new file mode 100644 index 00000000..91dacd19 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputMedia.md @@ -0,0 +1,43 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputNotifyPeer.md b/docs/old/API_docs_v27/types/InputNotifyPeer.md new file mode 100644 index 00000000..b3c22f62 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputNotifyPeer.md @@ -0,0 +1,27 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + +[inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPeer.md b/docs/old/API_docs_v27/types/InputPeer.md new file mode 100644 index 00000000..c694639e --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerContact](../constructors/inputPeerContact.md) + +[inputPeerForeign](../constructors/inputPeerForeign.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v27/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPeerNotifySettings.md b/docs/old/API_docs_v27/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPhoto.md b/docs/old/API_docs_v27/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPhotoCrop.md b/docs/old/API_docs_v27/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPrivacyKey.md b/docs/old/API_docs_v27/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputPrivacyRule.md b/docs/old/API_docs_v27/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v27/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputUser.md b/docs/old/API_docs_v27/types/InputUser.md new file mode 100644 index 00000000..fb5f01eb --- /dev/null +++ b/docs/old/API_docs_v27/types/InputUser.md @@ -0,0 +1,25 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUserContact](../constructors/inputUserContact.md) + +[inputUserForeign](../constructors/inputUserForeign.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/InputVideo.md b/docs/old/API_docs_v27/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v27/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Message.md b/docs/old/API_docs_v27/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v27/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/MessageAction.md b/docs/old/API_docs_v27/types/MessageAction.md new file mode 100644 index 00000000..50055878 --- /dev/null +++ b/docs/old/API_docs_v27/types/MessageAction.md @@ -0,0 +1,35 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) + +[messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/MessageMedia.md b/docs/old/API_docs_v27/types/MessageMedia.md new file mode 100644 index 00000000..1efdee55 --- /dev/null +++ b/docs/old/API_docs_v27/types/MessageMedia.md @@ -0,0 +1,37 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v27/types/MessagesFilter.md b/docs/old/API_docs_v27/types/MessagesFilter.md new file mode 100644 index 00000000..52d33dc8 --- /dev/null +++ b/docs/old/API_docs_v27/types/MessagesFilter.md @@ -0,0 +1,31 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/NearestDc.md b/docs/old/API_docs_v27/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v27/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v27/types/NotifyPeer.md b/docs/old/API_docs_v27/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v27/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Null.md b/docs/old/API_docs_v27/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v27/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Peer.md b/docs/old/API_docs_v27/types/Peer.md new file mode 100644 index 00000000..85fc991d --- /dev/null +++ b/docs/old/API_docs_v27/types/Peer.md @@ -0,0 +1,21 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/PeerNotifyEvents.md b/docs/old/API_docs_v27/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v27/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/PeerNotifySettings.md b/docs/old/API_docs_v27/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v27/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v27/types/Photo.md b/docs/old/API_docs_v27/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v27/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/PhotoSize.md b/docs/old/API_docs_v27/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v27/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/PrivacyKey.md b/docs/old/API_docs_v27/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v27/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/PrivacyRule.md b/docs/old/API_docs_v27/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v27/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/SendMessageAction.md b/docs/old/API_docs_v27/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v27/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/StickerPack.md b/docs/old/API_docs_v27/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v27/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Update.md b/docs/old/API_docs_v27/types/Update.md new file mode 100644 index 00000000..200c8ee5 --- /dev/null +++ b/docs/old/API_docs_v27/types/Update.md @@ -0,0 +1,75 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateReadMessages](../constructors/updateReadMessages.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Updates.md b/docs/old/API_docs_v27/types/Updates.md new file mode 100644 index 00000000..3740c9f0 --- /dev/null +++ b/docs/old/API_docs_v27/types/Updates.md @@ -0,0 +1,47 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + + + diff --git a/docs/old/API_docs_v27/types/User.md b/docs/old/API_docs_v27/types/User.md new file mode 100644 index 00000000..e9e2e34e --- /dev/null +++ b/docs/old/API_docs_v27/types/User.md @@ -0,0 +1,41 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[userSelf](../constructors/userSelf.md) + +[userContact](../constructors/userContact.md) + +[userRequest](../constructors/userRequest.md) + +[userForeign](../constructors/userForeign.md) + +[userDeleted](../constructors/userDeleted.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v27/types/UserFull.md b/docs/old/API_docs_v27/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v27/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v27/types/UserProfilePhoto.md b/docs/old/API_docs_v27/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v27/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v27/types/UserStatus.md b/docs/old/API_docs_v27/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v27/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Vector t.md b/docs/old/API_docs_v27/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v27/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/Video.md b/docs/old/API_docs_v27/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v27/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/WallPaper.md b/docs/old/API_docs_v27/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v27/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/API_docs_46/types/WebPage.md b/docs/old/API_docs_v27/types/WebPage.md similarity index 100% rename from docs/API_docs_46/types/WebPage.md rename to docs/old/API_docs_v27/types/WebPage.md diff --git a/docs/old/API_docs_v27/types/X.md b/docs/old/API_docs_v27/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v27/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs_46/types/account_Authorizations.md b/docs/old/API_docs_v27/types/account_Authorizations.md similarity index 100% rename from docs/API_docs_46/types/account_Authorizations.md rename to docs/old/API_docs_v27/types/account_Authorizations.md diff --git a/docs/API_docs_55/types/account_Password.md b/docs/old/API_docs_v27/types/account_Password.md similarity index 100% rename from docs/API_docs_55/types/account_Password.md rename to docs/old/API_docs_v27/types/account_Password.md diff --git a/docs/API_docs_46/types/account_PasswordInputSettings.md b/docs/old/API_docs_v27/types/account_PasswordInputSettings.md similarity index 100% rename from docs/API_docs_46/types/account_PasswordInputSettings.md rename to docs/old/API_docs_v27/types/account_PasswordInputSettings.md diff --git a/docs/API_docs_46/types/account_PasswordSettings.md b/docs/old/API_docs_v27/types/account_PasswordSettings.md similarity index 100% rename from docs/API_docs_46/types/account_PasswordSettings.md rename to docs/old/API_docs_v27/types/account_PasswordSettings.md diff --git a/docs/old/API_docs_v27/types/account_PrivacyRules.md b/docs/old/API_docs_v27/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v27/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v27/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v27/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v27/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v27/types/auth_Authorization.md b/docs/old/API_docs_v27/types/auth_Authorization.md new file mode 100644 index 00000000..033574ab --- /dev/null +++ b/docs/old/API_docs_v27/types/auth_Authorization.md @@ -0,0 +1,29 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v27/types/auth_CheckedPhone.md b/docs/old/API_docs_v27/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v27/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v27/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v27/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v27/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/API_docs_46/types/auth_PasswordRecovery.md b/docs/old/API_docs_v27/types/auth_PasswordRecovery.md similarity index 100% rename from docs/API_docs_46/types/auth_PasswordRecovery.md rename to docs/old/API_docs_v27/types/auth_PasswordRecovery.md diff --git a/docs/old/API_docs_v27/types/auth_SentCode.md b/docs/old/API_docs_v27/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v27/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v27/types/bytes.md b/docs/old/API_docs_v27/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v27/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/contacts_Blocked.md b/docs/old/API_docs_v27/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v27/types/contacts_Contacts.md b/docs/old/API_docs_v27/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v27/types/contacts_Found.md b/docs/old/API_docs_v27/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v27/types/contacts_ImportedContacts.md b/docs/old/API_docs_v27/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v27/types/contacts_Link.md b/docs/old/API_docs_v27/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v27/types/contacts_Suggested.md b/docs/old/API_docs_v27/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v27/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v27/types/double.md b/docs/old/API_docs_v27/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v27/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/geochats_Located.md b/docs/old/API_docs_v27/types/geochats_Located.md new file mode 100644 index 00000000..64662c10 --- /dev/null +++ b/docs/old/API_docs_v27/types/geochats_Located.md @@ -0,0 +1,21 @@ +--- +title: geochats_Located +description: constructors and methods of type geochats_Located +--- +## Type: geochats\_Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_located](../constructors/geochats_located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) + + + diff --git a/docs/old/API_docs_v27/types/geochats_Messages.md b/docs/old/API_docs_v27/types/geochats_Messages.md new file mode 100644 index 00000000..ec03bc3f --- /dev/null +++ b/docs/old/API_docs_v27/types/geochats_Messages.md @@ -0,0 +1,27 @@ +--- +title: geochats_Messages +description: constructors and methods of type geochats_Messages +--- +## Type: geochats\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_messages](../constructors/geochats_messages.md) + +[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats_search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) + + + diff --git a/docs/old/API_docs_v27/types/geochats_StatedMessage.md b/docs/old/API_docs_v27/types/geochats_StatedMessage.md new file mode 100644 index 00000000..8bb77081 --- /dev/null +++ b/docs/old/API_docs_v27/types/geochats_StatedMessage.md @@ -0,0 +1,31 @@ +--- +title: geochats_StatedMessage +description: constructors and methods of type geochats_StatedMessage +--- +## Type: geochats\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_statedMessage](../constructors/geochats_statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) + + + diff --git a/docs/old/API_docs_v27/types/help_AppUpdate.md b/docs/old/API_docs_v27/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v27/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v27/types/help_InviteText.md b/docs/old/API_docs_v27/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v27/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v27/types/help_Support.md b/docs/old/API_docs_v27/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v27/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v27/types/index.md b/docs/old/API_docs_v27/types/index.md new file mode 100644 index 00000000..ae1803f3 --- /dev/null +++ b/docs/old/API_docs_v27/types/index.md @@ -0,0 +1,252 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatLocated](ChatLocated.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[FileLocation](FileLocation.md) + +[GeoChatMessage](GeoChatMessage.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoChat](InputGeoChat.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageMedia](MessageMedia.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[geochats\_Located](geochats_Located.md) + +[geochats\_Messages](geochats_Messages.md) + +[geochats\_StatedMessage](geochats_StatedMessage.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Message](messages_Message.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_SentMessage](messages_SentMessage.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v27/types/int.md b/docs/old/API_docs_v27/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v27/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/int128.md b/docs/old/API_docs_v27/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v27/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/int256.md b/docs/old/API_docs_v27/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v27/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/int512.md b/docs/old/API_docs_v27/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v27/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/long.md b/docs/old/API_docs_v27/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v27/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/messages_AffectedHistory.md b/docs/old/API_docs_v27/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_AffectedMessages.md b/docs/old/API_docs_v27/types/messages_AffectedMessages.md new file mode 100644 index 00000000..1c96de40 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_AffectedMessages.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_AllStickers.md b/docs/old/API_docs_v27/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_ChatFull.md b/docs/old/API_docs_v27/types/messages_ChatFull.md new file mode 100644 index 00000000..a866cab1 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_Chats.md b/docs/old/API_docs_v27/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_DhConfig.md b/docs/old/API_docs_v27/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_Dialogs.md b/docs/old/API_docs_v27/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_Message.md b/docs/old/API_docs_v27/types/messages_Message.md new file mode 100644 index 00000000..1c5384d0 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_Message.md @@ -0,0 +1,19 @@ +--- +title: messages_Message +description: constructors and methods of type messages_Message +--- +## Type: messages\_Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messageEmpty](../constructors/messages_messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/messages_Messages.md b/docs/old/API_docs_v27/types/messages_Messages.md new file mode 100644 index 00000000..e47583e2 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_Messages.md @@ -0,0 +1,27 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v27/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_SentMessage.md b/docs/old/API_docs_v27/types/messages_SentMessage.md new file mode 100644 index 00000000..83f798e2 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_SentMessage.md @@ -0,0 +1,23 @@ +--- +title: messages_SentMessage +description: constructors and methods of type messages_SentMessage +--- +## Type: messages\_SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentMessage](../constructors/messages_sentMessage.md) + +[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + + + diff --git a/docs/old/API_docs_v27/types/messages_Stickers.md b/docs/old/API_docs_v27/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v27/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v27/types/photos_Photo.md b/docs/old/API_docs_v27/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v27/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v27/types/photos_Photos.md b/docs/old/API_docs_v27/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v27/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v27/types/storage_FileType.md b/docs/old/API_docs_v27/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v27/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v27/types/string.md b/docs/old/API_docs_v27/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v27/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v27/types/updates_Difference.md b/docs/old/API_docs_v27/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v27/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v27/types/updates_State.md b/docs/old/API_docs_v27/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v27/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v27/types/upload_File.md b/docs/old/API_docs_v27/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v27/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v33/constructors/accountDaysTTL.md b/docs/old/API_docs_v33/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_authorizations.md b/docs/old/API_docs_v33/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_noPassword.md b/docs/old/API_docs_v33/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_password.md b/docs/old/API_docs_v33/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v33/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_passwordSettings.md b/docs/old/API_docs_v33/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_privacyRules.md b/docs/old/API_docs_v33/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v33/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/audio.md b/docs/old/API_docs_v33/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/audioEmpty.md b/docs/old/API_docs_v33/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_authorization.md b/docs/old/API_docs_v33/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_checkedPhone.md b/docs/old/API_docs_v33/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v33/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v33/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_sentAppCode.md b/docs/old/API_docs_v33/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/auth_sentCode.md b/docs/old/API_docs_v33/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/authorization.md b/docs/old/API_docs_v33/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/boolFalse.md b/docs/old/API_docs_v33/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/boolTrue.md b/docs/old/API_docs_v33/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/botCommand.md b/docs/old/API_docs_v33/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/botInfo.md b/docs/old/API_docs_v33/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/botInfoEmpty.md b/docs/old/API_docs_v33/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chat.md b/docs/old/API_docs_v33/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/chatEmpty.md b/docs/old/API_docs_v33/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/chatForbidden.md b/docs/old/API_docs_v33/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/chatFull.md b/docs/old/API_docs_v33/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatInvite.md b/docs/old/API_docs_v33/constructors/chatInvite.md new file mode 100644 index 00000000..e2475521 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatInvite.md @@ -0,0 +1,26 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatInviteAlready.md b/docs/old/API_docs_v33/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatInviteEmpty.md b/docs/old/API_docs_v33/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatInviteExported.md b/docs/old/API_docs_v33/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatLocated.md b/docs/old/API_docs_v33/constructors/chatLocated.md new file mode 100644 index 00000000..1815881a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatLocated.md @@ -0,0 +1,27 @@ +--- +title: chatLocated +description: chatLocated attributes, type and example +--- +## Constructor: chatLocated +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|distance|[int](../types/int.md) | Required| + + + +### Type: [ChatLocated](../types/ChatLocated.md) + + +### Example: + +``` +$chatLocated = ['_' => 'chatLocated', 'chat_id' => int, 'distance' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatParticipant.md b/docs/old/API_docs_v33/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatParticipants.md b/docs/old/API_docs_v33/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v33/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatPhoto.md b/docs/old/API_docs_v33/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v33/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/config.md b/docs/old/API_docs_v33/constructors/config.md new file mode 100644 index 00000000..d1f3688b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contact.md b/docs/old/API_docs_v33/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactBlocked.md b/docs/old/API_docs_v33/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactFound.md b/docs/old/API_docs_v33/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactLinkContact.md b/docs/old/API_docs_v33/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v33/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactLinkNone.md b/docs/old/API_docs_v33/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactLinkUnknown.md b/docs/old/API_docs_v33/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactStatus.md b/docs/old/API_docs_v33/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contactSuggested.md b/docs/old/API_docs_v33/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_blocked.md b/docs/old/API_docs_v33/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v33/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_contacts.md b/docs/old/API_docs_v33/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v33/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_found.md b/docs/old/API_docs_v33/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_importedContacts.md b/docs/old/API_docs_v33/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_link.md b/docs/old/API_docs_v33/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/contacts_suggested.md b/docs/old/API_docs_v33/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/dcOption.md b/docs/old/API_docs_v33/constructors/dcOption.md new file mode 100644 index 00000000..2a6e2741 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/dcOption.md @@ -0,0 +1,28 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/dialog.md b/docs/old/API_docs_v33/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/disabledFeature.md b/docs/old/API_docs_v33/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/document.md b/docs/old/API_docs_v33/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v33/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeAudio.md b/docs/old/API_docs_v33/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeFilename.md b/docs/old/API_docs_v33/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v33/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeSticker.md b/docs/old/API_docs_v33/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentAttributeVideo.md b/docs/old/API_docs_v33/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/documentEmpty.md b/docs/old/API_docs_v33/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedChat.md b/docs/old/API_docs_v33/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v33/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v33/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedChatRequested.md b/docs/old/API_docs_v33/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v33/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedFile.md b/docs/old/API_docs_v33/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v33/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedMessage.md b/docs/old/API_docs_v33/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/encryptedMessageService.md b/docs/old/API_docs_v33/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/error.md b/docs/old/API_docs_v33/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/fileLocation.md b/docs/old/API_docs_v33/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v33/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geoChat.md b/docs/old/API_docs_v33/constructors/geoChat.md new file mode 100644 index 00000000..507e62c3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoChat.md @@ -0,0 +1,49 @@ +--- +title: geoChat +description: geoChat attributes, type and example +--- +## Constructor: geoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|checked\_in|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => string, 'address' => string, 'venue' => string, 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$geoChat = '@username'; // Username + +$geoChat = 44700; // bot API id (users) +$geoChat = -492772765; // bot API id (chats) +$geoChat = -10038575794; // bot API id (channels) + +$geoChat = 'user#44700'; // tg-cli style id (users) +$geoChat = 'chat#492772765'; // tg-cli style id (chats) +$geoChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/geoChatMessage.md b/docs/old/API_docs_v33/constructors/geoChatMessage.md new file mode 100644 index 00000000..28985e8d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoChatMessage.md @@ -0,0 +1,31 @@ +--- +title: geoChatMessage +description: geoChatMessage attributes, type and example +--- +## Constructor: geoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geoChatMessageEmpty.md b/docs/old/API_docs_v33/constructors/geoChatMessageEmpty.md new file mode 100644 index 00000000..0ff9a47b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoChatMessageEmpty.md @@ -0,0 +1,27 @@ +--- +title: geoChatMessageEmpty +description: geoChatMessageEmpty attributes, type and example +--- +## Constructor: geoChatMessageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageEmpty = ['_' => 'geoChatMessageEmpty', 'chat_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geoChatMessageService.md b/docs/old/API_docs_v33/constructors/geoChatMessageService.md new file mode 100644 index 00000000..faf75db6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoChatMessageService.md @@ -0,0 +1,30 @@ +--- +title: geoChatMessageService +description: geoChatMessageService attributes, type and example +--- +## Constructor: geoChatMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [GeoChatMessage](../types/GeoChatMessage.md) + + +### Example: + +``` +$geoChatMessageService = ['_' => 'geoChatMessageService', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geoPoint.md b/docs/old/API_docs_v33/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geoPointEmpty.md b/docs/old/API_docs_v33/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geochats_located.md b/docs/old/API_docs_v33/constructors/geochats_located.md new file mode 100644 index 00000000..30a7c3cb --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geochats_located.md @@ -0,0 +1,29 @@ +--- +title: geochats_located +description: geochats_located attributes, type and example +--- +## Constructor: geochats\_located +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ChatLocated](../types/ChatLocated.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Located](../types/geochats_Located.md) + + +### Example: + +``` +$geochats_located = ['_' => 'geochats_located', 'results' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geochats_messages.md b/docs/old/API_docs_v33/constructors/geochats_messages.md new file mode 100644 index 00000000..ada3b34e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geochats_messages.md @@ -0,0 +1,28 @@ +--- +title: geochats_messages +description: geochats_messages attributes, type and example +--- +## Constructor: geochats\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messages = ['_' => 'geochats_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geochats_messagesSlice.md b/docs/old/API_docs_v33/constructors/geochats_messagesSlice.md new file mode 100644 index 00000000..f2e904c4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geochats_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: geochats_messagesSlice +description: geochats_messagesSlice attributes, type and example +--- +## Constructor: geochats\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [geochats\_Messages](../types/geochats_Messages.md) + + +### Example: + +``` +$geochats_messagesSlice = ['_' => 'geochats_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/geochats_statedMessage.md b/docs/old/API_docs_v33/constructors/geochats_statedMessage.md new file mode 100644 index 00000000..f5c6ae91 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/geochats_statedMessage.md @@ -0,0 +1,29 @@ +--- +title: geochats_statedMessage +description: geochats_statedMessage attributes, type and example +--- +## Constructor: geochats\_statedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + + +### Example: + +``` +$geochats_statedMessage = ['_' => 'geochats_statedMessage', 'message' => GeoChatMessage, 'chats' => [Vector t], 'users' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_appChangelog.md b/docs/old/API_docs_v33/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v33/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_appUpdate.md b/docs/old/API_docs_v33/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_inviteText.md b/docs/old/API_docs_v33/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_noAppUpdate.md b/docs/old/API_docs_v33/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/help_support.md b/docs/old/API_docs_v33/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/importedContact.md b/docs/old/API_docs_v33/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/index.md b/docs/old/API_docs_v33/constructors/index.md new file mode 100644 index 00000000..c598823e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/index.md @@ -0,0 +1,934 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatLocated](../constructors/chatLocated.md) = \['chat_id' => [int](../types/int.md), 'distance' => [int](../types/int.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoChat](../constructors/geoChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'checked_in' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$geoChatMessage](../constructors/geoChatMessage.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), \]; + +*** +

[$geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \]; + +*** +

[$geoChatMessageService](../constructors/geoChatMessageService.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$geochats\_located](../constructors/geochats_located.md) = \['results' => \[[ChatLocated](../types/ChatLocated.md)\], 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messages](../constructors/geochats_messages.md) = \['messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[GeoChatMessage](../types/GeoChatMessage.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$geochats\_statedMessage](../constructors/geochats_statedMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'seq' => [int](../types/int.md), \]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoChat](../constructors/inputGeoChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) = \['peer' => [InputGeoChat](../types/InputGeoChat.md), \]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) = \[\]; + +*** +

[$messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) = \['title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messageEmpty](../constructors/messages_messageEmpty.md) = \[\]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_sentMessage](../constructors/messages_sentMessage.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) = \['id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'links' => \[[contacts\_Link](../types/contacts_Link.md)\], 'seq' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \[\]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \[\]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) = \['message' => [GeoChatMessage](../types/GeoChatMessage.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v33/constructors/inputAppEvent.md b/docs/old/API_docs_v33/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputAudio.md b/docs/old/API_docs_v33/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputAudioEmpty.md b/docs/old/API_docs_v33/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v33/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputChatPhoto.md b/docs/old/API_docs_v33/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v33/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v33/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputDocument.md b/docs/old/API_docs_v33/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v33/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v33/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedChat.md b/docs/old/API_docs_v33/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedFile.md b/docs/old/API_docs_v33/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v33/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v33/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v33/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputFile.md b/docs/old/API_docs_v33/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputFileBig.md b/docs/old/API_docs_v33/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputFileLocation.md b/docs/old/API_docs_v33/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputGeoChat.md b/docs/old/API_docs_v33/constructors/inputGeoChat.md new file mode 100644 index 00000000..bc0ac858 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputGeoChat.md @@ -0,0 +1,27 @@ +--- +title: inputGeoChat +description: inputGeoChat attributes, type and example +--- +## Constructor: inputGeoChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputGeoChat](../types/InputGeoChat.md) + + +### Example: + +``` +$inputGeoChat = ['_' => 'inputGeoChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputGeoPoint.md b/docs/old/API_docs_v33/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v33/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaAudio.md b/docs/old/API_docs_v33/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaContact.md b/docs/old/API_docs_v33/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaDocument.md b/docs/old/API_docs_v33/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaEmpty.md b/docs/old/API_docs_v33/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v33/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaPhoto.md b/docs/old/API_docs_v33/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..56d6c6e0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v33/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..daf77409 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaVenue.md b/docs/old/API_docs_v33/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMediaVideo.md b/docs/old/API_docs_v33/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v33/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputNotifyAll.md b/docs/old/API_docs_v33/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputNotifyChats.md b/docs/old/API_docs_v33/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputNotifyGeoChatPeer.md b/docs/old/API_docs_v33/constructors/inputNotifyGeoChatPeer.md new file mode 100644 index 00000000..0bd702d1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputNotifyGeoChatPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyGeoChatPeer +description: inputNotifyGeoChatPeer attributes, type and example +--- +## Constructor: inputNotifyGeoChatPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyGeoChatPeer = ['_' => 'inputNotifyGeoChatPeer', 'peer' => InputGeoChat, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputNotifyPeer.md b/docs/old/API_docs_v33/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputNotifyUsers.md b/docs/old/API_docs_v33/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPeerChat.md b/docs/old/API_docs_v33/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputPeerEmpty.md b/docs/old/API_docs_v33/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v33/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPeerSelf.md b/docs/old/API_docs_v33/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputPeerUser.md b/docs/old/API_docs_v33/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputPhoneContact.md b/docs/old/API_docs_v33/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPhoto.md b/docs/old/API_docs_v33/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPhotoCrop.md b/docs/old/API_docs_v33/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v33/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v33/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v33/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputStickerSetID.md b/docs/old/API_docs_v33/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v33/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputUser.md b/docs/old/API_docs_v33/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputUserEmpty.md b/docs/old/API_docs_v33/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputUserSelf.md b/docs/old/API_docs_v33/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/inputVideo.md b/docs/old/API_docs_v33/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputVideoEmpty.md b/docs/old/API_docs_v33/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v33/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v33/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/keyboardButton.md b/docs/old/API_docs_v33/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/keyboardButtonRow.md b/docs/old/API_docs_v33/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/message.md b/docs/old/API_docs_v33/constructors/message.md new file mode 100644 index 00000000..07d24c70 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/message.md @@ -0,0 +1,35 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v33/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatCreate.md b/docs/old/API_docs_v33/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v33/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v33/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v33/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v33/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v33/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionEmpty.md b/docs/old/API_docs_v33/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionGeoChatCheckin.md b/docs/old/API_docs_v33/constructors/messageActionGeoChatCheckin.md new file mode 100644 index 00000000..79bd9834 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionGeoChatCheckin.md @@ -0,0 +1,21 @@ +--- +title: messageActionGeoChatCheckin +description: messageActionGeoChatCheckin attributes, type and example +--- +## Constructor: messageActionGeoChatCheckin +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCheckin = ['_' => 'messageActionGeoChatCheckin', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageActionGeoChatCreate.md b/docs/old/API_docs_v33/constructors/messageActionGeoChatCreate.md new file mode 100644 index 00000000..755430ec --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageActionGeoChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionGeoChatCreate +description: messageActionGeoChatCreate attributes, type and example +--- +## Constructor: messageActionGeoChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionGeoChatCreate = ['_' => 'messageActionGeoChatCreate', 'title' => string, 'address' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageEmpty.md b/docs/old/API_docs_v33/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaAudio.md b/docs/old/API_docs_v33/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaContact.md b/docs/old/API_docs_v33/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaDocument.md b/docs/old/API_docs_v33/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaEmpty.md b/docs/old/API_docs_v33/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaGeo.md b/docs/old/API_docs_v33/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaPhoto.md b/docs/old/API_docs_v33/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v33/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaVenue.md b/docs/old/API_docs_v33/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaVideo.md b/docs/old/API_docs_v33/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageMediaWebPage.md b/docs/old/API_docs_v33/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messageService.md b/docs/old/API_docs_v33/constructors/messageService.md new file mode 100644 index 00000000..cd3d9c43 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_affectedHistory.md b/docs/old/API_docs_v33/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_affectedMessages.md b/docs/old/API_docs_v33/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_allStickers.md b/docs/old/API_docs_v33/constructors/messages_allStickers.md new file mode 100644 index 00000000..807b6985 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v33/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_chatFull.md b/docs/old/API_docs_v33/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_chats.md b/docs/old/API_docs_v33/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_dhConfig.md b/docs/old/API_docs_v33/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v33/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_dialogs.md b/docs/old/API_docs_v33/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v33/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_messageEmpty.md b/docs/old/API_docs_v33/constructors/messages_messageEmpty.md new file mode 100644 index 00000000..07c70633 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_messageEmpty.md @@ -0,0 +1,21 @@ +--- +title: messages_messageEmpty +description: messages_messageEmpty attributes, type and example +--- +## Constructor: messages\_messageEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Message](../types/messages_Message.md) + + +### Example: + +``` +$messages_messageEmpty = ['_' => 'messages_messageEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_messages.md b/docs/old/API_docs_v33/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_messagesSlice.md b/docs/old/API_docs_v33/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v33/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v33/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_sentMessage.md b/docs/old/API_docs_v33/constructors/messages_sentMessage.md new file mode 100644 index 00000000..318fe54c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_sentMessage.md @@ -0,0 +1,30 @@ +--- +title: messages_sentMessage +description: messages_sentMessage attributes, type and example +--- +## Constructor: messages\_sentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessage = ['_' => 'messages_sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_sentMessageLink.md b/docs/old/API_docs_v33/constructors/messages_sentMessageLink.md new file mode 100644 index 00000000..4e1fb89e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_sentMessageLink.md @@ -0,0 +1,32 @@ +--- +title: messages_sentMessageLink +description: messages_sentMessageLink attributes, type and example +--- +## Constructor: messages\_sentMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|links|Array of [contacts\_Link](../types/contacts_Link.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentMessage](../types/messages_SentMessage.md) + + +### Example: + +``` +$messages_sentMessageLink = ['_' => 'messages_sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [Vector t], 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_stickerSet.md b/docs/old/API_docs_v33/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_stickers.md b/docs/old/API_docs_v33/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v33/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v33/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/nearestDc.md b/docs/old/API_docs_v33/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/notifyAll.md b/docs/old/API_docs_v33/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/notifyChats.md b/docs/old/API_docs_v33/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/notifyPeer.md b/docs/old/API_docs_v33/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/notifyUsers.md b/docs/old/API_docs_v33/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v33/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/null.md b/docs/old/API_docs_v33/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/peerChat.md b/docs/old/API_docs_v33/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v33/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v33/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/peerNotifySettings.md b/docs/old/API_docs_v33/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v33/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/peerUser.md b/docs/old/API_docs_v33/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/photo.md b/docs/old/API_docs_v33/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photoCachedSize.md b/docs/old/API_docs_v33/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photoEmpty.md b/docs/old/API_docs_v33/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photoSize.md b/docs/old/API_docs_v33/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photoSizeEmpty.md b/docs/old/API_docs_v33/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photos_photo.md b/docs/old/API_docs_v33/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photos_photos.md b/docs/old/API_docs_v33/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/photos_photosSlice.md b/docs/old/API_docs_v33/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v33/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v33/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v33/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v33/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v33/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v33/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v33/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v33/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v33/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..8c0e953c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/replyKeyboardForceReply.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/replyKeyboardHide.md b/docs/old/API_docs_v33/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..67df993e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/replyKeyboardHide.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v33/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..cdc983c8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/replyKeyboardMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v33/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v33/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v33/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v33/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v33/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v33/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v33/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v33/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v33/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v33/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v33/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/stickerPack.md b/docs/old/API_docs_v33/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/stickerSet.md b/docs/old/API_docs_v33/constructors/stickerSet.md new file mode 100644 index 00000000..719e9576 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/stickerSet.md @@ -0,0 +1,31 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileGif.md b/docs/old/API_docs_v33/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileJpeg.md b/docs/old/API_docs_v33/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileMov.md b/docs/old/API_docs_v33/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileMp3.md b/docs/old/API_docs_v33/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileMp4.md b/docs/old/API_docs_v33/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_filePartial.md b/docs/old/API_docs_v33/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_filePdf.md b/docs/old/API_docs_v33/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_filePng.md b/docs/old/API_docs_v33/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileUnknown.md b/docs/old/API_docs_v33/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/storage_fileWebp.md b/docs/old/API_docs_v33/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v33/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v33/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateChatParticipants.md b/docs/old/API_docs_v33/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateChatUserTyping.md b/docs/old/API_docs_v33/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateContactLink.md b/docs/old/API_docs_v33/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateContactRegistered.md b/docs/old/API_docs_v33/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateDcOptions.md b/docs/old/API_docs_v33/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateDeleteMessages.md b/docs/old/API_docs_v33/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v33/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v33/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateEncryption.md b/docs/old/API_docs_v33/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateMessageID.md b/docs/old/API_docs_v33/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateNewAuthorization.md b/docs/old/API_docs_v33/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v33/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateNewGeoChatMessage.md b/docs/old/API_docs_v33/constructors/updateNewGeoChatMessage.md new file mode 100644 index 00000000..ab1bf47f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateNewGeoChatMessage.md @@ -0,0 +1,26 @@ +--- +title: updateNewGeoChatMessage +description: updateNewGeoChatMessage attributes, type and example +--- +## Constructor: updateNewGeoChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[GeoChatMessage](../types/GeoChatMessage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewGeoChatMessage = ['_' => 'updateNewGeoChatMessage', 'message' => GeoChatMessage, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateNewMessage.md b/docs/old/API_docs_v33/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateNotifySettings.md b/docs/old/API_docs_v33/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updatePrivacy.md b/docs/old/API_docs_v33/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v33/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v33/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v33/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateServiceNotification.md b/docs/old/API_docs_v33/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateShort.md b/docs/old/API_docs_v33/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateShortChatMessage.md b/docs/old/API_docs_v33/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..6a9604cc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateShortChatMessage.md @@ -0,0 +1,35 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateShortMessage.md b/docs/old/API_docs_v33/constructors/updateShortMessage.md new file mode 100644 index 00000000..7ac64eea --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateShortMessage.md @@ -0,0 +1,34 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserBlocked.md b/docs/old/API_docs_v33/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserName.md b/docs/old/API_docs_v33/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserPhone.md b/docs/old/API_docs_v33/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserPhoto.md b/docs/old/API_docs_v33/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserStatus.md b/docs/old/API_docs_v33/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateUserTyping.md b/docs/old/API_docs_v33/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updateWebPage.md b/docs/old/API_docs_v33/constructors/updateWebPage.md new file mode 100644 index 00000000..8d513843 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updateWebPage.md @@ -0,0 +1,26 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updates.md b/docs/old/API_docs_v33/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updatesCombined.md b/docs/old/API_docs_v33/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updatesTooLong.md b/docs/old/API_docs_v33/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updates_difference.md b/docs/old/API_docs_v33/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v33/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updates_differenceSlice.md b/docs/old/API_docs_v33/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/updates_state.md b/docs/old/API_docs_v33/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v33/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/upload_file.md b/docs/old/API_docs_v33/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v33/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/user.md b/docs/old/API_docs_v33/constructors/user.md new file mode 100644 index 00000000..3149cd4c --- /dev/null +++ b/docs/old/API_docs_v33/constructors/user.md @@ -0,0 +1,47 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/userEmpty.md b/docs/old/API_docs_v33/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/constructors/userFull.md b/docs/old/API_docs_v33/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userProfilePhoto.md b/docs/old/API_docs_v33/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v33/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusEmpty.md b/docs/old/API_docs_v33/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusLastMonth.md b/docs/old/API_docs_v33/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusLastWeek.md b/docs/old/API_docs_v33/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusOffline.md b/docs/old/API_docs_v33/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusOnline.md b/docs/old/API_docs_v33/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/userStatusRecently.md b/docs/old/API_docs_v33/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/vector.md b/docs/old/API_docs_v33/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/video.md b/docs/old/API_docs_v33/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/videoEmpty.md b/docs/old/API_docs_v33/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v33/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/wallPaper.md b/docs/old/API_docs_v33/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v33/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/wallPaperSolid.md b/docs/old/API_docs_v33/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v33/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/webPage.md b/docs/old/API_docs_v33/constructors/webPage.md new file mode 100644 index 00000000..8e8ed76d --- /dev/null +++ b/docs/old/API_docs_v33/constructors/webPage.md @@ -0,0 +1,39 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/webPageEmpty.md b/docs/old/API_docs_v33/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v33/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v33/constructors/webPagePending.md b/docs/old/API_docs_v33/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v33/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v33/index.md b/docs/old/API_docs_v33/index.md new file mode 100644 index 00000000..9c98a78a --- /dev/null +++ b/docs/old/API_docs_v33/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v33) +description: MadelineProto API documentation (layer v33) +--- +# MadelineProto API documentation (layer v33) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v33/methods/account_changePhone.md b/docs/old/API_docs_v33/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_checkUsername.md b/docs/old/API_docs_v33/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_deleteAccount.md b/docs/old/API_docs_v33/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_getAccountTTL.md b/docs/old/API_docs_v33/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_getAuthorizations.md b/docs/old/API_docs_v33/methods/account_getAuthorizations.md similarity index 100% rename from docs/API_docs_55/methods/account_getAuthorizations.md rename to docs/old/API_docs_v33/methods/account_getAuthorizations.md diff --git a/docs/old/API_docs_v33/methods/account_getNotifySettings.md b/docs/old/API_docs_v33/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_getPassword.md b/docs/old/API_docs_v33/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_getPasswordSettings.md b/docs/old/API_docs_v33/methods/account_getPasswordSettings.md similarity index 100% rename from docs/API_docs_55/methods/account_getPasswordSettings.md rename to docs/old/API_docs_v33/methods/account_getPasswordSettings.md diff --git a/docs/old/API_docs_v33/methods/account_getPrivacy.md b/docs/old/API_docs_v33/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_getWallPapers.md b/docs/old/API_docs_v33/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_registerDevice.md b/docs/old/API_docs_v33/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_resetAuthorization.md b/docs/old/API_docs_v33/methods/account_resetAuthorization.md similarity index 100% rename from docs/API_docs_55/methods/account_resetAuthorization.md rename to docs/old/API_docs_v33/methods/account_resetAuthorization.md diff --git a/docs/old/API_docs_v33/methods/account_resetNotifySettings.md b/docs/old/API_docs_v33/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v33/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_setAccountTTL.md b/docs/old/API_docs_v33/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_setPrivacy.md b/docs/old/API_docs_v33/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_unregisterDevice.md b/docs/old/API_docs_v33/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v33/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_updateNotifySettings.md b/docs/old/API_docs_v33/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v33/methods/account_updatePasswordSettings.md similarity index 100% rename from docs/API_docs_55/methods/account_updatePasswordSettings.md rename to docs/old/API_docs_v33/methods/account_updatePasswordSettings.md diff --git a/docs/old/API_docs_v33/methods/account_updateProfile.md b/docs/old/API_docs_v33/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_updateStatus.md b/docs/old/API_docs_v33/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/account_updateUsername.md b/docs/old/API_docs_v33/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v33/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v33/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_checkPassword.md b/docs/old/API_docs_v33/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_checkPhone.md b/docs/old/API_docs_v33/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_exportAuthorization.md b/docs/old/API_docs_v33/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_importAuthorization.md b/docs/old/API_docs_v33/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v33/methods/auth_importBotAuthorization.md similarity index 100% rename from docs/API_docs_46/methods/auth_importBotAuthorization.md rename to docs/old/API_docs_v33/methods/auth_importBotAuthorization.md diff --git a/docs/old/API_docs_v33/methods/auth_logOut.md b/docs/old/API_docs_v33/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_recoverPassword.md b/docs/old/API_docs_v33/methods/auth_recoverPassword.md similarity index 100% rename from docs/API_docs_55/methods/auth_recoverPassword.md rename to docs/old/API_docs_v33/methods/auth_recoverPassword.md diff --git a/docs/API_docs_55/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v33/methods/auth_requestPasswordRecovery.md similarity index 100% rename from docs/API_docs_55/methods/auth_requestPasswordRecovery.md rename to docs/old/API_docs_v33/methods/auth_requestPasswordRecovery.md diff --git a/docs/old/API_docs_v33/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v33/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_sendCall.md b/docs/old/API_docs_v33/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_sendCode.md b/docs/old/API_docs_v33/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_sendInvites.md b/docs/old/API_docs_v33/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_sendSms.md b/docs/old/API_docs_v33/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_signIn.md b/docs/old/API_docs_v33/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/auth_signUp.md b/docs/old/API_docs_v33/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v33/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_block.md b/docs/old/API_docs_v33/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_deleteContact.md b/docs/old/API_docs_v33/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_deleteContacts.md b/docs/old/API_docs_v33/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_exportCard.md b/docs/old/API_docs_v33/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_getBlocked.md b/docs/old/API_docs_v33/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_getContacts.md b/docs/old/API_docs_v33/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_getStatuses.md b/docs/old/API_docs_v33/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_getSuggested.md b/docs/old/API_docs_v33/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_importCard.md b/docs/old/API_docs_v33/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_importContacts.md b/docs/old/API_docs_v33/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_resolveUsername.md b/docs/old/API_docs_v33/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..5a582f18 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_search.md b/docs/old/API_docs_v33/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/contacts_unblock.md b/docs/old/API_docs_v33/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v33/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_checkin.md b/docs/old/API_docs_v33/methods/geochats_checkin.md new file mode 100644 index 00000000..c4598255 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_checkin.md @@ -0,0 +1,37 @@ +--- +title: geochats_checkin +description: geochats_checkin parameters, return type and example +--- +## Method: geochats\_checkin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->checkin(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_createGeoChat.md b/docs/old/API_docs_v33/methods/geochats_createGeoChat.md new file mode 100644 index 00000000..acc269a0 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_createGeoChat.md @@ -0,0 +1,40 @@ +--- +title: geochats_createGeoChat +description: geochats_createGeoChat parameters, return type and example +--- +## Method: geochats\_createGeoChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|address|[string](../types/string.md) | Required| +|venue|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->createGeoChat(['title' => string, 'geo_point' => InputGeoPoint, 'address' => string, 'venue' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_editChatPhoto.md b/docs/old/API_docs_v33/methods/geochats_editChatPhoto.md new file mode 100644 index 00000000..36823e54 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: geochats_editChatPhoto +description: geochats_editChatPhoto parameters, return type and example +--- +## Method: geochats\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatPhoto(['peer' => InputGeoChat, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_editChatTitle.md b/docs/old/API_docs_v33/methods/geochats_editChatTitle.md new file mode 100644 index 00000000..54c0fde5 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_editChatTitle.md @@ -0,0 +1,39 @@ +--- +title: geochats_editChatTitle +description: geochats_editChatTitle parameters, return type and example +--- +## Method: geochats\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->editChatTitle(['peer' => InputGeoChat, 'title' => string, 'address' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_getFullChat.md b/docs/old/API_docs_v33/methods/geochats_getFullChat.md new file mode 100644 index 00000000..24234c90 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: geochats_getFullChat +description: geochats_getFullChat parameters, return type and example +--- +## Method: geochats\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->geochats->getFullChat(['peer' => InputGeoChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_getHistory.md b/docs/old/API_docs_v33/methods/geochats_getHistory.md new file mode 100644 index 00000000..0c585966 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_getHistory.md @@ -0,0 +1,40 @@ +--- +title: geochats_getHistory +description: geochats_getHistory parameters, return type and example +--- +## Method: geochats\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getHistory(['peer' => InputGeoChat, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_getLocated.md b/docs/old/API_docs_v33/methods/geochats_getLocated.md new file mode 100644 index 00000000..d7584615 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_getLocated.md @@ -0,0 +1,39 @@ +--- +title: geochats_getLocated +description: geochats_getLocated parameters, return type and example +--- +## Method: geochats\_getLocated +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|radius|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Located](../types/geochats_Located.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Located = $MadelineProto->geochats->getLocated(['geo_point' => InputGeoPoint, 'radius' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_getRecents.md b/docs/old/API_docs_v33/methods/geochats_getRecents.md new file mode 100644 index 00000000..ff8cbe11 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_getRecents.md @@ -0,0 +1,38 @@ +--- +title: geochats_getRecents +description: geochats_getRecents parameters, return type and example +--- +## Method: geochats\_getRecents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->getRecents(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_search.md b/docs/old/API_docs_v33/methods/geochats_search.md new file mode 100644 index 00000000..ce502810 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_search.md @@ -0,0 +1,44 @@ +--- +title: geochats_search +description: geochats_search parameters, return type and example +--- +## Method: geochats\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [geochats\_Messages](../types/geochats_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_Messages = $MadelineProto->geochats->search(['peer' => InputGeoChat, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_sendMedia.md b/docs/old/API_docs_v33/methods/geochats_sendMedia.md new file mode 100644 index 00000000..22024eb8 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_sendMedia.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMedia +description: geochats_sendMedia parameters, return type and example +--- +## Method: geochats\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMedia(['peer' => InputGeoChat, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_sendMessage.md b/docs/old/API_docs_v33/methods/geochats_sendMessage.md new file mode 100644 index 00000000..ac4ac41a --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_sendMessage.md @@ -0,0 +1,38 @@ +--- +title: geochats_sendMessage +description: geochats_sendMessage parameters, return type and example +--- +## Method: geochats\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$geochats_StatedMessage = $MadelineProto->geochats->sendMessage(['peer' => InputGeoChat, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/geochats_setTyping.md b/docs/old/API_docs_v33/methods/geochats_setTyping.md new file mode 100644 index 00000000..163e7dc7 --- /dev/null +++ b/docs/old/API_docs_v33/methods/geochats_setTyping.md @@ -0,0 +1,38 @@ +--- +title: geochats_setTyping +description: geochats_setTyping parameters, return type and example +--- +## Method: geochats\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputGeoChat](../types/InputGeoChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->geochats->setTyping(['peer' => InputGeoChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/help_getAppChangelog.md b/docs/old/API_docs_v33/methods/help_getAppChangelog.md similarity index 100% rename from docs/API_docs_46/methods/help_getAppChangelog.md rename to docs/old/API_docs_v33/methods/help_getAppChangelog.md diff --git a/docs/old/API_docs_v33/methods/help_getAppUpdate.md b/docs/old/API_docs_v33/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/help_getConfig.md b/docs/old/API_docs_v33/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/help_getInviteText.md b/docs/old/API_docs_v33/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/help_getNearestDc.md b/docs/old/API_docs_v33/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/help_getSupport.md b/docs/old/API_docs_v33/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/help_saveAppLog.md b/docs/old/API_docs_v33/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v33/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/index.md b/docs/old/API_docs_v33/methods/index.md new file mode 100644 index 00000000..bfcfc81f --- /dev/null +++ b/docs/old/API_docs_v33/methods/index.md @@ -0,0 +1,282 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[geochats_checkin](geochats_checkin.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_createGeoChat](geochats_createGeoChat.md)(\['title' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'address' => [string](../types/string.md), 'venue' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatPhoto](geochats_editChatPhoto.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_editChatTitle](geochats_editChatTitle.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_getFullChat](geochats_getFullChat.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[geochats_getHistory](geochats_getHistory.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_getLocated](geochats_getLocated.md)(\['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'radius' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Located](../types/geochats_Located.md) + +$MadelineProto->[geochats_getRecents](geochats_getRecents.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_search](geochats_search.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$geochats\_Messages](../types/geochats_Messages.md) + +$MadelineProto->[geochats_sendMedia](geochats_sendMedia.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_sendMessage](geochats_sendMessage.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'message' => [string](../types/string.md), \]) == [$geochats\_StatedMessage](../types/geochats_StatedMessage.md) + +$MadelineProto->[geochats_setTyping](geochats_setTyping.md)(\['peer' => [InputGeoChat](../types/InputGeoChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$messages\_SentMessage](../types/messages_SentMessage.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'chat_id' => [int](../types/int.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v33/methods/initConnection.md b/docs/old/API_docs_v33/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v33/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/invokeAfterMsg.md b/docs/old/API_docs_v33/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v33/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/invokeAfterMsgs.md b/docs/old/API_docs_v33/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v33/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/invokeWithLayer.md b/docs/old/API_docs_v33/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v33/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v33/methods/invokeWithoutUpdates.md similarity index 100% rename from docs/API_docs_46/methods/invokeWithoutUpdates.md rename to docs/old/API_docs_v33/methods/invokeWithoutUpdates.md diff --git a/docs/old/API_docs_v33/methods/messages_acceptEncryption.md b/docs/old/API_docs_v33/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_addChatUser.md b/docs/old/API_docs_v33/methods/messages_addChatUser.md similarity index 100% rename from docs/API_docs_55/methods/messages_addChatUser.md rename to docs/old/API_docs_v33/methods/messages_addChatUser.md diff --git a/docs/API_docs_46/methods/messages_checkChatInvite.md b/docs/old/API_docs_v33/methods/messages_checkChatInvite.md similarity index 100% rename from docs/API_docs_46/methods/messages_checkChatInvite.md rename to docs/old/API_docs_v33/methods/messages_checkChatInvite.md diff --git a/docs/API_docs_55/methods/messages_createChat.md b/docs/old/API_docs_v33/methods/messages_createChat.md similarity index 100% rename from docs/API_docs_55/methods/messages_createChat.md rename to docs/old/API_docs_v33/methods/messages_createChat.md diff --git a/docs/API_docs_55/methods/messages_deleteChatUser.md b/docs/old/API_docs_v33/methods/messages_deleteChatUser.md similarity index 100% rename from docs/API_docs_55/methods/messages_deleteChatUser.md rename to docs/old/API_docs_v33/methods/messages_deleteChatUser.md diff --git a/docs/old/API_docs_v33/methods/messages_deleteHistory.md b/docs/old/API_docs_v33/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_deleteMessages.md b/docs/old/API_docs_v33/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_discardEncryption.md b/docs/old/API_docs_v33/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_editChatPhoto.md b/docs/old/API_docs_v33/methods/messages_editChatPhoto.md similarity index 100% rename from docs/API_docs_55/methods/messages_editChatPhoto.md rename to docs/old/API_docs_v33/methods/messages_editChatPhoto.md diff --git a/docs/API_docs_55/methods/messages_editChatTitle.md b/docs/old/API_docs_v33/methods/messages_editChatTitle.md similarity index 100% rename from docs/API_docs_55/methods/messages_editChatTitle.md rename to docs/old/API_docs_v33/methods/messages_editChatTitle.md diff --git a/docs/API_docs_46/methods/messages_exportChatInvite.md b/docs/old/API_docs_v33/methods/messages_exportChatInvite.md similarity index 100% rename from docs/API_docs_46/methods/messages_exportChatInvite.md rename to docs/old/API_docs_v33/methods/messages_exportChatInvite.md diff --git a/docs/API_docs_55/methods/messages_forwardMessage.md b/docs/old/API_docs_v33/methods/messages_forwardMessage.md similarity index 100% rename from docs/API_docs_55/methods/messages_forwardMessage.md rename to docs/old/API_docs_v33/methods/messages_forwardMessage.md diff --git a/docs/old/API_docs_v33/methods/messages_forwardMessages.md b/docs/old/API_docs_v33/methods/messages_forwardMessages.md new file mode 100644 index 00000000..77dc96f1 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getAllStickers.md b/docs/old/API_docs_v33/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getChats.md b/docs/old/API_docs_v33/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getDhConfig.md b/docs/old/API_docs_v33/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getDialogs.md b/docs/old/API_docs_v33/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe2b4aea --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getDialogs.md @@ -0,0 +1,39 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getFullChat.md b/docs/old/API_docs_v33/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getHistory.md b/docs/old/API_docs_v33/methods/messages_getHistory.md new file mode 100644 index 00000000..6788ebd3 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_getMessages.md b/docs/old/API_docs_v33/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getStickerSet.md b/docs/old/API_docs_v33/methods/messages_getStickerSet.md similarity index 100% rename from docs/API_docs_46/methods/messages_getStickerSet.md rename to docs/old/API_docs_v33/methods/messages_getStickerSet.md diff --git a/docs/old/API_docs_v33/methods/messages_getStickers.md b/docs/old/API_docs_v33/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v33/methods/messages_getWebPagePreview.md similarity index 100% rename from docs/API_docs_55/methods/messages_getWebPagePreview.md rename to docs/old/API_docs_v33/methods/messages_getWebPagePreview.md diff --git a/docs/API_docs_46/methods/messages_importChatInvite.md b/docs/old/API_docs_v33/methods/messages_importChatInvite.md similarity index 100% rename from docs/API_docs_46/methods/messages_importChatInvite.md rename to docs/old/API_docs_v33/methods/messages_importChatInvite.md diff --git a/docs/API_docs_46/methods/messages_installStickerSet.md b/docs/old/API_docs_v33/methods/messages_installStickerSet.md similarity index 100% rename from docs/API_docs_46/methods/messages_installStickerSet.md rename to docs/old/API_docs_v33/methods/messages_installStickerSet.md diff --git a/docs/old/API_docs_v33/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v33/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_readHistory.md b/docs/old/API_docs_v33/methods/messages_readHistory.md new file mode 100644 index 00000000..34f28811 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_readHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_readMessageContents.md b/docs/old/API_docs_v33/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_receivedMessages.md b/docs/old/API_docs_v33/methods/messages_receivedMessages.md similarity index 100% rename from docs/API_docs_46/methods/messages_receivedMessages.md rename to docs/old/API_docs_v33/methods/messages_receivedMessages.md diff --git a/docs/old/API_docs_v33/methods/messages_receivedQueue.md b/docs/old/API_docs_v33/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_requestEncryption.md b/docs/old/API_docs_v33/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_search.md b/docs/old/API_docs_v33/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_sendBroadcast.md b/docs/old/API_docs_v33/methods/messages_sendBroadcast.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendBroadcast.md rename to docs/old/API_docs_v33/methods/messages_sendBroadcast.md diff --git a/docs/old/API_docs_v33/methods/messages_sendEncrypted.md b/docs/old/API_docs_v33/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v33/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v33/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_sendMedia.md b/docs/old/API_docs_v33/methods/messages_sendMedia.md new file mode 100644 index 00000000..3f2599c8 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_sendMedia.md @@ -0,0 +1,40 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_sendMessage.md b/docs/old/API_docs_v33/methods/messages_sendMessage.md new file mode 100644 index 00000000..fe7f0654 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_sendMessage.md @@ -0,0 +1,40 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [messages\_SentMessage](../types/messages_SentMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentMessage = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v33/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_setTyping.md b/docs/old/API_docs_v33/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/messages_startBot.md b/docs/old/API_docs_v33/methods/messages_startBot.md new file mode 100644 index 00000000..c3bc4077 --- /dev/null +++ b/docs/old/API_docs_v33/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => int, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v33/methods/messages_uninstallStickerSet.md similarity index 100% rename from docs/API_docs_46/methods/messages_uninstallStickerSet.md rename to docs/old/API_docs_v33/methods/messages_uninstallStickerSet.md diff --git a/docs/old/API_docs_v33/methods/photos_deletePhotos.md b/docs/old/API_docs_v33/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v33/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/photos_getUserPhotos.md b/docs/old/API_docs_v33/methods/photos_getUserPhotos.md similarity index 100% rename from docs/API_docs_46/methods/photos_getUserPhotos.md rename to docs/old/API_docs_v33/methods/photos_getUserPhotos.md diff --git a/docs/old/API_docs_v33/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v33/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v33/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v33/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v33/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/updates_getDifference.md b/docs/old/API_docs_v33/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v33/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/updates_getState.md b/docs/old/API_docs_v33/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v33/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/upload_getFile.md b/docs/old/API_docs_v33/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v33/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v33/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v33/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/upload_saveFilePart.md b/docs/old/API_docs_v33/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v33/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/users_getFullUser.md b/docs/old/API_docs_v33/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v33/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/methods/users_getUsers.md b/docs/old/API_docs_v33/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v33/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/!X.md b/docs/old/API_docs_v33/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v33/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/AccountDaysTTL.md b/docs/old/API_docs_v33/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v33/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v33/types/Audio.md b/docs/old/API_docs_v33/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v33/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Authorization.md b/docs/old/API_docs_v33/types/Authorization.md similarity index 100% rename from docs/API_docs_55/types/Authorization.md rename to docs/old/API_docs_v33/types/Authorization.md diff --git a/docs/old/API_docs_v33/types/Bool.md b/docs/old/API_docs_v33/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v33/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/API_docs_46/types/BotCommand.md b/docs/old/API_docs_v33/types/BotCommand.md similarity index 100% rename from docs/API_docs_46/types/BotCommand.md rename to docs/old/API_docs_v33/types/BotCommand.md diff --git a/docs/API_docs_46/types/BotInfo.md b/docs/old/API_docs_v33/types/BotInfo.md similarity index 100% rename from docs/API_docs_46/types/BotInfo.md rename to docs/old/API_docs_v33/types/BotInfo.md diff --git a/docs/old/API_docs_v33/types/Chat.md b/docs/old/API_docs_v33/types/Chat.md new file mode 100644 index 00000000..e02c846a --- /dev/null +++ b/docs/old/API_docs_v33/types/Chat.md @@ -0,0 +1,25 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[geoChat](../constructors/geoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ChatFull.md b/docs/old/API_docs_v33/types/ChatFull.md new file mode 100644 index 00000000..a63ad7e6 --- /dev/null +++ b/docs/old/API_docs_v33/types/ChatFull.md @@ -0,0 +1,19 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ChatInvite.md b/docs/old/API_docs_v33/types/ChatInvite.md similarity index 100% rename from docs/API_docs_46/types/ChatInvite.md rename to docs/old/API_docs_v33/types/ChatInvite.md diff --git a/docs/old/API_docs_v33/types/ChatLocated.md b/docs/old/API_docs_v33/types/ChatLocated.md new file mode 100644 index 00000000..c3009878 --- /dev/null +++ b/docs/old/API_docs_v33/types/ChatLocated.md @@ -0,0 +1,19 @@ +--- +title: ChatLocated +description: constructors and methods of type ChatLocated +--- +## Type: ChatLocated +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatLocated](../constructors/chatLocated.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ChatParticipant.md b/docs/old/API_docs_v33/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v33/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ChatParticipants.md b/docs/old/API_docs_v33/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v33/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ChatPhoto.md b/docs/old/API_docs_v33/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v33/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Config.md b/docs/old/API_docs_v33/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v33/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v33/types/Contact.md b/docs/old/API_docs_v33/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v33/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ContactBlocked.md b/docs/old/API_docs_v33/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v33/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ContactFound.md b/docs/old/API_docs_v33/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v33/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ContactLink.md b/docs/old/API_docs_v33/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v33/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ContactStatus.md b/docs/old/API_docs_v33/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v33/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v33/types/ContactSuggested.md b/docs/old/API_docs_v33/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v33/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/DcOption.md b/docs/old/API_docs_v33/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v33/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Dialog.md b/docs/old/API_docs_v33/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v33/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/DisabledFeature.md b/docs/old/API_docs_v33/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v33/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Document.md b/docs/old/API_docs_v33/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v33/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/DocumentAttribute.md b/docs/old/API_docs_v33/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v33/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/EncryptedChat.md b/docs/old/API_docs_v33/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v33/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v33/types/EncryptedFile.md b/docs/old/API_docs_v33/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v33/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/EncryptedMessage.md b/docs/old/API_docs_v33/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v33/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Error.md b/docs/old/API_docs_v33/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v33/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ExportedChatInvite.md b/docs/old/API_docs_v33/types/ExportedChatInvite.md new file mode 100644 index 00000000..c4c3429c --- /dev/null +++ b/docs/old/API_docs_v33/types/ExportedChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + + + diff --git a/docs/old/API_docs_v33/types/FileLocation.md b/docs/old/API_docs_v33/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v33/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/GeoChatMessage.md b/docs/old/API_docs_v33/types/GeoChatMessage.md new file mode 100644 index 00000000..4e3d3d37 --- /dev/null +++ b/docs/old/API_docs_v33/types/GeoChatMessage.md @@ -0,0 +1,23 @@ +--- +title: GeoChatMessage +description: constructors and methods of type GeoChatMessage +--- +## Type: GeoChatMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoChatMessageEmpty](../constructors/geoChatMessageEmpty.md) + +[geoChatMessage](../constructors/geoChatMessage.md) + +[geoChatMessageService](../constructors/geoChatMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/GeoPoint.md b/docs/old/API_docs_v33/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v33/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/ImportedContact.md b/docs/old/API_docs_v33/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v33/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputAppEvent.md b/docs/old/API_docs_v33/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputAudio.md b/docs/old/API_docs_v33/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v33/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputChatPhoto.md b/docs/old/API_docs_v33/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputContact.md b/docs/old/API_docs_v33/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputDocument.md b/docs/old/API_docs_v33/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputEncryptedChat.md b/docs/old/API_docs_v33/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputEncryptedFile.md b/docs/old/API_docs_v33/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputFile.md b/docs/old/API_docs_v33/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputFileLocation.md b/docs/old/API_docs_v33/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v33/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputGeoChat.md b/docs/old/API_docs_v33/types/InputGeoChat.md new file mode 100644 index 00000000..51c98288 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputGeoChat.md @@ -0,0 +1,19 @@ +--- +title: InputGeoChat +description: constructors and methods of type InputGeoChat +--- +## Type: InputGeoChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoChat](../constructors/inputGeoChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputGeoPoint.md b/docs/old/API_docs_v33/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputMedia.md b/docs/old/API_docs_v33/types/InputMedia.md new file mode 100644 index 00000000..5112cbfa --- /dev/null +++ b/docs/old/API_docs_v33/types/InputMedia.md @@ -0,0 +1,45 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputNotifyPeer.md b/docs/old/API_docs_v33/types/InputNotifyPeer.md new file mode 100644 index 00000000..b3c22f62 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputNotifyPeer.md @@ -0,0 +1,27 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + +[inputNotifyGeoChatPeer](../constructors/inputNotifyGeoChatPeer.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPeer.md b/docs/old/API_docs_v33/types/InputPeer.md new file mode 100644 index 00000000..a1b12a32 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPeer.md @@ -0,0 +1,25 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v33/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPeerNotifySettings.md b/docs/old/API_docs_v33/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPhoto.md b/docs/old/API_docs_v33/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPhotoCrop.md b/docs/old/API_docs_v33/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPrivacyKey.md b/docs/old/API_docs_v33/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/InputPrivacyRule.md b/docs/old/API_docs_v33/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v33/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputStickerSet.md b/docs/old/API_docs_v33/types/InputStickerSet.md similarity index 100% rename from docs/API_docs_46/types/InputStickerSet.md rename to docs/old/API_docs_v33/types/InputStickerSet.md diff --git a/docs/API_docs_46/types/InputUser.md b/docs/old/API_docs_v33/types/InputUser.md similarity index 100% rename from docs/API_docs_46/types/InputUser.md rename to docs/old/API_docs_v33/types/InputUser.md diff --git a/docs/old/API_docs_v33/types/InputVideo.md b/docs/old/API_docs_v33/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v33/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/KeyboardButton.md b/docs/old/API_docs_v33/types/KeyboardButton.md similarity index 100% rename from docs/API_docs_46/types/KeyboardButton.md rename to docs/old/API_docs_v33/types/KeyboardButton.md diff --git a/docs/API_docs_46/types/KeyboardButtonRow.md b/docs/old/API_docs_v33/types/KeyboardButtonRow.md similarity index 100% rename from docs/API_docs_46/types/KeyboardButtonRow.md rename to docs/old/API_docs_v33/types/KeyboardButtonRow.md diff --git a/docs/old/API_docs_v33/types/Message.md b/docs/old/API_docs_v33/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v33/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/MessageAction.md b/docs/old/API_docs_v33/types/MessageAction.md new file mode 100644 index 00000000..92230ec6 --- /dev/null +++ b/docs/old/API_docs_v33/types/MessageAction.md @@ -0,0 +1,37 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionGeoChatCreate](../constructors/messageActionGeoChatCreate.md) + +[messageActionGeoChatCheckin](../constructors/messageActionGeoChatCheckin.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/MessageMedia.md b/docs/old/API_docs_v33/types/MessageMedia.md similarity index 100% rename from docs/API_docs_46/types/MessageMedia.md rename to docs/old/API_docs_v33/types/MessageMedia.md diff --git a/docs/old/API_docs_v33/types/MessagesFilter.md b/docs/old/API_docs_v33/types/MessagesFilter.md new file mode 100644 index 00000000..bd3ccf09 --- /dev/null +++ b/docs/old/API_docs_v33/types/MessagesFilter.md @@ -0,0 +1,33 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/NearestDc.md b/docs/old/API_docs_v33/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v33/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v33/types/NotifyPeer.md b/docs/old/API_docs_v33/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v33/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Null.md b/docs/old/API_docs_v33/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v33/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Peer.md b/docs/old/API_docs_v33/types/Peer.md new file mode 100644 index 00000000..85fc991d --- /dev/null +++ b/docs/old/API_docs_v33/types/Peer.md @@ -0,0 +1,21 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/PeerNotifyEvents.md b/docs/old/API_docs_v33/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v33/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/PeerNotifySettings.md b/docs/old/API_docs_v33/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v33/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v33/types/Photo.md b/docs/old/API_docs_v33/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v33/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/PhotoSize.md b/docs/old/API_docs_v33/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v33/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/PrivacyKey.md b/docs/old/API_docs_v33/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v33/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/PrivacyRule.md b/docs/old/API_docs_v33/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v33/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v33/types/ReceivedNotifyMessage.md similarity index 100% rename from docs/API_docs_46/types/ReceivedNotifyMessage.md rename to docs/old/API_docs_v33/types/ReceivedNotifyMessage.md diff --git a/docs/API_docs_46/types/ReplyMarkup.md b/docs/old/API_docs_v33/types/ReplyMarkup.md similarity index 100% rename from docs/API_docs_46/types/ReplyMarkup.md rename to docs/old/API_docs_v33/types/ReplyMarkup.md diff --git a/docs/old/API_docs_v33/types/SendMessageAction.md b/docs/old/API_docs_v33/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v33/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/StickerPack.md b/docs/old/API_docs_v33/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v33/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/StickerSet.md b/docs/old/API_docs_v33/types/StickerSet.md similarity index 100% rename from docs/API_docs_46/types/StickerSet.md rename to docs/old/API_docs_v33/types/StickerSet.md diff --git a/docs/old/API_docs_v33/types/Update.md b/docs/old/API_docs_v33/types/Update.md new file mode 100644 index 00000000..b51538be --- /dev/null +++ b/docs/old/API_docs_v33/types/Update.md @@ -0,0 +1,75 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewGeoChatMessage](../constructors/updateNewGeoChatMessage.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Updates.md b/docs/old/API_docs_v33/types/Updates.md new file mode 100644 index 00000000..0c532200 --- /dev/null +++ b/docs/old/API_docs_v33/types/Updates.md @@ -0,0 +1,51 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + + + diff --git a/docs/old/API_docs_v33/types/User.md b/docs/old/API_docs_v33/types/User.md new file mode 100644 index 00000000..f72fd697 --- /dev/null +++ b/docs/old/API_docs_v33/types/User.md @@ -0,0 +1,33 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v33/types/UserFull.md b/docs/old/API_docs_v33/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v33/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v33/types/UserProfilePhoto.md b/docs/old/API_docs_v33/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v33/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v33/types/UserStatus.md b/docs/old/API_docs_v33/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v33/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Vector t.md b/docs/old/API_docs_v33/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v33/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/Video.md b/docs/old/API_docs_v33/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v33/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/WallPaper.md b/docs/old/API_docs_v33/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v33/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/API_docs_55/types/WebPage.md b/docs/old/API_docs_v33/types/WebPage.md similarity index 100% rename from docs/API_docs_55/types/WebPage.md rename to docs/old/API_docs_v33/types/WebPage.md diff --git a/docs/old/API_docs_v33/types/X.md b/docs/old/API_docs_v33/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v33/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/API_docs_55/types/account_Authorizations.md b/docs/old/API_docs_v33/types/account_Authorizations.md similarity index 100% rename from docs/API_docs_55/types/account_Authorizations.md rename to docs/old/API_docs_v33/types/account_Authorizations.md diff --git a/docs/old/API_docs_v33/types/account_Password.md b/docs/old/API_docs_v33/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v33/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/API_docs_55/types/account_PasswordInputSettings.md b/docs/old/API_docs_v33/types/account_PasswordInputSettings.md similarity index 100% rename from docs/API_docs_55/types/account_PasswordInputSettings.md rename to docs/old/API_docs_v33/types/account_PasswordInputSettings.md diff --git a/docs/API_docs_55/types/account_PasswordSettings.md b/docs/old/API_docs_v33/types/account_PasswordSettings.md similarity index 100% rename from docs/API_docs_55/types/account_PasswordSettings.md rename to docs/old/API_docs_v33/types/account_PasswordSettings.md diff --git a/docs/old/API_docs_v33/types/account_PrivacyRules.md b/docs/old/API_docs_v33/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v33/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v33/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v33/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v33/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/API_docs_46/types/auth_Authorization.md b/docs/old/API_docs_v33/types/auth_Authorization.md similarity index 100% rename from docs/API_docs_46/types/auth_Authorization.md rename to docs/old/API_docs_v33/types/auth_Authorization.md diff --git a/docs/old/API_docs_v33/types/auth_CheckedPhone.md b/docs/old/API_docs_v33/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v33/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v33/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v33/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v33/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/API_docs_55/types/auth_PasswordRecovery.md b/docs/old/API_docs_v33/types/auth_PasswordRecovery.md similarity index 100% rename from docs/API_docs_55/types/auth_PasswordRecovery.md rename to docs/old/API_docs_v33/types/auth_PasswordRecovery.md diff --git a/docs/old/API_docs_v33/types/auth_SentCode.md b/docs/old/API_docs_v33/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v33/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v33/types/bytes.md b/docs/old/API_docs_v33/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v33/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/contacts_Blocked.md b/docs/old/API_docs_v33/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v33/types/contacts_Contacts.md b/docs/old/API_docs_v33/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v33/types/contacts_Found.md b/docs/old/API_docs_v33/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v33/types/contacts_ImportedContacts.md b/docs/old/API_docs_v33/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v33/types/contacts_Link.md b/docs/old/API_docs_v33/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v33/types/contacts_Suggested.md b/docs/old/API_docs_v33/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v33/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v33/types/double.md b/docs/old/API_docs_v33/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v33/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/geochats_Located.md b/docs/old/API_docs_v33/types/geochats_Located.md new file mode 100644 index 00000000..64662c10 --- /dev/null +++ b/docs/old/API_docs_v33/types/geochats_Located.md @@ -0,0 +1,21 @@ +--- +title: geochats_Located +description: constructors and methods of type geochats_Located +--- +## Type: geochats\_Located +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_located](../constructors/geochats_located.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getLocated](../methods/geochats_getLocated.md) + + + diff --git a/docs/old/API_docs_v33/types/geochats_Messages.md b/docs/old/API_docs_v33/types/geochats_Messages.md new file mode 100644 index 00000000..ec03bc3f --- /dev/null +++ b/docs/old/API_docs_v33/types/geochats_Messages.md @@ -0,0 +1,27 @@ +--- +title: geochats_Messages +description: constructors and methods of type geochats_Messages +--- +## Type: geochats\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_messages](../constructors/geochats_messages.md) + +[geochats\_messagesSlice](../constructors/geochats_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->getRecents](../methods/geochats_getRecents.md) + +[$MadelineProto->geochats->search](../methods/geochats_search.md) + +[$MadelineProto->geochats->getHistory](../methods/geochats_getHistory.md) + + + diff --git a/docs/old/API_docs_v33/types/geochats_StatedMessage.md b/docs/old/API_docs_v33/types/geochats_StatedMessage.md new file mode 100644 index 00000000..8bb77081 --- /dev/null +++ b/docs/old/API_docs_v33/types/geochats_StatedMessage.md @@ -0,0 +1,31 @@ +--- +title: geochats_StatedMessage +description: constructors and methods of type geochats_StatedMessage +--- +## Type: geochats\_StatedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geochats\_statedMessage](../constructors/geochats_statedMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->geochats->checkin](../methods/geochats_checkin.md) + +[$MadelineProto->geochats->editChatTitle](../methods/geochats_editChatTitle.md) + +[$MadelineProto->geochats->editChatPhoto](../methods/geochats_editChatPhoto.md) + +[$MadelineProto->geochats->sendMessage](../methods/geochats_sendMessage.md) + +[$MadelineProto->geochats->sendMedia](../methods/geochats_sendMedia.md) + +[$MadelineProto->geochats->createGeoChat](../methods/geochats_createGeoChat.md) + + + diff --git a/docs/API_docs_46/types/help_AppChangelog.md b/docs/old/API_docs_v33/types/help_AppChangelog.md similarity index 100% rename from docs/API_docs_46/types/help_AppChangelog.md rename to docs/old/API_docs_v33/types/help_AppChangelog.md diff --git a/docs/old/API_docs_v33/types/help_AppUpdate.md b/docs/old/API_docs_v33/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v33/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v33/types/help_InviteText.md b/docs/old/API_docs_v33/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v33/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v33/types/help_Support.md b/docs/old/API_docs_v33/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v33/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v33/types/index.md b/docs/old/API_docs_v33/types/index.md new file mode 100644 index 00000000..f6b296e4 --- /dev/null +++ b/docs/old/API_docs_v33/types/index.md @@ -0,0 +1,276 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatLocated](ChatLocated.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[GeoChatMessage](GeoChatMessage.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoChat](InputGeoChat.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageMedia](MessageMedia.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[geochats\_Located](geochats_Located.md) + +[geochats\_Messages](geochats_Messages.md) + +[geochats\_StatedMessage](geochats_StatedMessage.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Message](messages_Message.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_SentMessage](messages_SentMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v33/types/int.md b/docs/old/API_docs_v33/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v33/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/int128.md b/docs/old/API_docs_v33/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v33/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/int256.md b/docs/old/API_docs_v33/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v33/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/int512.md b/docs/old/API_docs_v33/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v33/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/long.md b/docs/old/API_docs_v33/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v33/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/messages_AffectedHistory.md b/docs/old/API_docs_v33/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_AffectedMessages.md b/docs/old/API_docs_v33/types/messages_AffectedMessages.md new file mode 100644 index 00000000..1c96de40 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_AffectedMessages.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_AllStickers.md b/docs/old/API_docs_v33/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_ChatFull.md b/docs/old/API_docs_v33/types/messages_ChatFull.md new file mode 100644 index 00000000..a866cab1 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->geochats->getFullChat](../methods/geochats_getFullChat.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_Chats.md b/docs/old/API_docs_v33/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_DhConfig.md b/docs/old/API_docs_v33/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_Dialogs.md b/docs/old/API_docs_v33/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_Message.md b/docs/old/API_docs_v33/types/messages_Message.md new file mode 100644 index 00000000..1c5384d0 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_Message.md @@ -0,0 +1,19 @@ +--- +title: messages_Message +description: constructors and methods of type messages_Message +--- +## Type: messages\_Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messageEmpty](../constructors/messages_messageEmpty.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/messages_Messages.md b/docs/old/API_docs_v33/types/messages_Messages.md new file mode 100644 index 00000000..e47583e2 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_Messages.md @@ -0,0 +1,27 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v33/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v33/types/messages_SentMessage.md b/docs/old/API_docs_v33/types/messages_SentMessage.md new file mode 100644 index 00000000..83f798e2 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_SentMessage.md @@ -0,0 +1,23 @@ +--- +title: messages_SentMessage +description: constructors and methods of type messages_SentMessage +--- +## Type: messages\_SentMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentMessage](../constructors/messages_sentMessage.md) + +[messages\_sentMessageLink](../constructors/messages_sentMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + + + diff --git a/docs/API_docs_46/types/messages_StickerSet.md b/docs/old/API_docs_v33/types/messages_StickerSet.md similarity index 100% rename from docs/API_docs_46/types/messages_StickerSet.md rename to docs/old/API_docs_v33/types/messages_StickerSet.md diff --git a/docs/old/API_docs_v33/types/messages_Stickers.md b/docs/old/API_docs_v33/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v33/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v33/types/photos_Photo.md b/docs/old/API_docs_v33/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v33/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v33/types/photos_Photos.md b/docs/old/API_docs_v33/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v33/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v33/types/storage_FileType.md b/docs/old/API_docs_v33/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v33/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v33/types/string.md b/docs/old/API_docs_v33/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v33/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v33/types/updates_Difference.md b/docs/old/API_docs_v33/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v33/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v33/types/updates_State.md b/docs/old/API_docs_v33/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v33/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v33/types/upload_File.md b/docs/old/API_docs_v33/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v33/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v38/constructors/accountDaysTTL.md b/docs/old/API_docs_v38/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_authorizations.md b/docs/old/API_docs_v38/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_noPassword.md b/docs/old/API_docs_v38/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_password.md b/docs/old/API_docs_v38/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v38/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_passwordSettings.md b/docs/old/API_docs_v38/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_privacyRules.md b/docs/old/API_docs_v38/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v38/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/audio.md b/docs/old/API_docs_v38/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/audioEmpty.md b/docs/old/API_docs_v38/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_authorization.md b/docs/old/API_docs_v38/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_checkedPhone.md b/docs/old/API_docs_v38/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v38/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v38/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_sentAppCode.md b/docs/old/API_docs_v38/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/auth_sentCode.md b/docs/old/API_docs_v38/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/authorization.md b/docs/old/API_docs_v38/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/boolFalse.md b/docs/old/API_docs_v38/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/boolTrue.md b/docs/old/API_docs_v38/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/botCommand.md b/docs/old/API_docs_v38/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/botInfo.md b/docs/old/API_docs_v38/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/botInfoEmpty.md b/docs/old/API_docs_v38/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channel.md b/docs/old/API_docs_v38/constructors/channel.md new file mode 100644 index 00000000..71ece20b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channel.md @@ -0,0 +1,45 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/channelForbidden.md b/docs/old/API_docs_v38/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/channelFull.md b/docs/old/API_docs_v38/constructors/channelFull.md new file mode 100644 index 00000000..4b753db5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelFull.md @@ -0,0 +1,36 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelMessagesFilter.md b/docs/old/API_docs_v38/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..508827f0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelMessagesFilter.md @@ -0,0 +1,26 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v38/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v38/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipant.md b/docs/old/API_docs_v38/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantCreator.md b/docs/old/API_docs_v38/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantEditor.md b/docs/old/API_docs_v38/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantKicked.md b/docs/old/API_docs_v38/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantModerator.md b/docs/old/API_docs_v38/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantSelf.md b/docs/old/API_docs_v38/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v38/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v38/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v38/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelRoleEditor.md b/docs/old/API_docs_v38/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelRoleEmpty.md b/docs/old/API_docs_v38/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channelRoleModerator.md b/docs/old/API_docs_v38/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channels_channelParticipant.md b/docs/old/API_docs_v38/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/channels_channelParticipants.md b/docs/old/API_docs_v38/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chat.md b/docs/old/API_docs_v38/constructors/chat.md new file mode 100644 index 00000000..5ba12a29 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chat.md @@ -0,0 +1,44 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/chatEmpty.md b/docs/old/API_docs_v38/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/chatForbidden.md b/docs/old/API_docs_v38/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/chatFull.md b/docs/old/API_docs_v38/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatInvite.md b/docs/old/API_docs_v38/constructors/chatInvite.md new file mode 100644 index 00000000..e2475521 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatInvite.md @@ -0,0 +1,26 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatInviteAlready.md b/docs/old/API_docs_v38/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatInviteEmpty.md b/docs/old/API_docs_v38/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatInviteExported.md b/docs/old/API_docs_v38/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatParticipant.md b/docs/old/API_docs_v38/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatParticipants.md b/docs/old/API_docs_v38/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v38/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatPhoto.md b/docs/old/API_docs_v38/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v38/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/config.md b/docs/old/API_docs_v38/constructors/config.md new file mode 100644 index 00000000..d1f3688b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contact.md b/docs/old/API_docs_v38/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactBlocked.md b/docs/old/API_docs_v38/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactLinkContact.md b/docs/old/API_docs_v38/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v38/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactLinkNone.md b/docs/old/API_docs_v38/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactLinkUnknown.md b/docs/old/API_docs_v38/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactStatus.md b/docs/old/API_docs_v38/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contactSuggested.md b/docs/old/API_docs_v38/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_blocked.md b/docs/old/API_docs_v38/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v38/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_contacts.md b/docs/old/API_docs_v38/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v38/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_found.md b/docs/old/API_docs_v38/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_importedContacts.md b/docs/old/API_docs_v38/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_link.md b/docs/old/API_docs_v38/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v38/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/contacts_suggested.md b/docs/old/API_docs_v38/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/dcOption.md b/docs/old/API_docs_v38/constructors/dcOption.md new file mode 100644 index 00000000..2a6e2741 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/dcOption.md @@ -0,0 +1,28 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/dialog.md b/docs/old/API_docs_v38/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/dialogChannel.md b/docs/old/API_docs_v38/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/disabledFeature.md b/docs/old/API_docs_v38/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/document.md b/docs/old/API_docs_v38/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v38/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeAudio.md b/docs/old/API_docs_v38/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeFilename.md b/docs/old/API_docs_v38/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v38/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeSticker.md b/docs/old/API_docs_v38/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentAttributeVideo.md b/docs/old/API_docs_v38/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/documentEmpty.md b/docs/old/API_docs_v38/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedChat.md b/docs/old/API_docs_v38/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v38/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v38/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedChatRequested.md b/docs/old/API_docs_v38/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v38/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedFile.md b/docs/old/API_docs_v38/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v38/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedMessage.md b/docs/old/API_docs_v38/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/encryptedMessageService.md b/docs/old/API_docs_v38/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/error.md b/docs/old/API_docs_v38/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/fileLocation.md b/docs/old/API_docs_v38/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v38/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/geoPoint.md b/docs/old/API_docs_v38/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/geoPointEmpty.md b/docs/old/API_docs_v38/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_appChangelog.md b/docs/old/API_docs_v38/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v38/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_appUpdate.md b/docs/old/API_docs_v38/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_inviteText.md b/docs/old/API_docs_v38/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_noAppUpdate.md b/docs/old/API_docs_v38/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/help_support.md b/docs/old/API_docs_v38/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/importedContact.md b/docs/old/API_docs_v38/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/index.md b/docs/old/API_docs_v38/constructors/index.md new file mode 100644 index 00000000..9530fe22 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/index.md @@ -0,0 +1,1039 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$channel](../constructors/channel.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \[\]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \[\]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v38/constructors/inputAppEvent.md b/docs/old/API_docs_v38/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputAudio.md b/docs/old/API_docs_v38/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputAudioEmpty.md b/docs/old/API_docs_v38/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v38/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputChannel.md b/docs/old/API_docs_v38/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputChannelEmpty.md b/docs/old/API_docs_v38/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputChatPhoto.md b/docs/old/API_docs_v38/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v38/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v38/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputDocument.md b/docs/old/API_docs_v38/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v38/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v38/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedChat.md b/docs/old/API_docs_v38/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedFile.md b/docs/old/API_docs_v38/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v38/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v38/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v38/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputFile.md b/docs/old/API_docs_v38/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputFileBig.md b/docs/old/API_docs_v38/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputFileLocation.md b/docs/old/API_docs_v38/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputGeoPoint.md b/docs/old/API_docs_v38/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v38/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaAudio.md b/docs/old/API_docs_v38/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaContact.md b/docs/old/API_docs_v38/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaDocument.md b/docs/old/API_docs_v38/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaEmpty.md b/docs/old/API_docs_v38/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v38/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaPhoto.md b/docs/old/API_docs_v38/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v38/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaVenue.md b/docs/old/API_docs_v38/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMediaVideo.md b/docs/old/API_docs_v38/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v38/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputNotifyAll.md b/docs/old/API_docs_v38/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputNotifyChats.md b/docs/old/API_docs_v38/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputNotifyPeer.md b/docs/old/API_docs_v38/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputNotifyUsers.md b/docs/old/API_docs_v38/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPeerChannel.md b/docs/old/API_docs_v38/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputPeerChat.md b/docs/old/API_docs_v38/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputPeerEmpty.md b/docs/old/API_docs_v38/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v38/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPeerSelf.md b/docs/old/API_docs_v38/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputPeerUser.md b/docs/old/API_docs_v38/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputPhoneContact.md b/docs/old/API_docs_v38/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPhoto.md b/docs/old/API_docs_v38/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPhotoCrop.md b/docs/old/API_docs_v38/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v38/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v38/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v38/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputStickerSetID.md b/docs/old/API_docs_v38/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v38/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputUser.md b/docs/old/API_docs_v38/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputUserEmpty.md b/docs/old/API_docs_v38/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputUserSelf.md b/docs/old/API_docs_v38/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/inputVideo.md b/docs/old/API_docs_v38/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputVideoEmpty.md b/docs/old/API_docs_v38/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v38/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v38/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/keyboardButton.md b/docs/old/API_docs_v38/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/keyboardButtonRow.md b/docs/old/API_docs_v38/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/message.md b/docs/old/API_docs_v38/constructors/message.md new file mode 100644 index 00000000..311823fb --- /dev/null +++ b/docs/old/API_docs_v38/constructors/message.md @@ -0,0 +1,37 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v38/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v38/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatCreate.md b/docs/old/API_docs_v38/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v38/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v38/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v38/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v38/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v38/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageActionEmpty.md b/docs/old/API_docs_v38/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEmpty.md b/docs/old/API_docs_v38/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityBold.md b/docs/old/API_docs_v38/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v38/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityCode.md b/docs/old/API_docs_v38/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityEmail.md b/docs/old/API_docs_v38/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityHashtag.md b/docs/old/API_docs_v38/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityItalic.md b/docs/old/API_docs_v38/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityMention.md b/docs/old/API_docs_v38/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityPre.md b/docs/old/API_docs_v38/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v38/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityUnknown.md b/docs/old/API_docs_v38/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageEntityUrl.md b/docs/old/API_docs_v38/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageGroup.md b/docs/old/API_docs_v38/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaAudio.md b/docs/old/API_docs_v38/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaContact.md b/docs/old/API_docs_v38/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaDocument.md b/docs/old/API_docs_v38/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaEmpty.md b/docs/old/API_docs_v38/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaGeo.md b/docs/old/API_docs_v38/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaPhoto.md b/docs/old/API_docs_v38/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v38/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaVenue.md b/docs/old/API_docs_v38/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaVideo.md b/docs/old/API_docs_v38/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageMediaWebPage.md b/docs/old/API_docs_v38/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageRange.md b/docs/old/API_docs_v38/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messageService.md b/docs/old/API_docs_v38/constructors/messageService.md new file mode 100644 index 00000000..546073d4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_affectedHistory.md b/docs/old/API_docs_v38/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_affectedMessages.md b/docs/old/API_docs_v38/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_allStickers.md b/docs/old/API_docs_v38/constructors/messages_allStickers.md new file mode 100644 index 00000000..807b6985 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v38/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_channelMessages.md b/docs/old/API_docs_v38/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_chatFull.md b/docs/old/API_docs_v38/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_chats.md b/docs/old/API_docs_v38/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_dhConfig.md b/docs/old/API_docs_v38/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v38/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_dialogs.md b/docs/old/API_docs_v38/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v38/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_messages.md b/docs/old/API_docs_v38/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_messagesSlice.md b/docs/old/API_docs_v38/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v38/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v38/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_stickerSet.md b/docs/old/API_docs_v38/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_stickers.md b/docs/old/API_docs_v38/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v38/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v38/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/nearestDc.md b/docs/old/API_docs_v38/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/notifyAll.md b/docs/old/API_docs_v38/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/notifyChats.md b/docs/old/API_docs_v38/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/notifyPeer.md b/docs/old/API_docs_v38/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/notifyUsers.md b/docs/old/API_docs_v38/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v38/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/null.md b/docs/old/API_docs_v38/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/peerChannel.md b/docs/old/API_docs_v38/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/peerChat.md b/docs/old/API_docs_v38/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v38/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v38/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/peerNotifySettings.md b/docs/old/API_docs_v38/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v38/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/peerUser.md b/docs/old/API_docs_v38/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/photo.md b/docs/old/API_docs_v38/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photoCachedSize.md b/docs/old/API_docs_v38/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photoEmpty.md b/docs/old/API_docs_v38/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photoSize.md b/docs/old/API_docs_v38/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photoSizeEmpty.md b/docs/old/API_docs_v38/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photos_photo.md b/docs/old/API_docs_v38/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photos_photos.md b/docs/old/API_docs_v38/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/photos_photosSlice.md b/docs/old/API_docs_v38/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v38/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v38/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v38/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v38/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v38/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v38/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v38/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v38/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v38/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..8c0e953c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/replyKeyboardForceReply.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/replyKeyboardHide.md b/docs/old/API_docs_v38/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..67df993e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/replyKeyboardHide.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v38/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..cdc983c8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/replyKeyboardMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v38/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v38/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v38/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v38/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v38/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v38/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v38/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v38/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v38/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v38/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/stickerPack.md b/docs/old/API_docs_v38/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/stickerSet.md b/docs/old/API_docs_v38/constructors/stickerSet.md new file mode 100644 index 00000000..719e9576 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/stickerSet.md @@ -0,0 +1,31 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileGif.md b/docs/old/API_docs_v38/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileJpeg.md b/docs/old/API_docs_v38/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileMov.md b/docs/old/API_docs_v38/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileMp3.md b/docs/old/API_docs_v38/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileMp4.md b/docs/old/API_docs_v38/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_filePartial.md b/docs/old/API_docs_v38/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_filePdf.md b/docs/old/API_docs_v38/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_filePng.md b/docs/old/API_docs_v38/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileUnknown.md b/docs/old/API_docs_v38/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/storage_fileWebp.md b/docs/old/API_docs_v38/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChannel.md b/docs/old/API_docs_v38/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChannelGroup.md b/docs/old/API_docs_v38/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v38/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChannelTooLong.md b/docs/old/API_docs_v38/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v38/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v38/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChatParticipants.md b/docs/old/API_docs_v38/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateChatUserTyping.md b/docs/old/API_docs_v38/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateContactLink.md b/docs/old/API_docs_v38/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateContactRegistered.md b/docs/old/API_docs_v38/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateDcOptions.md b/docs/old/API_docs_v38/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v38/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateDeleteMessages.md b/docs/old/API_docs_v38/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v38/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v38/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateEncryption.md b/docs/old/API_docs_v38/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateMessageID.md b/docs/old/API_docs_v38/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateNewAuthorization.md b/docs/old/API_docs_v38/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v38/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v38/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateNewMessage.md b/docs/old/API_docs_v38/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateNotifySettings.md b/docs/old/API_docs_v38/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updatePrivacy.md b/docs/old/API_docs_v38/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v38/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v38/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v38/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v38/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateServiceNotification.md b/docs/old/API_docs_v38/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateShort.md b/docs/old/API_docs_v38/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateShortChatMessage.md b/docs/old/API_docs_v38/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..68bcc21c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateShortChatMessage.md @@ -0,0 +1,36 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateShortMessage.md b/docs/old/API_docs_v38/constructors/updateShortMessage.md new file mode 100644 index 00000000..961f3a38 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateShortMessage.md @@ -0,0 +1,35 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateShortSentMessage.md b/docs/old/API_docs_v38/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..a7ec9a03 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateShortSentMessage.md @@ -0,0 +1,31 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserBlocked.md b/docs/old/API_docs_v38/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserName.md b/docs/old/API_docs_v38/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserPhone.md b/docs/old/API_docs_v38/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserPhoto.md b/docs/old/API_docs_v38/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserStatus.md b/docs/old/API_docs_v38/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateUserTyping.md b/docs/old/API_docs_v38/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updateWebPage.md b/docs/old/API_docs_v38/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates.md b/docs/old/API_docs_v38/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updatesCombined.md b/docs/old/API_docs_v38/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updatesTooLong.md b/docs/old/API_docs_v38/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_channelDifference.md b/docs/old/API_docs_v38/constructors/updates_channelDifference.md new file mode 100644 index 00000000..2cea7e78 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_channelDifference.md @@ -0,0 +1,31 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v38/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..399de274 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v38/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..32ea38ce --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,35 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_difference.md b/docs/old/API_docs_v38/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v38/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_differenceSlice.md b/docs/old/API_docs_v38/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/updates_state.md b/docs/old/API_docs_v38/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v38/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/upload_file.md b/docs/old/API_docs_v38/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v38/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/user.md b/docs/old/API_docs_v38/constructors/user.md new file mode 100644 index 00000000..3149cd4c --- /dev/null +++ b/docs/old/API_docs_v38/constructors/user.md @@ -0,0 +1,47 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/userEmpty.md b/docs/old/API_docs_v38/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/constructors/userFull.md b/docs/old/API_docs_v38/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userProfilePhoto.md b/docs/old/API_docs_v38/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v38/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusEmpty.md b/docs/old/API_docs_v38/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusLastMonth.md b/docs/old/API_docs_v38/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusLastWeek.md b/docs/old/API_docs_v38/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusOffline.md b/docs/old/API_docs_v38/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusOnline.md b/docs/old/API_docs_v38/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/userStatusRecently.md b/docs/old/API_docs_v38/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/vector.md b/docs/old/API_docs_v38/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/video.md b/docs/old/API_docs_v38/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/videoEmpty.md b/docs/old/API_docs_v38/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v38/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/wallPaper.md b/docs/old/API_docs_v38/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v38/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/wallPaperSolid.md b/docs/old/API_docs_v38/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v38/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/webPage.md b/docs/old/API_docs_v38/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/webPageEmpty.md b/docs/old/API_docs_v38/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v38/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v38/constructors/webPagePending.md b/docs/old/API_docs_v38/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v38/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v38/index.md b/docs/old/API_docs_v38/index.md new file mode 100644 index 00000000..8527d5d9 --- /dev/null +++ b/docs/old/API_docs_v38/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v38) +description: MadelineProto API documentation (layer v38) +--- +# MadelineProto API documentation (layer v38) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v38/methods/account_changePhone.md b/docs/old/API_docs_v38/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_checkUsername.md b/docs/old/API_docs_v38/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_deleteAccount.md b/docs/old/API_docs_v38/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getAccountTTL.md b/docs/old/API_docs_v38/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getAuthorizations.md b/docs/old/API_docs_v38/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getNotifySettings.md b/docs/old/API_docs_v38/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getPassword.md b/docs/old/API_docs_v38/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getPasswordSettings.md b/docs/old/API_docs_v38/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getPrivacy.md b/docs/old/API_docs_v38/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_getWallPapers.md b/docs/old/API_docs_v38/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_registerDevice.md b/docs/old/API_docs_v38/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_resetAuthorization.md b/docs/old/API_docs_v38/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_resetNotifySettings.md b/docs/old/API_docs_v38/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v38/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_setAccountTTL.md b/docs/old/API_docs_v38/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_setPrivacy.md b/docs/old/API_docs_v38/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_unregisterDevice.md b/docs/old/API_docs_v38/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v38/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updateNotifySettings.md b/docs/old/API_docs_v38/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v38/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updateProfile.md b/docs/old/API_docs_v38/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updateStatus.md b/docs/old/API_docs_v38/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/account_updateUsername.md b/docs/old/API_docs_v38/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v38/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v38/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_checkPassword.md b/docs/old/API_docs_v38/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_checkPhone.md b/docs/old/API_docs_v38/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_exportAuthorization.md b/docs/old/API_docs_v38/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_importAuthorization.md b/docs/old/API_docs_v38/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v38/methods/auth_importBotAuthorization.md similarity index 100% rename from docs/API_docs_55/methods/auth_importBotAuthorization.md rename to docs/old/API_docs_v38/methods/auth_importBotAuthorization.md diff --git a/docs/old/API_docs_v38/methods/auth_logOut.md b/docs/old/API_docs_v38/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_recoverPassword.md b/docs/old/API_docs_v38/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v38/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v38/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_sendCall.md b/docs/old/API_docs_v38/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_sendCode.md b/docs/old/API_docs_v38/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_sendInvites.md b/docs/old/API_docs_v38/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_sendSms.md b/docs/old/API_docs_v38/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_signIn.md b/docs/old/API_docs_v38/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/auth_signUp.md b/docs/old/API_docs_v38/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v38/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/channels_checkUsername.md b/docs/old/API_docs_v38/methods/channels_checkUsername.md similarity index 100% rename from docs/API_docs_46/methods/channels_checkUsername.md rename to docs/old/API_docs_v38/methods/channels_checkUsername.md diff --git a/docs/old/API_docs_v38/methods/channels_createChannel.md b/docs/old/API_docs_v38/methods/channels_createChannel.md new file mode 100644 index 00000000..ed14dd5a --- /dev/null +++ b/docs/old/API_docs_v38/methods/channels_createChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['title' => string, 'about' => string, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/channels_deleteChannel.md b/docs/old/API_docs_v38/methods/channels_deleteChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_deleteChannel.md rename to docs/old/API_docs_v38/methods/channels_deleteChannel.md diff --git a/docs/API_docs_46/methods/channels_deleteMessages.md b/docs/old/API_docs_v38/methods/channels_deleteMessages.md similarity index 100% rename from docs/API_docs_46/methods/channels_deleteMessages.md rename to docs/old/API_docs_v38/methods/channels_deleteMessages.md diff --git a/docs/API_docs_46/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v38/methods/channels_deleteUserHistory.md similarity index 100% rename from docs/API_docs_46/methods/channels_deleteUserHistory.md rename to docs/old/API_docs_v38/methods/channels_deleteUserHistory.md diff --git a/docs/API_docs_46/methods/channels_editAbout.md b/docs/old/API_docs_v38/methods/channels_editAbout.md similarity index 100% rename from docs/API_docs_46/methods/channels_editAbout.md rename to docs/old/API_docs_v38/methods/channels_editAbout.md diff --git a/docs/old/API_docs_v38/methods/channels_editAdmin.md b/docs/old/API_docs_v38/methods/channels_editAdmin.md new file mode 100644 index 00000000..358d89af --- /dev/null +++ b/docs/old/API_docs_v38/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/channels_editPhoto.md b/docs/old/API_docs_v38/methods/channels_editPhoto.md similarity index 100% rename from docs/API_docs_46/methods/channels_editPhoto.md rename to docs/old/API_docs_v38/methods/channels_editPhoto.md diff --git a/docs/API_docs_46/methods/channels_editTitle.md b/docs/old/API_docs_v38/methods/channels_editTitle.md similarity index 100% rename from docs/API_docs_46/methods/channels_editTitle.md rename to docs/old/API_docs_v38/methods/channels_editTitle.md diff --git a/docs/API_docs_46/methods/channels_exportInvite.md b/docs/old/API_docs_v38/methods/channels_exportInvite.md similarity index 100% rename from docs/API_docs_46/methods/channels_exportInvite.md rename to docs/old/API_docs_v38/methods/channels_exportInvite.md diff --git a/docs/API_docs_46/methods/channels_getChannels.md b/docs/old/API_docs_v38/methods/channels_getChannels.md similarity index 100% rename from docs/API_docs_46/methods/channels_getChannels.md rename to docs/old/API_docs_v38/methods/channels_getChannels.md diff --git a/docs/API_docs_46/methods/channels_getDialogs.md b/docs/old/API_docs_v38/methods/channels_getDialogs.md similarity index 100% rename from docs/API_docs_46/methods/channels_getDialogs.md rename to docs/old/API_docs_v38/methods/channels_getDialogs.md diff --git a/docs/API_docs_46/methods/channels_getFullChannel.md b/docs/old/API_docs_v38/methods/channels_getFullChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_getFullChannel.md rename to docs/old/API_docs_v38/methods/channels_getFullChannel.md diff --git a/docs/API_docs_46/methods/channels_getImportantHistory.md b/docs/old/API_docs_v38/methods/channels_getImportantHistory.md similarity index 100% rename from docs/API_docs_46/methods/channels_getImportantHistory.md rename to docs/old/API_docs_v38/methods/channels_getImportantHistory.md diff --git a/docs/API_docs_46/methods/channels_getMessages.md b/docs/old/API_docs_v38/methods/channels_getMessages.md similarity index 100% rename from docs/API_docs_46/methods/channels_getMessages.md rename to docs/old/API_docs_v38/methods/channels_getMessages.md diff --git a/docs/API_docs_46/methods/channels_getParticipant.md b/docs/old/API_docs_v38/methods/channels_getParticipant.md similarity index 100% rename from docs/API_docs_46/methods/channels_getParticipant.md rename to docs/old/API_docs_v38/methods/channels_getParticipant.md diff --git a/docs/API_docs_46/methods/channels_getParticipants.md b/docs/old/API_docs_v38/methods/channels_getParticipants.md similarity index 100% rename from docs/API_docs_46/methods/channels_getParticipants.md rename to docs/old/API_docs_v38/methods/channels_getParticipants.md diff --git a/docs/API_docs_46/methods/channels_inviteToChannel.md b/docs/old/API_docs_v38/methods/channels_inviteToChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_inviteToChannel.md rename to docs/old/API_docs_v38/methods/channels_inviteToChannel.md diff --git a/docs/API_docs_46/methods/channels_joinChannel.md b/docs/old/API_docs_v38/methods/channels_joinChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_joinChannel.md rename to docs/old/API_docs_v38/methods/channels_joinChannel.md diff --git a/docs/API_docs_46/methods/channels_kickFromChannel.md b/docs/old/API_docs_v38/methods/channels_kickFromChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_kickFromChannel.md rename to docs/old/API_docs_v38/methods/channels_kickFromChannel.md diff --git a/docs/API_docs_46/methods/channels_leaveChannel.md b/docs/old/API_docs_v38/methods/channels_leaveChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_leaveChannel.md rename to docs/old/API_docs_v38/methods/channels_leaveChannel.md diff --git a/docs/API_docs_46/methods/channels_readHistory.md b/docs/old/API_docs_v38/methods/channels_readHistory.md similarity index 100% rename from docs/API_docs_46/methods/channels_readHistory.md rename to docs/old/API_docs_v38/methods/channels_readHistory.md diff --git a/docs/API_docs_46/methods/channels_reportSpam.md b/docs/old/API_docs_v38/methods/channels_reportSpam.md similarity index 100% rename from docs/API_docs_46/methods/channels_reportSpam.md rename to docs/old/API_docs_v38/methods/channels_reportSpam.md diff --git a/docs/API_docs_46/methods/channels_toggleComments.md b/docs/old/API_docs_v38/methods/channels_toggleComments.md similarity index 100% rename from docs/API_docs_46/methods/channels_toggleComments.md rename to docs/old/API_docs_v38/methods/channels_toggleComments.md diff --git a/docs/API_docs_46/methods/channels_updateUsername.md b/docs/old/API_docs_v38/methods/channels_updateUsername.md similarity index 100% rename from docs/API_docs_46/methods/channels_updateUsername.md rename to docs/old/API_docs_v38/methods/channels_updateUsername.md diff --git a/docs/old/API_docs_v38/methods/contacts_block.md b/docs/old/API_docs_v38/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_deleteContact.md b/docs/old/API_docs_v38/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_deleteContacts.md b/docs/old/API_docs_v38/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_exportCard.md b/docs/old/API_docs_v38/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_getBlocked.md b/docs/old/API_docs_v38/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_getContacts.md b/docs/old/API_docs_v38/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_getStatuses.md b/docs/old/API_docs_v38/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_getSuggested.md b/docs/old/API_docs_v38/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_importCard.md b/docs/old/API_docs_v38/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_importContacts.md b/docs/old/API_docs_v38/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/contacts_resolveUsername.md b/docs/old/API_docs_v38/methods/contacts_resolveUsername.md similarity index 100% rename from docs/API_docs_46/methods/contacts_resolveUsername.md rename to docs/old/API_docs_v38/methods/contacts_resolveUsername.md diff --git a/docs/old/API_docs_v38/methods/contacts_search.md b/docs/old/API_docs_v38/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/contacts_unblock.md b/docs/old/API_docs_v38/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v38/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getAppChangelog.md b/docs/old/API_docs_v38/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getAppUpdate.md b/docs/old/API_docs_v38/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getConfig.md b/docs/old/API_docs_v38/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getInviteText.md b/docs/old/API_docs_v38/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getNearestDc.md b/docs/old/API_docs_v38/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_getSupport.md b/docs/old/API_docs_v38/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/help_saveAppLog.md b/docs/old/API_docs_v38/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v38/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/index.md b/docs/old/API_docs_v38/methods/index.md new file mode 100644 index 00000000..54e12781 --- /dev/null +++ b/docs/old/API_docs_v38/methods/index.md @@ -0,0 +1,314 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['title' => [string](../types/string.md), 'about' => [string](../types/string.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'chat_id' => [int](../types/int.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v38/methods/initConnection.md b/docs/old/API_docs_v38/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v38/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/invokeAfterMsg.md b/docs/old/API_docs_v38/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v38/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/invokeAfterMsgs.md b/docs/old/API_docs_v38/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v38/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/invokeWithLayer.md b/docs/old/API_docs_v38/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v38/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v38/methods/invokeWithoutUpdates.md similarity index 100% rename from docs/API_docs_55/methods/invokeWithoutUpdates.md rename to docs/old/API_docs_v38/methods/invokeWithoutUpdates.md diff --git a/docs/old/API_docs_v38/methods/messages_acceptEncryption.md b/docs/old/API_docs_v38/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_addChatUser.md b/docs/old/API_docs_v38/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_checkChatInvite.md b/docs/old/API_docs_v38/methods/messages_checkChatInvite.md similarity index 100% rename from docs/API_docs_55/methods/messages_checkChatInvite.md rename to docs/old/API_docs_v38/methods/messages_checkChatInvite.md diff --git a/docs/old/API_docs_v38/methods/messages_createChat.md b/docs/old/API_docs_v38/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_deleteChatUser.md b/docs/old/API_docs_v38/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_deleteHistory.md b/docs/old/API_docs_v38/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_deleteMessages.md b/docs/old/API_docs_v38/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_discardEncryption.md b/docs/old/API_docs_v38/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_editChatPhoto.md b/docs/old/API_docs_v38/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_editChatTitle.md b/docs/old/API_docs_v38/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_exportChatInvite.md b/docs/old/API_docs_v38/methods/messages_exportChatInvite.md similarity index 100% rename from docs/API_docs_55/methods/messages_exportChatInvite.md rename to docs/old/API_docs_v38/methods/messages_exportChatInvite.md diff --git a/docs/old/API_docs_v38/methods/messages_forwardMessage.md b/docs/old/API_docs_v38/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_forwardMessages.md b/docs/old/API_docs_v38/methods/messages_forwardMessages.md new file mode 100644 index 00000000..fca94440 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_forwardMessages.md @@ -0,0 +1,39 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getAllStickers.md b/docs/old/API_docs_v38/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getChats.md b/docs/old/API_docs_v38/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getDhConfig.md b/docs/old/API_docs_v38/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getDialogs.md b/docs/old/API_docs_v38/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe19a391 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getFullChat.md b/docs/old/API_docs_v38/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getHistory.md b/docs/old/API_docs_v38/methods/messages_getHistory.md similarity index 100% rename from docs/API_docs_46/methods/messages_getHistory.md rename to docs/old/API_docs_v38/methods/messages_getHistory.md diff --git a/docs/old/API_docs_v38/methods/messages_getMessages.md b/docs/old/API_docs_v38/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getMessagesViews.md b/docs/old/API_docs_v38/methods/messages_getMessagesViews.md similarity index 100% rename from docs/API_docs_46/methods/messages_getMessagesViews.md rename to docs/old/API_docs_v38/methods/messages_getMessagesViews.md diff --git a/docs/API_docs_55/methods/messages_getStickerSet.md b/docs/old/API_docs_v38/methods/messages_getStickerSet.md similarity index 100% rename from docs/API_docs_55/methods/messages_getStickerSet.md rename to docs/old/API_docs_v38/methods/messages_getStickerSet.md diff --git a/docs/old/API_docs_v38/methods/messages_getStickers.md b/docs/old/API_docs_v38/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v38/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_importChatInvite.md b/docs/old/API_docs_v38/methods/messages_importChatInvite.md similarity index 100% rename from docs/API_docs_55/methods/messages_importChatInvite.md rename to docs/old/API_docs_v38/methods/messages_importChatInvite.md diff --git a/docs/old/API_docs_v38/methods/messages_installStickerSet.md b/docs/old/API_docs_v38/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v38/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_readHistory.md b/docs/old/API_docs_v38/methods/messages_readHistory.md new file mode 100644 index 00000000..34f28811 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_readHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_readMessageContents.md b/docs/old/API_docs_v38/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_receivedMessages.md b/docs/old/API_docs_v38/methods/messages_receivedMessages.md similarity index 100% rename from docs/API_docs_55/methods/messages_receivedMessages.md rename to docs/old/API_docs_v38/methods/messages_receivedMessages.md diff --git a/docs/old/API_docs_v38/methods/messages_receivedQueue.md b/docs/old/API_docs_v38/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_reportSpam.md b/docs/old/API_docs_v38/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_requestEncryption.md b/docs/old/API_docs_v38/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_search.md b/docs/old/API_docs_v38/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendBroadcast.md b/docs/old/API_docs_v38/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendEncrypted.md b/docs/old/API_docs_v38/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v38/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v38/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendMedia.md b/docs/old/API_docs_v38/methods/messages_sendMedia.md new file mode 100644 index 00000000..3f2599c8 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendMedia.md @@ -0,0 +1,40 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_sendMessage.md b/docs/old/API_docs_v38/methods/messages_sendMessage.md new file mode 100644 index 00000000..e366fcb8 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_sendMessage.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v38/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_setTyping.md b/docs/old/API_docs_v38/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/messages_startBot.md b/docs/old/API_docs_v38/methods/messages_startBot.md new file mode 100644 index 00000000..c3bc4077 --- /dev/null +++ b/docs/old/API_docs_v38/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => int, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v38/methods/messages_uninstallStickerSet.md similarity index 100% rename from docs/API_docs_55/methods/messages_uninstallStickerSet.md rename to docs/old/API_docs_v38/methods/messages_uninstallStickerSet.md diff --git a/docs/old/API_docs_v38/methods/photos_deletePhotos.md b/docs/old/API_docs_v38/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v38/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/photos_getUserPhotos.md b/docs/old/API_docs_v38/methods/photos_getUserPhotos.md similarity index 100% rename from docs/API_docs_55/methods/photos_getUserPhotos.md rename to docs/old/API_docs_v38/methods/photos_getUserPhotos.md diff --git a/docs/old/API_docs_v38/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v38/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v38/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v38/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v38/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/updates_getChannelDifference.md b/docs/old/API_docs_v38/methods/updates_getChannelDifference.md similarity index 100% rename from docs/API_docs_46/methods/updates_getChannelDifference.md rename to docs/old/API_docs_v38/methods/updates_getChannelDifference.md diff --git a/docs/old/API_docs_v38/methods/updates_getDifference.md b/docs/old/API_docs_v38/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v38/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/updates_getState.md b/docs/old/API_docs_v38/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v38/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/upload_getFile.md b/docs/old/API_docs_v38/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v38/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v38/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v38/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/upload_saveFilePart.md b/docs/old/API_docs_v38/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v38/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/users_getFullUser.md b/docs/old/API_docs_v38/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v38/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/methods/users_getUsers.md b/docs/old/API_docs_v38/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v38/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/!X.md b/docs/old/API_docs_v38/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v38/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/AccountDaysTTL.md b/docs/old/API_docs_v38/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v38/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v38/types/Audio.md b/docs/old/API_docs_v38/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v38/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Authorization.md b/docs/old/API_docs_v38/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v38/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Bool.md b/docs/old/API_docs_v38/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v38/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/API_docs_55/types/BotCommand.md b/docs/old/API_docs_v38/types/BotCommand.md similarity index 100% rename from docs/API_docs_55/types/BotCommand.md rename to docs/old/API_docs_v38/types/BotCommand.md diff --git a/docs/old/API_docs_v38/types/BotInfo.md b/docs/old/API_docs_v38/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v38/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ChannelMessagesFilter.md b/docs/old/API_docs_v38/types/ChannelMessagesFilter.md similarity index 100% rename from docs/API_docs_46/types/ChannelMessagesFilter.md rename to docs/old/API_docs_v38/types/ChannelMessagesFilter.md diff --git a/docs/API_docs_46/types/ChannelParticipant.md b/docs/old/API_docs_v38/types/ChannelParticipant.md similarity index 100% rename from docs/API_docs_46/types/ChannelParticipant.md rename to docs/old/API_docs_v38/types/ChannelParticipant.md diff --git a/docs/API_docs_46/types/ChannelParticipantRole.md b/docs/old/API_docs_v38/types/ChannelParticipantRole.md similarity index 100% rename from docs/API_docs_46/types/ChannelParticipantRole.md rename to docs/old/API_docs_v38/types/ChannelParticipantRole.md diff --git a/docs/old/API_docs_v38/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v38/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..a13f9249 --- /dev/null +++ b/docs/old/API_docs_v38/types/ChannelParticipantsFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Chat.md b/docs/old/API_docs_v38/types/Chat.md similarity index 100% rename from docs/API_docs_46/types/Chat.md rename to docs/old/API_docs_v38/types/Chat.md diff --git a/docs/API_docs_46/types/ChatFull.md b/docs/old/API_docs_v38/types/ChatFull.md similarity index 100% rename from docs/API_docs_46/types/ChatFull.md rename to docs/old/API_docs_v38/types/ChatFull.md diff --git a/docs/API_docs_55/types/ChatInvite.md b/docs/old/API_docs_v38/types/ChatInvite.md similarity index 100% rename from docs/API_docs_55/types/ChatInvite.md rename to docs/old/API_docs_v38/types/ChatInvite.md diff --git a/docs/old/API_docs_v38/types/ChatParticipant.md b/docs/old/API_docs_v38/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v38/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ChatParticipants.md b/docs/old/API_docs_v38/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v38/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ChatPhoto.md b/docs/old/API_docs_v38/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v38/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Config.md b/docs/old/API_docs_v38/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v38/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v38/types/Contact.md b/docs/old/API_docs_v38/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v38/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ContactBlocked.md b/docs/old/API_docs_v38/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v38/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ContactLink.md b/docs/old/API_docs_v38/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v38/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ContactStatus.md b/docs/old/API_docs_v38/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v38/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v38/types/ContactSuggested.md b/docs/old/API_docs_v38/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v38/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/DcOption.md b/docs/old/API_docs_v38/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v38/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Dialog.md b/docs/old/API_docs_v38/types/Dialog.md similarity index 100% rename from docs/API_docs_46/types/Dialog.md rename to docs/old/API_docs_v38/types/Dialog.md diff --git a/docs/old/API_docs_v38/types/DisabledFeature.md b/docs/old/API_docs_v38/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v38/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Document.md b/docs/old/API_docs_v38/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v38/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/DocumentAttribute.md b/docs/old/API_docs_v38/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v38/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/EncryptedChat.md b/docs/old/API_docs_v38/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v38/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v38/types/EncryptedFile.md b/docs/old/API_docs_v38/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v38/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/EncryptedMessage.md b/docs/old/API_docs_v38/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v38/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Error.md b/docs/old/API_docs_v38/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v38/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/ExportedChatInvite.md b/docs/old/API_docs_v38/types/ExportedChatInvite.md similarity index 100% rename from docs/API_docs_46/types/ExportedChatInvite.md rename to docs/old/API_docs_v38/types/ExportedChatInvite.md diff --git a/docs/old/API_docs_v38/types/FileLocation.md b/docs/old/API_docs_v38/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v38/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/GeoPoint.md b/docs/old/API_docs_v38/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v38/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/ImportedContact.md b/docs/old/API_docs_v38/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v38/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputAppEvent.md b/docs/old/API_docs_v38/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputAudio.md b/docs/old/API_docs_v38/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v38/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputChannel.md b/docs/old/API_docs_v38/types/InputChannel.md similarity index 100% rename from docs/API_docs_46/types/InputChannel.md rename to docs/old/API_docs_v38/types/InputChannel.md diff --git a/docs/old/API_docs_v38/types/InputChatPhoto.md b/docs/old/API_docs_v38/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputContact.md b/docs/old/API_docs_v38/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputDocument.md b/docs/old/API_docs_v38/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputEncryptedChat.md b/docs/old/API_docs_v38/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputEncryptedFile.md b/docs/old/API_docs_v38/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputFile.md b/docs/old/API_docs_v38/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputFileLocation.md b/docs/old/API_docs_v38/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v38/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputGeoPoint.md b/docs/old/API_docs_v38/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputMedia.md b/docs/old/API_docs_v38/types/InputMedia.md new file mode 100644 index 00000000..5112cbfa --- /dev/null +++ b/docs/old/API_docs_v38/types/InputMedia.md @@ -0,0 +1,45 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputNotifyPeer.md b/docs/old/API_docs_v38/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v38/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputPeer.md b/docs/old/API_docs_v38/types/InputPeer.md similarity index 100% rename from docs/API_docs_46/types/InputPeer.md rename to docs/old/API_docs_v38/types/InputPeer.md diff --git a/docs/old/API_docs_v38/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v38/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputPeerNotifySettings.md b/docs/old/API_docs_v38/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputPhoto.md b/docs/old/API_docs_v38/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputPhotoCrop.md b/docs/old/API_docs_v38/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputPrivacyKey.md b/docs/old/API_docs_v38/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/InputPrivacyRule.md b/docs/old/API_docs_v38/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v38/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputStickerSet.md b/docs/old/API_docs_v38/types/InputStickerSet.md similarity index 100% rename from docs/API_docs_55/types/InputStickerSet.md rename to docs/old/API_docs_v38/types/InputStickerSet.md diff --git a/docs/API_docs_55/types/InputUser.md b/docs/old/API_docs_v38/types/InputUser.md similarity index 100% rename from docs/API_docs_55/types/InputUser.md rename to docs/old/API_docs_v38/types/InputUser.md diff --git a/docs/old/API_docs_v38/types/InputVideo.md b/docs/old/API_docs_v38/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v38/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/KeyboardButton.md b/docs/old/API_docs_v38/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v38/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/KeyboardButtonRow.md b/docs/old/API_docs_v38/types/KeyboardButtonRow.md similarity index 100% rename from docs/API_docs_55/types/KeyboardButtonRow.md rename to docs/old/API_docs_v38/types/KeyboardButtonRow.md diff --git a/docs/old/API_docs_v38/types/Message.md b/docs/old/API_docs_v38/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v38/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/MessageAction.md b/docs/old/API_docs_v38/types/MessageAction.md new file mode 100644 index 00000000..d028aa3e --- /dev/null +++ b/docs/old/API_docs_v38/types/MessageAction.md @@ -0,0 +1,35 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/MessageEntity.md b/docs/old/API_docs_v38/types/MessageEntity.md similarity index 100% rename from docs/API_docs_46/types/MessageEntity.md rename to docs/old/API_docs_v38/types/MessageEntity.md diff --git a/docs/API_docs_46/types/MessageGroup.md b/docs/old/API_docs_v38/types/MessageGroup.md similarity index 100% rename from docs/API_docs_46/types/MessageGroup.md rename to docs/old/API_docs_v38/types/MessageGroup.md diff --git a/docs/old/API_docs_v38/types/MessageMedia.md b/docs/old/API_docs_v38/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v38/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/API_docs_46/types/MessageRange.md b/docs/old/API_docs_v38/types/MessageRange.md similarity index 100% rename from docs/API_docs_46/types/MessageRange.md rename to docs/old/API_docs_v38/types/MessageRange.md diff --git a/docs/old/API_docs_v38/types/MessagesFilter.md b/docs/old/API_docs_v38/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v38/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/NearestDc.md b/docs/old/API_docs_v38/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v38/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v38/types/NotifyPeer.md b/docs/old/API_docs_v38/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v38/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Null.md b/docs/old/API_docs_v38/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v38/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Peer.md b/docs/old/API_docs_v38/types/Peer.md similarity index 100% rename from docs/API_docs_46/types/Peer.md rename to docs/old/API_docs_v38/types/Peer.md diff --git a/docs/old/API_docs_v38/types/PeerNotifyEvents.md b/docs/old/API_docs_v38/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v38/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/PeerNotifySettings.md b/docs/old/API_docs_v38/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v38/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v38/types/Photo.md b/docs/old/API_docs_v38/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v38/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/PhotoSize.md b/docs/old/API_docs_v38/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v38/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/PrivacyKey.md b/docs/old/API_docs_v38/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v38/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/PrivacyRule.md b/docs/old/API_docs_v38/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v38/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v38/types/ReceivedNotifyMessage.md similarity index 100% rename from docs/API_docs_55/types/ReceivedNotifyMessage.md rename to docs/old/API_docs_v38/types/ReceivedNotifyMessage.md diff --git a/docs/old/API_docs_v38/types/ReplyMarkup.md b/docs/old/API_docs_v38/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v38/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/SendMessageAction.md b/docs/old/API_docs_v38/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v38/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/StickerPack.md b/docs/old/API_docs_v38/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v38/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/StickerSet.md b/docs/old/API_docs_v38/types/StickerSet.md similarity index 100% rename from docs/API_docs_55/types/StickerSet.md rename to docs/old/API_docs_v38/types/StickerSet.md diff --git a/docs/old/API_docs_v38/types/Update.md b/docs/old/API_docs_v38/types/Update.md new file mode 100644 index 00000000..6ce94bda --- /dev/null +++ b/docs/old/API_docs_v38/types/Update.md @@ -0,0 +1,87 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Updates.md b/docs/old/API_docs_v38/types/Updates.md new file mode 100644 index 00000000..39c62a07 --- /dev/null +++ b/docs/old/API_docs_v38/types/Updates.md @@ -0,0 +1,73 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + + + diff --git a/docs/API_docs_55/types/User.md b/docs/old/API_docs_v38/types/User.md similarity index 100% rename from docs/API_docs_55/types/User.md rename to docs/old/API_docs_v38/types/User.md diff --git a/docs/old/API_docs_v38/types/UserFull.md b/docs/old/API_docs_v38/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v38/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v38/types/UserProfilePhoto.md b/docs/old/API_docs_v38/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v38/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v38/types/UserStatus.md b/docs/old/API_docs_v38/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v38/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Vector t.md b/docs/old/API_docs_v38/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v38/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/Video.md b/docs/old/API_docs_v38/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v38/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/WallPaper.md b/docs/old/API_docs_v38/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v38/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v38/types/WebPage.md b/docs/old/API_docs_v38/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v38/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/X.md b/docs/old/API_docs_v38/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v38/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/account_Authorizations.md b/docs/old/API_docs_v38/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v38/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v38/types/account_Password.md b/docs/old/API_docs_v38/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v38/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v38/types/account_PasswordInputSettings.md b/docs/old/API_docs_v38/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v38/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/account_PasswordSettings.md b/docs/old/API_docs_v38/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v38/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v38/types/account_PrivacyRules.md b/docs/old/API_docs_v38/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v38/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v38/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v38/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v38/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/API_docs_55/types/auth_Authorization.md b/docs/old/API_docs_v38/types/auth_Authorization.md similarity index 100% rename from docs/API_docs_55/types/auth_Authorization.md rename to docs/old/API_docs_v38/types/auth_Authorization.md diff --git a/docs/old/API_docs_v38/types/auth_CheckedPhone.md b/docs/old/API_docs_v38/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v38/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v38/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v38/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v38/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v38/types/auth_PasswordRecovery.md b/docs/old/API_docs_v38/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v38/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v38/types/auth_SentCode.md b/docs/old/API_docs_v38/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v38/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v38/types/bytes.md b/docs/old/API_docs_v38/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v38/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs_46/types/channels_ChannelParticipant.md b/docs/old/API_docs_v38/types/channels_ChannelParticipant.md similarity index 100% rename from docs/API_docs_46/types/channels_ChannelParticipant.md rename to docs/old/API_docs_v38/types/channels_ChannelParticipant.md diff --git a/docs/API_docs_46/types/channels_ChannelParticipants.md b/docs/old/API_docs_v38/types/channels_ChannelParticipants.md similarity index 100% rename from docs/API_docs_46/types/channels_ChannelParticipants.md rename to docs/old/API_docs_v38/types/channels_ChannelParticipants.md diff --git a/docs/old/API_docs_v38/types/contacts_Blocked.md b/docs/old/API_docs_v38/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v38/types/contacts_Contacts.md b/docs/old/API_docs_v38/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v38/types/contacts_Found.md b/docs/old/API_docs_v38/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v38/types/contacts_ImportedContacts.md b/docs/old/API_docs_v38/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v38/types/contacts_Link.md b/docs/old/API_docs_v38/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/API_docs_46/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v38/types/contacts_ResolvedPeer.md similarity index 100% rename from docs/API_docs_46/types/contacts_ResolvedPeer.md rename to docs/old/API_docs_v38/types/contacts_ResolvedPeer.md diff --git a/docs/old/API_docs_v38/types/contacts_Suggested.md b/docs/old/API_docs_v38/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v38/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v38/types/double.md b/docs/old/API_docs_v38/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v38/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/API_docs_55/types/help_AppChangelog.md b/docs/old/API_docs_v38/types/help_AppChangelog.md similarity index 100% rename from docs/API_docs_55/types/help_AppChangelog.md rename to docs/old/API_docs_v38/types/help_AppChangelog.md diff --git a/docs/old/API_docs_v38/types/help_AppUpdate.md b/docs/old/API_docs_v38/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v38/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v38/types/help_InviteText.md b/docs/old/API_docs_v38/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v38/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v38/types/help_Support.md b/docs/old/API_docs_v38/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v38/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v38/types/index.md b/docs/old/API_docs_v38/types/index.md new file mode 100644 index 00000000..47c5ddc7 --- /dev/null +++ b/docs/old/API_docs_v38/types/index.md @@ -0,0 +1,282 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v38/types/int.md b/docs/old/API_docs_v38/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v38/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/int128.md b/docs/old/API_docs_v38/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v38/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/int256.md b/docs/old/API_docs_v38/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v38/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/int512.md b/docs/old/API_docs_v38/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v38/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/long.md b/docs/old/API_docs_v38/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v38/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v38/types/messages_AffectedHistory.md b/docs/old/API_docs_v38/types/messages_AffectedHistory.md new file mode 100644 index 00000000..6e6315d1 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_AffectedHistory.md @@ -0,0 +1,25 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v38/types/messages_AffectedMessages.md b/docs/old/API_docs_v38/types/messages_AffectedMessages.md new file mode 100644 index 00000000..f132b5b3 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_AffectedMessages.md @@ -0,0 +1,25 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v38/types/messages_AllStickers.md b/docs/old/API_docs_v38/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_46/types/messages_ChatFull.md b/docs/old/API_docs_v38/types/messages_ChatFull.md similarity index 100% rename from docs/API_docs_46/types/messages_ChatFull.md rename to docs/old/API_docs_v38/types/messages_ChatFull.md diff --git a/docs/API_docs_46/types/messages_Chats.md b/docs/old/API_docs_v38/types/messages_Chats.md similarity index 100% rename from docs/API_docs_46/types/messages_Chats.md rename to docs/old/API_docs_v38/types/messages_Chats.md diff --git a/docs/old/API_docs_v38/types/messages_DhConfig.md b/docs/old/API_docs_v38/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/API_docs_46/types/messages_Dialogs.md b/docs/old/API_docs_v38/types/messages_Dialogs.md similarity index 100% rename from docs/API_docs_46/types/messages_Dialogs.md rename to docs/old/API_docs_v38/types/messages_Dialogs.md diff --git a/docs/old/API_docs_v38/types/messages_Messages.md b/docs/old/API_docs_v38/types/messages_Messages.md new file mode 100644 index 00000000..252dbf83 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_Messages.md @@ -0,0 +1,33 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + + + diff --git a/docs/old/API_docs_v38/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v38/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/API_docs_55/types/messages_StickerSet.md b/docs/old/API_docs_v38/types/messages_StickerSet.md similarity index 100% rename from docs/API_docs_55/types/messages_StickerSet.md rename to docs/old/API_docs_v38/types/messages_StickerSet.md diff --git a/docs/old/API_docs_v38/types/messages_Stickers.md b/docs/old/API_docs_v38/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v38/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v38/types/photos_Photo.md b/docs/old/API_docs_v38/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v38/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v38/types/photos_Photos.md b/docs/old/API_docs_v38/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v38/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v38/types/storage_FileType.md b/docs/old/API_docs_v38/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v38/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v38/types/string.md b/docs/old/API_docs_v38/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v38/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs_46/types/updates_ChannelDifference.md b/docs/old/API_docs_v38/types/updates_ChannelDifference.md similarity index 100% rename from docs/API_docs_46/types/updates_ChannelDifference.md rename to docs/old/API_docs_v38/types/updates_ChannelDifference.md diff --git a/docs/old/API_docs_v38/types/updates_Difference.md b/docs/old/API_docs_v38/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v38/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v38/types/updates_State.md b/docs/old/API_docs_v38/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v38/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v38/types/upload_File.md b/docs/old/API_docs_v38/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v38/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v40/constructors/accountDaysTTL.md b/docs/old/API_docs_v40/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_authorizations.md b/docs/old/API_docs_v40/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_noPassword.md b/docs/old/API_docs_v40/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_password.md b/docs/old/API_docs_v40/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v40/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_passwordSettings.md b/docs/old/API_docs_v40/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_privacyRules.md b/docs/old/API_docs_v40/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v40/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/audio.md b/docs/old/API_docs_v40/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/audioEmpty.md b/docs/old/API_docs_v40/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_authorization.md b/docs/old/API_docs_v40/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_checkedPhone.md b/docs/old/API_docs_v40/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v40/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v40/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_sentAppCode.md b/docs/old/API_docs_v40/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/auth_sentCode.md b/docs/old/API_docs_v40/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/authorization.md b/docs/old/API_docs_v40/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/boolFalse.md b/docs/old/API_docs_v40/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/boolTrue.md b/docs/old/API_docs_v40/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/botCommand.md b/docs/old/API_docs_v40/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/botInfo.md b/docs/old/API_docs_v40/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/botInfoEmpty.md b/docs/old/API_docs_v40/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/channel.md b/docs/old/API_docs_v40/constructors/channel.md new file mode 100644 index 00000000..ea38c24e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/channel.md @@ -0,0 +1,44 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'id' => int, 'access_hash' => long, 'title' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/channelFull.md b/docs/old/API_docs_v40/constructors/channelFull.md new file mode 100644 index 00000000..8e1c5309 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/channelFull.md @@ -0,0 +1,32 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'id' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/channelMessagesFilter.md b/docs/old/API_docs_v40/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..508827f0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/channelMessagesFilter.md @@ -0,0 +1,26 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v40/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chat.md b/docs/old/API_docs_v40/constructors/chat.md new file mode 100644 index 00000000..9b88ccac --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chat.md @@ -0,0 +1,45 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|left|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'left' => Bool, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/chatEmpty.md b/docs/old/API_docs_v40/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/chatForbidden.md b/docs/old/API_docs_v40/constructors/chatForbidden.md new file mode 100644 index 00000000..d79c41f9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatForbidden.md @@ -0,0 +1,41 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, 'date' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/chatFull.md b/docs/old/API_docs_v40/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatInvite.md b/docs/old/API_docs_v40/constructors/chatInvite.md new file mode 100644 index 00000000..e2475521 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatInvite.md @@ -0,0 +1,26 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatInviteAlready.md b/docs/old/API_docs_v40/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatInviteEmpty.md b/docs/old/API_docs_v40/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatInviteExported.md b/docs/old/API_docs_v40/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatParticipant.md b/docs/old/API_docs_v40/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatParticipants.md b/docs/old/API_docs_v40/constructors/chatParticipants.md new file mode 100644 index 00000000..e7edb579 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatParticipants.md @@ -0,0 +1,29 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'admin_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v40/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..5fa74b90 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatParticipantsForbidden.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatPhoto.md b/docs/old/API_docs_v40/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v40/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/config.md b/docs/old/API_docs_v40/constructors/config.md new file mode 100644 index 00000000..d1f3688b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|broadcast\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'broadcast_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contact.md b/docs/old/API_docs_v40/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactBlocked.md b/docs/old/API_docs_v40/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactFound.md b/docs/old/API_docs_v40/constructors/contactFound.md new file mode 100644 index 00000000..095efbcc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactFound.md @@ -0,0 +1,26 @@ +--- +title: contactFound +description: contactFound attributes, type and example +--- +## Constructor: contactFound +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ContactFound](../types/ContactFound.md) + + +### Example: + +``` +$contactFound = ['_' => 'contactFound', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactLinkContact.md b/docs/old/API_docs_v40/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v40/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactLinkNone.md b/docs/old/API_docs_v40/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactLinkUnknown.md b/docs/old/API_docs_v40/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactStatus.md b/docs/old/API_docs_v40/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contactSuggested.md b/docs/old/API_docs_v40/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_blocked.md b/docs/old/API_docs_v40/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v40/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_contacts.md b/docs/old/API_docs_v40/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v40/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_found.md b/docs/old/API_docs_v40/constructors/contacts_found.md new file mode 100644 index 00000000..4b8f6aff --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_found.md @@ -0,0 +1,27 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactFound](../types/ContactFound.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_importedContacts.md b/docs/old/API_docs_v40/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_link.md b/docs/old/API_docs_v40/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/contacts_suggested.md b/docs/old/API_docs_v40/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/dcOption.md b/docs/old/API_docs_v40/constructors/dcOption.md new file mode 100644 index 00000000..2a6e2741 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/dcOption.md @@ -0,0 +1,28 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/dialog.md b/docs/old/API_docs_v40/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/dialogChannel.md b/docs/old/API_docs_v40/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/disabledFeature.md b/docs/old/API_docs_v40/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/document.md b/docs/old/API_docs_v40/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v40/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeAudio.md b/docs/old/API_docs_v40/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeFilename.md b/docs/old/API_docs_v40/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v40/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeSticker.md b/docs/old/API_docs_v40/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentAttributeVideo.md b/docs/old/API_docs_v40/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/documentEmpty.md b/docs/old/API_docs_v40/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedChat.md b/docs/old/API_docs_v40/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v40/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v40/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedChatRequested.md b/docs/old/API_docs_v40/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v40/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedFile.md b/docs/old/API_docs_v40/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v40/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedMessage.md b/docs/old/API_docs_v40/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/encryptedMessageService.md b/docs/old/API_docs_v40/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/error.md b/docs/old/API_docs_v40/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/fileLocation.md b/docs/old/API_docs_v40/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v40/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/geoPoint.md b/docs/old/API_docs_v40/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/geoPointEmpty.md b/docs/old/API_docs_v40/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_appChangelog.md b/docs/old/API_docs_v40/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v40/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_appUpdate.md b/docs/old/API_docs_v40/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_inviteText.md b/docs/old/API_docs_v40/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_noAppUpdate.md b/docs/old/API_docs_v40/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/help_support.md b/docs/old/API_docs_v40/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/importedContact.md b/docs/old/API_docs_v40/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/index.md b/docs/old/API_docs_v40/constructors/index.md new file mode 100644 index 00000000..407149ce --- /dev/null +++ b/docs/old/API_docs_v40/constructors/index.md @@ -0,0 +1,987 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$channel](../constructors/channel.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['id' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$chat](../constructors/chat.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'left' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'broadcast_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactFound](../constructors/contactFound.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[ContactFound](../types/ContactFound.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChat](../constructors/inputChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputChatEmpty](../constructors/inputChatEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \[\]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \[\]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['peer' => [Peer](../types/Peer.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [int](../types/int.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v40/constructors/inputAppEvent.md b/docs/old/API_docs_v40/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputAudio.md b/docs/old/API_docs_v40/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputAudioEmpty.md b/docs/old/API_docs_v40/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v40/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChannel.md b/docs/old/API_docs_v40/constructors/inputChannel.md new file mode 100644 index 00000000..5da5fab4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChannel.md @@ -0,0 +1,27 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChat](../types/InputChat.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChat.md b/docs/old/API_docs_v40/constructors/inputChat.md new file mode 100644 index 00000000..41deaa4e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChat.md @@ -0,0 +1,26 @@ +--- +title: inputChat +description: inputChat attributes, type and example +--- +## Constructor: inputChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputChat](../types/InputChat.md) + + +### Example: + +``` +$inputChat = ['_' => 'inputChat', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChatEmpty.md b/docs/old/API_docs_v40/constructors/inputChatEmpty.md new file mode 100644 index 00000000..1422bd24 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChatEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatEmpty +description: inputChatEmpty attributes, type and example +--- +## Constructor: inputChatEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChat](../types/InputChat.md) + + +### Example: + +``` +$inputChatEmpty = ['_' => 'inputChatEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChatPhoto.md b/docs/old/API_docs_v40/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v40/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v40/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputDocument.md b/docs/old/API_docs_v40/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v40/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v40/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedChat.md b/docs/old/API_docs_v40/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedFile.md b/docs/old/API_docs_v40/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v40/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v40/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v40/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputFile.md b/docs/old/API_docs_v40/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputFileBig.md b/docs/old/API_docs_v40/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputFileLocation.md b/docs/old/API_docs_v40/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputGeoPoint.md b/docs/old/API_docs_v40/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v40/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaAudio.md b/docs/old/API_docs_v40/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaContact.md b/docs/old/API_docs_v40/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaDocument.md b/docs/old/API_docs_v40/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaEmpty.md b/docs/old/API_docs_v40/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v40/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaPhoto.md b/docs/old/API_docs_v40/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v40/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaVenue.md b/docs/old/API_docs_v40/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMediaVideo.md b/docs/old/API_docs_v40/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v40/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputNotifyAll.md b/docs/old/API_docs_v40/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputNotifyChats.md b/docs/old/API_docs_v40/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputNotifyPeer.md b/docs/old/API_docs_v40/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputNotifyUsers.md b/docs/old/API_docs_v40/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPeerChannel.md b/docs/old/API_docs_v40/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputPeerChat.md b/docs/old/API_docs_v40/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputPeerEmpty.md b/docs/old/API_docs_v40/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v40/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPeerSelf.md b/docs/old/API_docs_v40/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputPeerUser.md b/docs/old/API_docs_v40/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputPhoneContact.md b/docs/old/API_docs_v40/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPhoto.md b/docs/old/API_docs_v40/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPhotoCrop.md b/docs/old/API_docs_v40/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v40/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v40/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v40/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputStickerSetID.md b/docs/old/API_docs_v40/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v40/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputUser.md b/docs/old/API_docs_v40/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputUserEmpty.md b/docs/old/API_docs_v40/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputUserSelf.md b/docs/old/API_docs_v40/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/inputVideo.md b/docs/old/API_docs_v40/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputVideoEmpty.md b/docs/old/API_docs_v40/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v40/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v40/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/keyboardButton.md b/docs/old/API_docs_v40/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/keyboardButtonRow.md b/docs/old/API_docs_v40/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/message.md b/docs/old/API_docs_v40/constructors/message.md new file mode 100644 index 00000000..a0c6248c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/message.md @@ -0,0 +1,36 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v40/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v40/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatCreate.md b/docs/old/API_docs_v40/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v40/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v40/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v40/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v40/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v40/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageActionEmpty.md b/docs/old/API_docs_v40/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEmpty.md b/docs/old/API_docs_v40/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityBold.md b/docs/old/API_docs_v40/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v40/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityCode.md b/docs/old/API_docs_v40/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityEmail.md b/docs/old/API_docs_v40/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityHashtag.md b/docs/old/API_docs_v40/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityItalic.md b/docs/old/API_docs_v40/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityMention.md b/docs/old/API_docs_v40/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityPre.md b/docs/old/API_docs_v40/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v40/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityUnknown.md b/docs/old/API_docs_v40/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageEntityUrl.md b/docs/old/API_docs_v40/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageGroup.md b/docs/old/API_docs_v40/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaAudio.md b/docs/old/API_docs_v40/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaContact.md b/docs/old/API_docs_v40/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaDocument.md b/docs/old/API_docs_v40/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaEmpty.md b/docs/old/API_docs_v40/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaGeo.md b/docs/old/API_docs_v40/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaPhoto.md b/docs/old/API_docs_v40/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v40/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaVenue.md b/docs/old/API_docs_v40/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaVideo.md b/docs/old/API_docs_v40/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageMediaWebPage.md b/docs/old/API_docs_v40/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageRange.md b/docs/old/API_docs_v40/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messageService.md b/docs/old/API_docs_v40/constructors/messageService.md new file mode 100644 index 00000000..546073d4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messageService.md @@ -0,0 +1,30 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_affectedHistory.md b/docs/old/API_docs_v40/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_affectedMessages.md b/docs/old/API_docs_v40/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_allStickers.md b/docs/old/API_docs_v40/constructors/messages_allStickers.md new file mode 100644 index 00000000..807b6985 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v40/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_channelMessages.md b/docs/old/API_docs_v40/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_chatFull.md b/docs/old/API_docs_v40/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_chats.md b/docs/old/API_docs_v40/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_dhConfig.md b/docs/old/API_docs_v40/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v40/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_dialogs.md b/docs/old/API_docs_v40/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v40/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_messages.md b/docs/old/API_docs_v40/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_messagesSlice.md b/docs/old/API_docs_v40/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v40/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v40/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_stickerSet.md b/docs/old/API_docs_v40/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_stickers.md b/docs/old/API_docs_v40/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v40/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v40/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/nearestDc.md b/docs/old/API_docs_v40/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/notifyAll.md b/docs/old/API_docs_v40/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/notifyChats.md b/docs/old/API_docs_v40/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/notifyPeer.md b/docs/old/API_docs_v40/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/notifyUsers.md b/docs/old/API_docs_v40/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v40/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/null.md b/docs/old/API_docs_v40/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/peerChannel.md b/docs/old/API_docs_v40/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/peerChat.md b/docs/old/API_docs_v40/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v40/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v40/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/peerNotifySettings.md b/docs/old/API_docs_v40/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v40/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/peerUser.md b/docs/old/API_docs_v40/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/photo.md b/docs/old/API_docs_v40/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photoCachedSize.md b/docs/old/API_docs_v40/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photoEmpty.md b/docs/old/API_docs_v40/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photoSize.md b/docs/old/API_docs_v40/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photoSizeEmpty.md b/docs/old/API_docs_v40/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photos_photo.md b/docs/old/API_docs_v40/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photos_photos.md b/docs/old/API_docs_v40/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/photos_photosSlice.md b/docs/old/API_docs_v40/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v40/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v40/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v40/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v40/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v40/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v40/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v40/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v40/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v40/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..8c0e953c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/replyKeyboardForceReply.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/replyKeyboardHide.md b/docs/old/API_docs_v40/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..67df993e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/replyKeyboardHide.md @@ -0,0 +1,25 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v40/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..cdc983c8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/replyKeyboardMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v40/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v40/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v40/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v40/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v40/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v40/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v40/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v40/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v40/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v40/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/stickerPack.md b/docs/old/API_docs_v40/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/stickerSet.md b/docs/old/API_docs_v40/constructors/stickerSet.md new file mode 100644 index 00000000..719e9576 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/stickerSet.md @@ -0,0 +1,31 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileGif.md b/docs/old/API_docs_v40/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileJpeg.md b/docs/old/API_docs_v40/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileMov.md b/docs/old/API_docs_v40/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileMp3.md b/docs/old/API_docs_v40/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileMp4.md b/docs/old/API_docs_v40/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_filePartial.md b/docs/old/API_docs_v40/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_filePdf.md b/docs/old/API_docs_v40/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_filePng.md b/docs/old/API_docs_v40/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileUnknown.md b/docs/old/API_docs_v40/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/storage_fileWebp.md b/docs/old/API_docs_v40/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateChannelTooLong.md b/docs/old/API_docs_v40/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v40/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..2ac540f4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateChatParticipantAdd.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v40/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateChatParticipants.md b/docs/old/API_docs_v40/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateChatUserTyping.md b/docs/old/API_docs_v40/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateContactLink.md b/docs/old/API_docs_v40/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateContactRegistered.md b/docs/old/API_docs_v40/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateDcOptions.md b/docs/old/API_docs_v40/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v40/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..e103f2b4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'peer' => Peer, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateDeleteMessages.md b/docs/old/API_docs_v40/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v40/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v40/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateEncryption.md b/docs/old/API_docs_v40/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateMessageID.md b/docs/old/API_docs_v40/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateNewAuthorization.md b/docs/old/API_docs_v40/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v40/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v40/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateNewMessage.md b/docs/old/API_docs_v40/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateNotifySettings.md b/docs/old/API_docs_v40/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updatePrivacy.md b/docs/old/API_docs_v40/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v40/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..e97ee034 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'peer' => Peer, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v40/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v40/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v40/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateServiceNotification.md b/docs/old/API_docs_v40/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateShort.md b/docs/old/API_docs_v40/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateShortChatMessage.md b/docs/old/API_docs_v40/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..9c90451f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateShortChatMessage.md @@ -0,0 +1,36 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateShortMessage.md b/docs/old/API_docs_v40/constructors/updateShortMessage.md new file mode 100644 index 00000000..5e38c5f4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateShortMessage.md @@ -0,0 +1,35 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[int](../types/int.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => int, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateShortSentMessage.md b/docs/old/API_docs_v40/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..a7ec9a03 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateShortSentMessage.md @@ -0,0 +1,31 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserBlocked.md b/docs/old/API_docs_v40/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserName.md b/docs/old/API_docs_v40/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserPhone.md b/docs/old/API_docs_v40/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserPhoto.md b/docs/old/API_docs_v40/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserStatus.md b/docs/old/API_docs_v40/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateUserTyping.md b/docs/old/API_docs_v40/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updateWebPage.md b/docs/old/API_docs_v40/constructors/updateWebPage.md new file mode 100644 index 00000000..8d513843 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updateWebPage.md @@ -0,0 +1,26 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates.md b/docs/old/API_docs_v40/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updatesCombined.md b/docs/old/API_docs_v40/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updatesTooLong.md b/docs/old/API_docs_v40/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_channelDifference.md b/docs/old/API_docs_v40/constructors/updates_channelDifference.md new file mode 100644 index 00000000..2cea7e78 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_channelDifference.md @@ -0,0 +1,31 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v40/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..399de274 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v40/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..32ea38ce --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,35 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_difference.md b/docs/old/API_docs_v40/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v40/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_differenceSlice.md b/docs/old/API_docs_v40/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/updates_state.md b/docs/old/API_docs_v40/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v40/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/upload_file.md b/docs/old/API_docs_v40/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v40/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/user.md b/docs/old/API_docs_v40/constructors/user.md new file mode 100644 index 00000000..3149cd4c --- /dev/null +++ b/docs/old/API_docs_v40/constructors/user.md @@ -0,0 +1,47 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/userEmpty.md b/docs/old/API_docs_v40/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/constructors/userFull.md b/docs/old/API_docs_v40/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userProfilePhoto.md b/docs/old/API_docs_v40/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v40/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusEmpty.md b/docs/old/API_docs_v40/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusLastMonth.md b/docs/old/API_docs_v40/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusLastWeek.md b/docs/old/API_docs_v40/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusOffline.md b/docs/old/API_docs_v40/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusOnline.md b/docs/old/API_docs_v40/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/userStatusRecently.md b/docs/old/API_docs_v40/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/vector.md b/docs/old/API_docs_v40/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/video.md b/docs/old/API_docs_v40/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/videoEmpty.md b/docs/old/API_docs_v40/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v40/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/wallPaper.md b/docs/old/API_docs_v40/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v40/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/wallPaperSolid.md b/docs/old/API_docs_v40/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v40/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/webPage.md b/docs/old/API_docs_v40/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/webPageEmpty.md b/docs/old/API_docs_v40/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v40/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v40/constructors/webPagePending.md b/docs/old/API_docs_v40/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v40/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v40/index.md b/docs/old/API_docs_v40/index.md new file mode 100644 index 00000000..7e38fc47 --- /dev/null +++ b/docs/old/API_docs_v40/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v40) +description: MadelineProto API documentation (layer v40) +--- +# MadelineProto API documentation (layer v40) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v40/methods/account_changePhone.md b/docs/old/API_docs_v40/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_checkUsername.md b/docs/old/API_docs_v40/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_deleteAccount.md b/docs/old/API_docs_v40/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getAccountTTL.md b/docs/old/API_docs_v40/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getAuthorizations.md b/docs/old/API_docs_v40/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getNotifySettings.md b/docs/old/API_docs_v40/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getPassword.md b/docs/old/API_docs_v40/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getPasswordSettings.md b/docs/old/API_docs_v40/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getPrivacy.md b/docs/old/API_docs_v40/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_getWallPapers.md b/docs/old/API_docs_v40/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_registerDevice.md b/docs/old/API_docs_v40/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_resetAuthorization.md b/docs/old/API_docs_v40/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_resetNotifySettings.md b/docs/old/API_docs_v40/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v40/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_setAccountTTL.md b/docs/old/API_docs_v40/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_setPrivacy.md b/docs/old/API_docs_v40/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_unregisterDevice.md b/docs/old/API_docs_v40/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v40/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updateNotifySettings.md b/docs/old/API_docs_v40/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v40/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updateProfile.md b/docs/old/API_docs_v40/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updateStatus.md b/docs/old/API_docs_v40/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/account_updateUsername.md b/docs/old/API_docs_v40/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v40/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v40/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_checkPassword.md b/docs/old/API_docs_v40/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_checkPhone.md b/docs/old/API_docs_v40/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_exportAuthorization.md b/docs/old/API_docs_v40/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_importAuthorization.md b/docs/old/API_docs_v40/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v40/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_logOut.md b/docs/old/API_docs_v40/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_recoverPassword.md b/docs/old/API_docs_v40/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v40/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v40/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_sendCall.md b/docs/old/API_docs_v40/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_sendCode.md b/docs/old/API_docs_v40/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_sendInvites.md b/docs/old/API_docs_v40/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_sendSms.md b/docs/old/API_docs_v40/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_signIn.md b/docs/old/API_docs_v40/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/auth_signUp.md b/docs/old/API_docs_v40/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v40/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_block.md b/docs/old/API_docs_v40/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_deleteContact.md b/docs/old/API_docs_v40/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_deleteContacts.md b/docs/old/API_docs_v40/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_exportCard.md b/docs/old/API_docs_v40/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_getBlocked.md b/docs/old/API_docs_v40/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_getContacts.md b/docs/old/API_docs_v40/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_getStatuses.md b/docs/old/API_docs_v40/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_getSuggested.md b/docs/old/API_docs_v40/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_importCard.md b/docs/old/API_docs_v40/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_importContacts.md b/docs/old/API_docs_v40/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_resolveUsername.md b/docs/old/API_docs_v40/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..5a582f18 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_search.md b/docs/old/API_docs_v40/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/contacts_unblock.md b/docs/old/API_docs_v40/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v40/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getAppChangelog.md b/docs/old/API_docs_v40/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getAppUpdate.md b/docs/old/API_docs_v40/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getConfig.md b/docs/old/API_docs_v40/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getInviteText.md b/docs/old/API_docs_v40/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getNearestDc.md b/docs/old/API_docs_v40/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_getSupport.md b/docs/old/API_docs_v40/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/help_saveAppLog.md b/docs/old/API_docs_v40/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v40/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/index.md b/docs/old/API_docs_v40/methods/index.md new file mode 100644 index 00000000..bf7dba45 --- /dev/null +++ b/docs/old/API_docs_v40/methods/index.md @@ -0,0 +1,269 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [InputChat](../types/InputChat.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChannel](messages_createChannel.md)(\['title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChannelMessages](messages_deleteChannelMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [InputChat](../types/InputChat.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [InputChat](../types/InputChat.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [InputChat](../types/InputChat.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [InputChat](../types/InputChat.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChannelDialogs](messages_getChannelDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[InputChat](../types/InputChat.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [InputChat](../types/InputChat.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getImportantHistory](messages_getImportantHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readChannelHistory](messages_readChannelHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'chat_id' => [InputChat](../types/InputChat.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v40/methods/initConnection.md b/docs/old/API_docs_v40/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v40/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/invokeAfterMsg.md b/docs/old/API_docs_v40/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v40/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/invokeAfterMsgs.md b/docs/old/API_docs_v40/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v40/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/invokeWithLayer.md b/docs/old/API_docs_v40/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v40/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v40/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v40/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_acceptEncryption.md b/docs/old/API_docs_v40/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_addChatUser.md b/docs/old/API_docs_v40/methods/messages_addChatUser.md new file mode 100644 index 00000000..e3210941 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => InputChat, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_checkChatInvite.md b/docs/old/API_docs_v40/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_createChannel.md b/docs/old/API_docs_v40/methods/messages_createChannel.md new file mode 100644 index 00000000..fcab97d4 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_createChannel.md @@ -0,0 +1,37 @@ +--- +title: messages_createChannel +description: messages_createChannel parameters, return type and example +--- +## Method: messages\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChannel(['title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_createChat.md b/docs/old/API_docs_v40/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_deleteChannelMessages.md b/docs/old/API_docs_v40/methods/messages_deleteChannelMessages.md new file mode 100644 index 00000000..552c3a5d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_deleteChannelMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChannelMessages +description: messages_deleteChannelMessages parameters, return type and example +--- +## Method: messages\_deleteChannelMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteChannelMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_deleteChatUser.md b/docs/old/API_docs_v40/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..388a4f9f --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => InputChat, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_deleteHistory.md b/docs/old/API_docs_v40/methods/messages_deleteHistory.md new file mode 100644 index 00000000..a4c3742f --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_deleteMessages.md b/docs/old/API_docs_v40/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_discardEncryption.md b/docs/old/API_docs_v40/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_editChatPhoto.md b/docs/old/API_docs_v40/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..84d4e213 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => InputChat, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_editChatTitle.md b/docs/old/API_docs_v40/methods/messages_editChatTitle.md new file mode 100644 index 00000000..e13f590b --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => InputChat, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_exportChatInvite.md b/docs/old/API_docs_v40/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..89e7a505 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => InputChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_forwardMessage.md b/docs/old/API_docs_v40/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_forwardMessages.md b/docs/old/API_docs_v40/methods/messages_forwardMessages.md new file mode 100644 index 00000000..77dc96f1 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_forwardMessages.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['peer' => InputPeer, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getAllStickers.md b/docs/old/API_docs_v40/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getChannelDialogs.md b/docs/old/API_docs_v40/methods/messages_getChannelDialogs.md new file mode 100644 index 00000000..a7977c68 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getChannelDialogs.md @@ -0,0 +1,38 @@ +--- +title: messages_getChannelDialogs +description: messages_getChannelDialogs parameters, return type and example +--- +## Method: messages\_getChannelDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getChannelDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getChats.md b/docs/old/API_docs_v40/methods/messages_getChats.md new file mode 100644 index 00000000..84147422 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChat](../types/InputChat.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [InputChat], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getDhConfig.md b/docs/old/API_docs_v40/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getDialogs.md b/docs/old/API_docs_v40/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe19a391 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getFullChat.md b/docs/old/API_docs_v40/methods/messages_getFullChat.md new file mode 100644 index 00000000..59a01817 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[InputChat](../types/InputChat.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => InputChat, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getHistory.md b/docs/old/API_docs_v40/methods/messages_getHistory.md new file mode 100644 index 00000000..c25db3ca --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getHistory.md @@ -0,0 +1,41 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset' => int, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getImportantHistory.md b/docs/old/API_docs_v40/methods/messages_getImportantHistory.md new file mode 100644 index 00000000..9dfe8b13 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getImportantHistory.md @@ -0,0 +1,40 @@ +--- +title: messages_getImportantHistory +description: messages_getImportantHistory parameters, return type and example +--- +## Method: messages\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getImportantHistory(['peer' => InputPeer, 'max_id' => int, 'min_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getMessages.md b/docs/old/API_docs_v40/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getStickerSet.md b/docs/old/API_docs_v40/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getStickers.md b/docs/old/API_docs_v40/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v40/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_importChatInvite.md b/docs/old/API_docs_v40/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_installStickerSet.md b/docs/old/API_docs_v40/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_readChannelHistory.md b/docs/old/API_docs_v40/methods/messages_readChannelHistory.md new file mode 100644 index 00000000..b9d8b56d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_readChannelHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readChannelHistory +description: messages_readChannelHistory parameters, return type and example +--- +## Method: messages\_readChannelHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readChannelHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v40/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_readHistory.md b/docs/old/API_docs_v40/methods/messages_readHistory.md new file mode 100644 index 00000000..34f28811 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_readHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_readMessageContents.md b/docs/old/API_docs_v40/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_receivedMessages.md b/docs/old/API_docs_v40/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_receivedQueue.md b/docs/old/API_docs_v40/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_requestEncryption.md b/docs/old/API_docs_v40/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_search.md b/docs/old/API_docs_v40/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendBroadcast.md b/docs/old/API_docs_v40/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendEncrypted.md b/docs/old/API_docs_v40/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v40/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v40/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendMedia.md b/docs/old/API_docs_v40/methods/messages_sendMedia.md new file mode 100644 index 00000000..3f2599c8 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendMedia.md @@ -0,0 +1,40 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_sendMessage.md b/docs/old/API_docs_v40/methods/messages_sendMessage.md new file mode 100644 index 00000000..e366fcb8 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_sendMessage.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v40/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_setTyping.md b/docs/old/API_docs_v40/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_startBot.md b/docs/old/API_docs_v40/methods/messages_startBot.md new file mode 100644 index 00000000..8d49dfb0 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|chat\_id|[InputChat](../types/InputChat.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'chat_id' => InputChat, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v40/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v40/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/photos_deletePhotos.md b/docs/old/API_docs_v40/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v40/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/photos_getUserPhotos.md b/docs/old/API_docs_v40/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v40/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v40/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v40/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v40/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v40/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/updates_getChannelDifference.md b/docs/old/API_docs_v40/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..a11aa5f7 --- /dev/null +++ b/docs/old/API_docs_v40/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['peer' => InputPeer, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/updates_getDifference.md b/docs/old/API_docs_v40/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v40/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/updates_getState.md b/docs/old/API_docs_v40/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v40/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/upload_getFile.md b/docs/old/API_docs_v40/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v40/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v40/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v40/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/upload_saveFilePart.md b/docs/old/API_docs_v40/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v40/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/users_getFullUser.md b/docs/old/API_docs_v40/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v40/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/methods/users_getUsers.md b/docs/old/API_docs_v40/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v40/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/!X.md b/docs/old/API_docs_v40/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v40/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/AccountDaysTTL.md b/docs/old/API_docs_v40/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v40/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v40/types/Audio.md b/docs/old/API_docs_v40/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v40/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Authorization.md b/docs/old/API_docs_v40/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v40/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Bool.md b/docs/old/API_docs_v40/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v40/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/BotCommand.md b/docs/old/API_docs_v40/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v40/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/BotInfo.md b/docs/old/API_docs_v40/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v40/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ChannelMessagesFilter.md b/docs/old/API_docs_v40/types/ChannelMessagesFilter.md similarity index 100% rename from docs/API_docs_55/types/ChannelMessagesFilter.md rename to docs/old/API_docs_v40/types/ChannelMessagesFilter.md diff --git a/docs/old/API_docs_v40/types/Chat.md b/docs/old/API_docs_v40/types/Chat.md new file mode 100644 index 00000000..bf6c0f03 --- /dev/null +++ b/docs/old/API_docs_v40/types/Chat.md @@ -0,0 +1,25 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ChatFull.md b/docs/old/API_docs_v40/types/ChatFull.md similarity index 100% rename from docs/API_docs_55/types/ChatFull.md rename to docs/old/API_docs_v40/types/ChatFull.md diff --git a/docs/old/API_docs_v40/types/ChatInvite.md b/docs/old/API_docs_v40/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v40/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v40/types/ChatParticipant.md b/docs/old/API_docs_v40/types/ChatParticipant.md new file mode 100644 index 00000000..b8295bf0 --- /dev/null +++ b/docs/old/API_docs_v40/types/ChatParticipant.md @@ -0,0 +1,19 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ChatParticipants.md b/docs/old/API_docs_v40/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v40/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ChatPhoto.md b/docs/old/API_docs_v40/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v40/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Config.md b/docs/old/API_docs_v40/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v40/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v40/types/Contact.md b/docs/old/API_docs_v40/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v40/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ContactBlocked.md b/docs/old/API_docs_v40/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v40/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ContactFound.md b/docs/old/API_docs_v40/types/ContactFound.md new file mode 100644 index 00000000..1464f8b6 --- /dev/null +++ b/docs/old/API_docs_v40/types/ContactFound.md @@ -0,0 +1,19 @@ +--- +title: ContactFound +description: constructors and methods of type ContactFound +--- +## Type: ContactFound +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactFound](../constructors/contactFound.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ContactLink.md b/docs/old/API_docs_v40/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v40/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ContactStatus.md b/docs/old/API_docs_v40/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v40/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v40/types/ContactSuggested.md b/docs/old/API_docs_v40/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v40/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/DcOption.md b/docs/old/API_docs_v40/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v40/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Dialog.md b/docs/old/API_docs_v40/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v40/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/DisabledFeature.md b/docs/old/API_docs_v40/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v40/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Document.md b/docs/old/API_docs_v40/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v40/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/DocumentAttribute.md b/docs/old/API_docs_v40/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v40/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/EncryptedChat.md b/docs/old/API_docs_v40/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v40/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v40/types/EncryptedFile.md b/docs/old/API_docs_v40/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v40/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/EncryptedMessage.md b/docs/old/API_docs_v40/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v40/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Error.md b/docs/old/API_docs_v40/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v40/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ExportedChatInvite.md b/docs/old/API_docs_v40/types/ExportedChatInvite.md new file mode 100644 index 00000000..c4c3429c --- /dev/null +++ b/docs/old/API_docs_v40/types/ExportedChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + + + diff --git a/docs/old/API_docs_v40/types/FileLocation.md b/docs/old/API_docs_v40/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v40/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/GeoPoint.md b/docs/old/API_docs_v40/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v40/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ImportedContact.md b/docs/old/API_docs_v40/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v40/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputAppEvent.md b/docs/old/API_docs_v40/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputAudio.md b/docs/old/API_docs_v40/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v40/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputChat.md b/docs/old/API_docs_v40/types/InputChat.md new file mode 100644 index 00000000..cd1d280f --- /dev/null +++ b/docs/old/API_docs_v40/types/InputChat.md @@ -0,0 +1,23 @@ +--- +title: InputChat +description: constructors and methods of type InputChat +--- +## Type: InputChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatEmpty](../constructors/inputChatEmpty.md) + +[inputChat](../constructors/inputChat.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputChatPhoto.md b/docs/old/API_docs_v40/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputContact.md b/docs/old/API_docs_v40/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputDocument.md b/docs/old/API_docs_v40/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputEncryptedChat.md b/docs/old/API_docs_v40/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputEncryptedFile.md b/docs/old/API_docs_v40/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputFile.md b/docs/old/API_docs_v40/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputFileLocation.md b/docs/old/API_docs_v40/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v40/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputGeoPoint.md b/docs/old/API_docs_v40/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputMedia.md b/docs/old/API_docs_v40/types/InputMedia.md new file mode 100644 index 00000000..5112cbfa --- /dev/null +++ b/docs/old/API_docs_v40/types/InputMedia.md @@ -0,0 +1,45 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputNotifyPeer.md b/docs/old/API_docs_v40/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v40/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputPeer.md b/docs/old/API_docs_v40/types/InputPeer.md similarity index 100% rename from docs/API_docs_55/types/InputPeer.md rename to docs/old/API_docs_v40/types/InputPeer.md diff --git a/docs/old/API_docs_v40/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v40/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputPeerNotifySettings.md b/docs/old/API_docs_v40/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputPhoto.md b/docs/old/API_docs_v40/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputPhotoCrop.md b/docs/old/API_docs_v40/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputPrivacyKey.md b/docs/old/API_docs_v40/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputPrivacyRule.md b/docs/old/API_docs_v40/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v40/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputStickerSet.md b/docs/old/API_docs_v40/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v40/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputUser.md b/docs/old/API_docs_v40/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v40/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/InputVideo.md b/docs/old/API_docs_v40/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v40/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/KeyboardButton.md b/docs/old/API_docs_v40/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v40/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/KeyboardButtonRow.md b/docs/old/API_docs_v40/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v40/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Message.md b/docs/old/API_docs_v40/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v40/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/MessageAction.md b/docs/old/API_docs_v40/types/MessageAction.md new file mode 100644 index 00000000..d028aa3e --- /dev/null +++ b/docs/old/API_docs_v40/types/MessageAction.md @@ -0,0 +1,35 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/MessageEntity.md b/docs/old/API_docs_v40/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v40/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/MessageGroup.md b/docs/old/API_docs_v40/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v40/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/MessageMedia.md b/docs/old/API_docs_v40/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v40/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/API_docs_55/types/MessageRange.md b/docs/old/API_docs_v40/types/MessageRange.md similarity index 100% rename from docs/API_docs_55/types/MessageRange.md rename to docs/old/API_docs_v40/types/MessageRange.md diff --git a/docs/old/API_docs_v40/types/MessagesFilter.md b/docs/old/API_docs_v40/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v40/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/NearestDc.md b/docs/old/API_docs_v40/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v40/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v40/types/NotifyPeer.md b/docs/old/API_docs_v40/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v40/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Null.md b/docs/old/API_docs_v40/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v40/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Peer.md b/docs/old/API_docs_v40/types/Peer.md similarity index 100% rename from docs/API_docs_55/types/Peer.md rename to docs/old/API_docs_v40/types/Peer.md diff --git a/docs/old/API_docs_v40/types/PeerNotifyEvents.md b/docs/old/API_docs_v40/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v40/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/PeerNotifySettings.md b/docs/old/API_docs_v40/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v40/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v40/types/Photo.md b/docs/old/API_docs_v40/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v40/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/PhotoSize.md b/docs/old/API_docs_v40/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v40/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/PrivacyKey.md b/docs/old/API_docs_v40/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v40/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/PrivacyRule.md b/docs/old/API_docs_v40/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v40/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v40/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v40/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v40/types/ReplyMarkup.md b/docs/old/API_docs_v40/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v40/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/SendMessageAction.md b/docs/old/API_docs_v40/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v40/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/StickerPack.md b/docs/old/API_docs_v40/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v40/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/StickerSet.md b/docs/old/API_docs_v40/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v40/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Update.md b/docs/old/API_docs_v40/types/Update.md new file mode 100644 index 00000000..acdf095a --- /dev/null +++ b/docs/old/API_docs_v40/types/Update.md @@ -0,0 +1,81 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Updates.md b/docs/old/API_docs_v40/types/Updates.md new file mode 100644 index 00000000..d87d341c --- /dev/null +++ b/docs/old/API_docs_v40/types/Updates.md @@ -0,0 +1,57 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->messages->createChannel](../methods/messages_createChannel.md) + + + diff --git a/docs/old/API_docs_v40/types/User.md b/docs/old/API_docs_v40/types/User.md new file mode 100644 index 00000000..f72fd697 --- /dev/null +++ b/docs/old/API_docs_v40/types/User.md @@ -0,0 +1,33 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v40/types/UserFull.md b/docs/old/API_docs_v40/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v40/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v40/types/UserProfilePhoto.md b/docs/old/API_docs_v40/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v40/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v40/types/UserStatus.md b/docs/old/API_docs_v40/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v40/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Vector t.md b/docs/old/API_docs_v40/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v40/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/Video.md b/docs/old/API_docs_v40/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v40/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/WallPaper.md b/docs/old/API_docs_v40/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v40/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v40/types/WebPage.md b/docs/old/API_docs_v40/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v40/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/X.md b/docs/old/API_docs_v40/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v40/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/account_Authorizations.md b/docs/old/API_docs_v40/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v40/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v40/types/account_Password.md b/docs/old/API_docs_v40/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v40/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v40/types/account_PasswordInputSettings.md b/docs/old/API_docs_v40/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v40/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/account_PasswordSettings.md b/docs/old/API_docs_v40/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v40/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v40/types/account_PrivacyRules.md b/docs/old/API_docs_v40/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v40/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v40/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v40/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v40/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v40/types/auth_Authorization.md b/docs/old/API_docs_v40/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v40/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v40/types/auth_CheckedPhone.md b/docs/old/API_docs_v40/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v40/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v40/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v40/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v40/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v40/types/auth_PasswordRecovery.md b/docs/old/API_docs_v40/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v40/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v40/types/auth_SentCode.md b/docs/old/API_docs_v40/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v40/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v40/types/bytes.md b/docs/old/API_docs_v40/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v40/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/contacts_Blocked.md b/docs/old/API_docs_v40/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v40/types/contacts_Contacts.md b/docs/old/API_docs_v40/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v40/types/contacts_Found.md b/docs/old/API_docs_v40/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v40/types/contacts_ImportedContacts.md b/docs/old/API_docs_v40/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v40/types/contacts_Link.md b/docs/old/API_docs_v40/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v40/types/contacts_Suggested.md b/docs/old/API_docs_v40/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v40/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v40/types/double.md b/docs/old/API_docs_v40/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v40/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/help_AppChangelog.md b/docs/old/API_docs_v40/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v40/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v40/types/help_AppUpdate.md b/docs/old/API_docs_v40/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v40/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v40/types/help_InviteText.md b/docs/old/API_docs_v40/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v40/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v40/types/help_Support.md b/docs/old/API_docs_v40/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v40/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v40/types/index.md b/docs/old/API_docs_v40/types/index.md new file mode 100644 index 00000000..9d96552c --- /dev/null +++ b/docs/old/API_docs_v40/types/index.md @@ -0,0 +1,272 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactFound](ContactFound.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChat](InputChat.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v40/types/int.md b/docs/old/API_docs_v40/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v40/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/int128.md b/docs/old/API_docs_v40/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v40/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/int256.md b/docs/old/API_docs_v40/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v40/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/int512.md b/docs/old/API_docs_v40/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v40/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/long.md b/docs/old/API_docs_v40/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v40/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v40/types/messages_AffectedHistory.md b/docs/old/API_docs_v40/types/messages_AffectedHistory.md new file mode 100644 index 00000000..9eaacd85 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_AffectedMessages.md b/docs/old/API_docs_v40/types/messages_AffectedMessages.md new file mode 100644 index 00000000..7f9b2666 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_AffectedMessages.md @@ -0,0 +1,25 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->messages->deleteChannelMessages](../methods/messages_deleteChannelMessages.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_AllStickers.md b/docs/old/API_docs_v40/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_ChatFull.md b/docs/old/API_docs_v40/types/messages_ChatFull.md new file mode 100644 index 00000000..14622524 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_ChatFull.md @@ -0,0 +1,21 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_Chats.md b/docs/old/API_docs_v40/types/messages_Chats.md new file mode 100644 index 00000000..377aa3da --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_Chats.md @@ -0,0 +1,21 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_DhConfig.md b/docs/old/API_docs_v40/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_Dialogs.md b/docs/old/API_docs_v40/types/messages_Dialogs.md new file mode 100644 index 00000000..aab9d9b7 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->messages->getChannelDialogs](../methods/messages_getChannelDialogs.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_Messages.md b/docs/old/API_docs_v40/types/messages_Messages.md new file mode 100644 index 00000000..e51a5383 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_Messages.md @@ -0,0 +1,31 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->messages->getImportantHistory](../methods/messages_getImportantHistory.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v40/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_StickerSet.md b/docs/old/API_docs_v40/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v40/types/messages_Stickers.md b/docs/old/API_docs_v40/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v40/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v40/types/photos_Photo.md b/docs/old/API_docs_v40/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v40/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v40/types/photos_Photos.md b/docs/old/API_docs_v40/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v40/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v40/types/storage_FileType.md b/docs/old/API_docs_v40/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v40/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v40/types/string.md b/docs/old/API_docs_v40/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v40/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs_55/types/updates_ChannelDifference.md b/docs/old/API_docs_v40/types/updates_ChannelDifference.md similarity index 100% rename from docs/API_docs_55/types/updates_ChannelDifference.md rename to docs/old/API_docs_v40/types/updates_ChannelDifference.md diff --git a/docs/old/API_docs_v40/types/updates_Difference.md b/docs/old/API_docs_v40/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v40/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v40/types/updates_State.md b/docs/old/API_docs_v40/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v40/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v40/types/upload_File.md b/docs/old/API_docs_v40/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v40/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v41/constructors/accountDaysTTL.md b/docs/old/API_docs_v41/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_authorizations.md b/docs/old/API_docs_v41/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_noPassword.md b/docs/old/API_docs_v41/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_password.md b/docs/old/API_docs_v41/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v41/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_passwordSettings.md b/docs/old/API_docs_v41/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_privacyRules.md b/docs/old/API_docs_v41/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v41/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/audio.md b/docs/old/API_docs_v41/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/audioEmpty.md b/docs/old/API_docs_v41/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_authorization.md b/docs/old/API_docs_v41/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_checkedPhone.md b/docs/old/API_docs_v41/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v41/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v41/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_sentAppCode.md b/docs/old/API_docs_v41/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/auth_sentCode.md b/docs/old/API_docs_v41/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/authorization.md b/docs/old/API_docs_v41/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/boolFalse.md b/docs/old/API_docs_v41/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/boolTrue.md b/docs/old/API_docs_v41/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/botCommand.md b/docs/old/API_docs_v41/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/botInfo.md b/docs/old/API_docs_v41/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/botInfoEmpty.md b/docs/old/API_docs_v41/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channel.md b/docs/old/API_docs_v41/constructors/channel.md new file mode 100644 index 00000000..1e43ea9f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channel.md @@ -0,0 +1,53 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/channelForbidden.md b/docs/old/API_docs_v41/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/channelFull.md b/docs/old/API_docs_v41/constructors/channelFull.md new file mode 100644 index 00000000..b825f709 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelFull.md @@ -0,0 +1,40 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelMessagesFilter.md b/docs/old/API_docs_v41/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..542d5b52 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelMessagesFilter.md @@ -0,0 +1,27 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v41/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v41/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipant.md b/docs/old/API_docs_v41/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantCreator.md b/docs/old/API_docs_v41/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantEditor.md b/docs/old/API_docs_v41/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantKicked.md b/docs/old/API_docs_v41/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantModerator.md b/docs/old/API_docs_v41/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantSelf.md b/docs/old/API_docs_v41/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v41/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantsBots.md b/docs/old/API_docs_v41/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v41/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v41/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelRoleEditor.md b/docs/old/API_docs_v41/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelRoleEmpty.md b/docs/old/API_docs_v41/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channelRoleModerator.md b/docs/old/API_docs_v41/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channels_channelParticipant.md b/docs/old/API_docs_v41/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/channels_channelParticipants.md b/docs/old/API_docs_v41/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chat.md b/docs/old/API_docs_v41/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/chatEmpty.md b/docs/old/API_docs_v41/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/chatForbidden.md b/docs/old/API_docs_v41/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/chatFull.md b/docs/old/API_docs_v41/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatInvite.md b/docs/old/API_docs_v41/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatInviteAlready.md b/docs/old/API_docs_v41/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatInviteEmpty.md b/docs/old/API_docs_v41/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatInviteExported.md b/docs/old/API_docs_v41/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatParticipant.md b/docs/old/API_docs_v41/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v41/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatParticipantCreator.md b/docs/old/API_docs_v41/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatParticipants.md b/docs/old/API_docs_v41/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v41/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatPhoto.md b/docs/old/API_docs_v41/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v41/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/config.md b/docs/old/API_docs_v41/constructors/config.md new file mode 100644 index 00000000..26260539 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contact.md b/docs/old/API_docs_v41/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactBlocked.md b/docs/old/API_docs_v41/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactLinkContact.md b/docs/old/API_docs_v41/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v41/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactLinkNone.md b/docs/old/API_docs_v41/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactLinkUnknown.md b/docs/old/API_docs_v41/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactStatus.md b/docs/old/API_docs_v41/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contactSuggested.md b/docs/old/API_docs_v41/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_blocked.md b/docs/old/API_docs_v41/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v41/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_contacts.md b/docs/old/API_docs_v41/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v41/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_found.md b/docs/old/API_docs_v41/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_importedContacts.md b/docs/old/API_docs_v41/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_link.md b/docs/old/API_docs_v41/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v41/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/contacts_suggested.md b/docs/old/API_docs_v41/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/dcOption.md b/docs/old/API_docs_v41/constructors/dcOption.md new file mode 100644 index 00000000..ca50ee47 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/dcOption.md @@ -0,0 +1,30 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/dialog.md b/docs/old/API_docs_v41/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/dialogChannel.md b/docs/old/API_docs_v41/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/disabledFeature.md b/docs/old/API_docs_v41/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/document.md b/docs/old/API_docs_v41/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v41/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeAudio.md b/docs/old/API_docs_v41/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeFilename.md b/docs/old/API_docs_v41/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v41/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeSticker.md b/docs/old/API_docs_v41/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentAttributeVideo.md b/docs/old/API_docs_v41/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/documentEmpty.md b/docs/old/API_docs_v41/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedChat.md b/docs/old/API_docs_v41/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v41/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v41/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedChatRequested.md b/docs/old/API_docs_v41/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v41/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedFile.md b/docs/old/API_docs_v41/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v41/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedMessage.md b/docs/old/API_docs_v41/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/encryptedMessageService.md b/docs/old/API_docs_v41/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/error.md b/docs/old/API_docs_v41/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/fileLocation.md b/docs/old/API_docs_v41/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v41/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/geoPoint.md b/docs/old/API_docs_v41/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/geoPointEmpty.md b/docs/old/API_docs_v41/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_appChangelog.md b/docs/old/API_docs_v41/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v41/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_appUpdate.md b/docs/old/API_docs_v41/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_inviteText.md b/docs/old/API_docs_v41/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_noAppUpdate.md b/docs/old/API_docs_v41/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/help_support.md b/docs/old/API_docs_v41/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/importedContact.md b/docs/old/API_docs_v41/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/index.md b/docs/old/API_docs_v41/constructors/index.md new file mode 100644 index 00000000..6d8acaee --- /dev/null +++ b/docs/old/API_docs_v41/constructors/index.md @@ -0,0 +1,1069 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['important_only' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatActivate](../constructors/messageActionChatActivate.md) = \[\]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeactivate](../constructors/messageActionChatDeactivate.md) = \[\]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v41/constructors/inputAppEvent.md b/docs/old/API_docs_v41/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputAudio.md b/docs/old/API_docs_v41/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputAudioEmpty.md b/docs/old/API_docs_v41/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v41/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputChannel.md b/docs/old/API_docs_v41/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputChannelEmpty.md b/docs/old/API_docs_v41/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputChatPhoto.md b/docs/old/API_docs_v41/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v41/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v41/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputDocument.md b/docs/old/API_docs_v41/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v41/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v41/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedChat.md b/docs/old/API_docs_v41/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedFile.md b/docs/old/API_docs_v41/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v41/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v41/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v41/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputFile.md b/docs/old/API_docs_v41/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputFileBig.md b/docs/old/API_docs_v41/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputFileLocation.md b/docs/old/API_docs_v41/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputGeoPoint.md b/docs/old/API_docs_v41/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v41/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaAudio.md b/docs/old/API_docs_v41/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaContact.md b/docs/old/API_docs_v41/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaDocument.md b/docs/old/API_docs_v41/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaEmpty.md b/docs/old/API_docs_v41/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v41/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaPhoto.md b/docs/old/API_docs_v41/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v41/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaVenue.md b/docs/old/API_docs_v41/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMediaVideo.md b/docs/old/API_docs_v41/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v41/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputNotifyAll.md b/docs/old/API_docs_v41/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputNotifyChats.md b/docs/old/API_docs_v41/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputNotifyPeer.md b/docs/old/API_docs_v41/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputNotifyUsers.md b/docs/old/API_docs_v41/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPeerChannel.md b/docs/old/API_docs_v41/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputPeerChat.md b/docs/old/API_docs_v41/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputPeerEmpty.md b/docs/old/API_docs_v41/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v41/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPeerSelf.md b/docs/old/API_docs_v41/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputPeerUser.md b/docs/old/API_docs_v41/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputPhoneContact.md b/docs/old/API_docs_v41/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPhoto.md b/docs/old/API_docs_v41/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPhotoCrop.md b/docs/old/API_docs_v41/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v41/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v41/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v41/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputStickerSetID.md b/docs/old/API_docs_v41/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v41/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputUser.md b/docs/old/API_docs_v41/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputUserEmpty.md b/docs/old/API_docs_v41/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputUserSelf.md b/docs/old/API_docs_v41/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/inputVideo.md b/docs/old/API_docs_v41/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputVideoEmpty.md b/docs/old/API_docs_v41/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v41/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v41/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/keyboardButton.md b/docs/old/API_docs_v41/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/keyboardButtonRow.md b/docs/old/API_docs_v41/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/message.md b/docs/old/API_docs_v41/constructors/message.md new file mode 100644 index 00000000..941fbfdb --- /dev/null +++ b/docs/old/API_docs_v41/constructors/message.md @@ -0,0 +1,41 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v41/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v41/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatActivate.md b/docs/old/API_docs_v41/constructors/messageActionChatActivate.md new file mode 100644 index 00000000..58d11942 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatActivate.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatActivate +description: messageActionChatActivate attributes, type and example +--- +## Constructor: messageActionChatActivate +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatActivate = ['_' => 'messageActionChatActivate', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v41/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..1d4822c5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatCreate.md b/docs/old/API_docs_v41/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatDeactivate.md b/docs/old/API_docs_v41/constructors/messageActionChatDeactivate.md new file mode 100644 index 00000000..6aa66479 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatDeactivate.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeactivate +description: messageActionChatDeactivate attributes, type and example +--- +## Constructor: messageActionChatDeactivate +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeactivate = ['_' => 'messageActionChatDeactivate', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v41/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v41/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v41/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v41/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v41/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v41/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageActionEmpty.md b/docs/old/API_docs_v41/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEmpty.md b/docs/old/API_docs_v41/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityBold.md b/docs/old/API_docs_v41/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v41/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityCode.md b/docs/old/API_docs_v41/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityEmail.md b/docs/old/API_docs_v41/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityHashtag.md b/docs/old/API_docs_v41/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityItalic.md b/docs/old/API_docs_v41/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityMention.md b/docs/old/API_docs_v41/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityPre.md b/docs/old/API_docs_v41/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v41/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityUnknown.md b/docs/old/API_docs_v41/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageEntityUrl.md b/docs/old/API_docs_v41/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageGroup.md b/docs/old/API_docs_v41/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaAudio.md b/docs/old/API_docs_v41/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaContact.md b/docs/old/API_docs_v41/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaDocument.md b/docs/old/API_docs_v41/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaEmpty.md b/docs/old/API_docs_v41/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaGeo.md b/docs/old/API_docs_v41/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaPhoto.md b/docs/old/API_docs_v41/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v41/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaVenue.md b/docs/old/API_docs_v41/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaVideo.md b/docs/old/API_docs_v41/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageMediaWebPage.md b/docs/old/API_docs_v41/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageRange.md b/docs/old/API_docs_v41/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messageService.md b/docs/old/API_docs_v41/constructors/messageService.md new file mode 100644 index 00000000..2fd34911 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messageService.md @@ -0,0 +1,34 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_affectedHistory.md b/docs/old/API_docs_v41/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_affectedMessages.md b/docs/old/API_docs_v41/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_allStickers.md b/docs/old/API_docs_v41/constructors/messages_allStickers.md new file mode 100644 index 00000000..807b6985 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v41/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_channelMessages.md b/docs/old/API_docs_v41/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_chatFull.md b/docs/old/API_docs_v41/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_chats.md b/docs/old/API_docs_v41/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_dhConfig.md b/docs/old/API_docs_v41/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v41/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_dialogs.md b/docs/old/API_docs_v41/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v41/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_messages.md b/docs/old/API_docs_v41/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_messagesSlice.md b/docs/old/API_docs_v41/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v41/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v41/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_stickerSet.md b/docs/old/API_docs_v41/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_stickers.md b/docs/old/API_docs_v41/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v41/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v41/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/nearestDc.md b/docs/old/API_docs_v41/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/notifyAll.md b/docs/old/API_docs_v41/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/notifyChats.md b/docs/old/API_docs_v41/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/notifyPeer.md b/docs/old/API_docs_v41/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/notifyUsers.md b/docs/old/API_docs_v41/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v41/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/null.md b/docs/old/API_docs_v41/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/peerChannel.md b/docs/old/API_docs_v41/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/peerChat.md b/docs/old/API_docs_v41/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v41/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v41/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/peerNotifySettings.md b/docs/old/API_docs_v41/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v41/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/peerUser.md b/docs/old/API_docs_v41/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/photo.md b/docs/old/API_docs_v41/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photoCachedSize.md b/docs/old/API_docs_v41/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photoEmpty.md b/docs/old/API_docs_v41/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photoSize.md b/docs/old/API_docs_v41/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photoSizeEmpty.md b/docs/old/API_docs_v41/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photos_photo.md b/docs/old/API_docs_v41/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photos_photos.md b/docs/old/API_docs_v41/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/photos_photosSlice.md b/docs/old/API_docs_v41/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v41/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v41/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v41/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v41/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v41/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v41/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v41/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v41/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v41/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/replyKeyboardHide.md b/docs/old/API_docs_v41/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v41/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v41/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v41/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v41/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v41/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v41/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v41/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v41/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v41/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v41/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v41/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/stickerPack.md b/docs/old/API_docs_v41/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/stickerSet.md b/docs/old/API_docs_v41/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileGif.md b/docs/old/API_docs_v41/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileJpeg.md b/docs/old/API_docs_v41/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileMov.md b/docs/old/API_docs_v41/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileMp3.md b/docs/old/API_docs_v41/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileMp4.md b/docs/old/API_docs_v41/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_filePartial.md b/docs/old/API_docs_v41/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_filePdf.md b/docs/old/API_docs_v41/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_filePng.md b/docs/old/API_docs_v41/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileUnknown.md b/docs/old/API_docs_v41/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/storage_fileWebp.md b/docs/old/API_docs_v41/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/true.md b/docs/old/API_docs_v41/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChannel.md b/docs/old/API_docs_v41/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChannelGroup.md b/docs/old/API_docs_v41/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v41/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChannelTooLong.md b/docs/old/API_docs_v41/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatAdmins.md b/docs/old/API_docs_v41/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v41/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v41/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v41/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatParticipants.md b/docs/old/API_docs_v41/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateChatUserTyping.md b/docs/old/API_docs_v41/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateContactLink.md b/docs/old/API_docs_v41/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateContactRegistered.md b/docs/old/API_docs_v41/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateDcOptions.md b/docs/old/API_docs_v41/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v41/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateDeleteMessages.md b/docs/old/API_docs_v41/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v41/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v41/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateEncryption.md b/docs/old/API_docs_v41/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateMessageID.md b/docs/old/API_docs_v41/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateNewAuthorization.md b/docs/old/API_docs_v41/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v41/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v41/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateNewMessage.md b/docs/old/API_docs_v41/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateNotifySettings.md b/docs/old/API_docs_v41/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updatePrivacy.md b/docs/old/API_docs_v41/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v41/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v41/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v41/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v41/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateServiceNotification.md b/docs/old/API_docs_v41/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateShort.md b/docs/old/API_docs_v41/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateShortChatMessage.md b/docs/old/API_docs_v41/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..7ee11af7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateShortChatMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateShortMessage.md b/docs/old/API_docs_v41/constructors/updateShortMessage.md new file mode 100644 index 00000000..5cdad457 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateShortMessage.md @@ -0,0 +1,39 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateShortSentMessage.md b/docs/old/API_docs_v41/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserBlocked.md b/docs/old/API_docs_v41/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserName.md b/docs/old/API_docs_v41/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserPhone.md b/docs/old/API_docs_v41/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserPhoto.md b/docs/old/API_docs_v41/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserStatus.md b/docs/old/API_docs_v41/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateUserTyping.md b/docs/old/API_docs_v41/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updateWebPage.md b/docs/old/API_docs_v41/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates.md b/docs/old/API_docs_v41/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updatesCombined.md b/docs/old/API_docs_v41/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updatesTooLong.md b/docs/old/API_docs_v41/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_channelDifference.md b/docs/old/API_docs_v41/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v41/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v41/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..6737c525 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_difference.md b/docs/old/API_docs_v41/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v41/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_differenceSlice.md b/docs/old/API_docs_v41/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/updates_state.md b/docs/old/API_docs_v41/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v41/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/upload_file.md b/docs/old/API_docs_v41/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v41/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/user.md b/docs/old/API_docs_v41/constructors/user.md new file mode 100644 index 00000000..d4240043 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/user.md @@ -0,0 +1,55 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/userEmpty.md b/docs/old/API_docs_v41/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/constructors/userFull.md b/docs/old/API_docs_v41/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userProfilePhoto.md b/docs/old/API_docs_v41/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v41/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusEmpty.md b/docs/old/API_docs_v41/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusLastMonth.md b/docs/old/API_docs_v41/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusLastWeek.md b/docs/old/API_docs_v41/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusOffline.md b/docs/old/API_docs_v41/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusOnline.md b/docs/old/API_docs_v41/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/userStatusRecently.md b/docs/old/API_docs_v41/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/vector.md b/docs/old/API_docs_v41/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/video.md b/docs/old/API_docs_v41/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/videoEmpty.md b/docs/old/API_docs_v41/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v41/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/wallPaper.md b/docs/old/API_docs_v41/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v41/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/wallPaperSolid.md b/docs/old/API_docs_v41/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v41/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/webPage.md b/docs/old/API_docs_v41/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/webPageEmpty.md b/docs/old/API_docs_v41/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v41/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v41/constructors/webPagePending.md b/docs/old/API_docs_v41/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v41/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v41/index.md b/docs/old/API_docs_v41/index.md new file mode 100644 index 00000000..7f40961e --- /dev/null +++ b/docs/old/API_docs_v41/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v41) +description: MadelineProto API documentation (layer v41) +--- +# MadelineProto API documentation (layer v41) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v41/methods/account_changePhone.md b/docs/old/API_docs_v41/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_checkUsername.md b/docs/old/API_docs_v41/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_deleteAccount.md b/docs/old/API_docs_v41/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getAccountTTL.md b/docs/old/API_docs_v41/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getAuthorizations.md b/docs/old/API_docs_v41/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getNotifySettings.md b/docs/old/API_docs_v41/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getPassword.md b/docs/old/API_docs_v41/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getPasswordSettings.md b/docs/old/API_docs_v41/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getPrivacy.md b/docs/old/API_docs_v41/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_getWallPapers.md b/docs/old/API_docs_v41/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_registerDevice.md b/docs/old/API_docs_v41/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_resetAuthorization.md b/docs/old/API_docs_v41/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_resetNotifySettings.md b/docs/old/API_docs_v41/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v41/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_setAccountTTL.md b/docs/old/API_docs_v41/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_setPrivacy.md b/docs/old/API_docs_v41/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_unregisterDevice.md b/docs/old/API_docs_v41/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v41/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updateNotifySettings.md b/docs/old/API_docs_v41/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v41/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updateProfile.md b/docs/old/API_docs_v41/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updateStatus.md b/docs/old/API_docs_v41/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/account_updateUsername.md b/docs/old/API_docs_v41/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v41/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v41/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_checkPassword.md b/docs/old/API_docs_v41/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_checkPhone.md b/docs/old/API_docs_v41/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_exportAuthorization.md b/docs/old/API_docs_v41/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_importAuthorization.md b/docs/old/API_docs_v41/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v41/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_logOut.md b/docs/old/API_docs_v41/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_recoverPassword.md b/docs/old/API_docs_v41/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v41/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v41/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_sendCall.md b/docs/old/API_docs_v41/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_sendCode.md b/docs/old/API_docs_v41/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_sendInvites.md b/docs/old/API_docs_v41/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_sendSms.md b/docs/old/API_docs_v41/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_signIn.md b/docs/old/API_docs_v41/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/auth_signUp.md b/docs/old/API_docs_v41/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v41/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_checkUsername.md b/docs/old/API_docs_v41/methods/channels_checkUsername.md similarity index 100% rename from docs/API_docs_55/methods/channels_checkUsername.md rename to docs/old/API_docs_v41/methods/channels_checkUsername.md diff --git a/docs/API_docs_46/methods/channels_createChannel.md b/docs/old/API_docs_v41/methods/channels_createChannel.md similarity index 100% rename from docs/API_docs_46/methods/channels_createChannel.md rename to docs/old/API_docs_v41/methods/channels_createChannel.md diff --git a/docs/API_docs_55/methods/channels_deleteChannel.md b/docs/old/API_docs_v41/methods/channels_deleteChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_deleteChannel.md rename to docs/old/API_docs_v41/methods/channels_deleteChannel.md diff --git a/docs/API_docs_55/methods/channels_deleteMessages.md b/docs/old/API_docs_v41/methods/channels_deleteMessages.md similarity index 100% rename from docs/API_docs_55/methods/channels_deleteMessages.md rename to docs/old/API_docs_v41/methods/channels_deleteMessages.md diff --git a/docs/API_docs_55/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v41/methods/channels_deleteUserHistory.md similarity index 100% rename from docs/API_docs_55/methods/channels_deleteUserHistory.md rename to docs/old/API_docs_v41/methods/channels_deleteUserHistory.md diff --git a/docs/API_docs_55/methods/channels_editAbout.md b/docs/old/API_docs_v41/methods/channels_editAbout.md similarity index 100% rename from docs/API_docs_55/methods/channels_editAbout.md rename to docs/old/API_docs_v41/methods/channels_editAbout.md diff --git a/docs/old/API_docs_v41/methods/channels_editAdmin.md b/docs/old/API_docs_v41/methods/channels_editAdmin.md new file mode 100644 index 00000000..358d89af --- /dev/null +++ b/docs/old/API_docs_v41/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_editPhoto.md b/docs/old/API_docs_v41/methods/channels_editPhoto.md similarity index 100% rename from docs/API_docs_55/methods/channels_editPhoto.md rename to docs/old/API_docs_v41/methods/channels_editPhoto.md diff --git a/docs/API_docs_55/methods/channels_editTitle.md b/docs/old/API_docs_v41/methods/channels_editTitle.md similarity index 100% rename from docs/API_docs_55/methods/channels_editTitle.md rename to docs/old/API_docs_v41/methods/channels_editTitle.md diff --git a/docs/API_docs_55/methods/channels_exportInvite.md b/docs/old/API_docs_v41/methods/channels_exportInvite.md similarity index 100% rename from docs/API_docs_55/methods/channels_exportInvite.md rename to docs/old/API_docs_v41/methods/channels_exportInvite.md diff --git a/docs/API_docs_55/methods/channels_getChannels.md b/docs/old/API_docs_v41/methods/channels_getChannels.md similarity index 100% rename from docs/API_docs_55/methods/channels_getChannels.md rename to docs/old/API_docs_v41/methods/channels_getChannels.md diff --git a/docs/old/API_docs_v41/methods/channels_getDialogs.md b/docs/old/API_docs_v41/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v41/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_getFullChannel.md b/docs/old/API_docs_v41/methods/channels_getFullChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_getFullChannel.md rename to docs/old/API_docs_v41/methods/channels_getFullChannel.md diff --git a/docs/old/API_docs_v41/methods/channels_getImportantHistory.md b/docs/old/API_docs_v41/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..2dc809ea --- /dev/null +++ b/docs/old/API_docs_v41/methods/channels_getImportantHistory.md @@ -0,0 +1,42 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_getMessages.md b/docs/old/API_docs_v41/methods/channels_getMessages.md similarity index 100% rename from docs/API_docs_55/methods/channels_getMessages.md rename to docs/old/API_docs_v41/methods/channels_getMessages.md diff --git a/docs/API_docs_55/methods/channels_getParticipant.md b/docs/old/API_docs_v41/methods/channels_getParticipant.md similarity index 100% rename from docs/API_docs_55/methods/channels_getParticipant.md rename to docs/old/API_docs_v41/methods/channels_getParticipant.md diff --git a/docs/API_docs_55/methods/channels_getParticipants.md b/docs/old/API_docs_v41/methods/channels_getParticipants.md similarity index 100% rename from docs/API_docs_55/methods/channels_getParticipants.md rename to docs/old/API_docs_v41/methods/channels_getParticipants.md diff --git a/docs/API_docs_55/methods/channels_inviteToChannel.md b/docs/old/API_docs_v41/methods/channels_inviteToChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_inviteToChannel.md rename to docs/old/API_docs_v41/methods/channels_inviteToChannel.md diff --git a/docs/API_docs_55/methods/channels_joinChannel.md b/docs/old/API_docs_v41/methods/channels_joinChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_joinChannel.md rename to docs/old/API_docs_v41/methods/channels_joinChannel.md diff --git a/docs/API_docs_55/methods/channels_kickFromChannel.md b/docs/old/API_docs_v41/methods/channels_kickFromChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_kickFromChannel.md rename to docs/old/API_docs_v41/methods/channels_kickFromChannel.md diff --git a/docs/API_docs_55/methods/channels_leaveChannel.md b/docs/old/API_docs_v41/methods/channels_leaveChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_leaveChannel.md rename to docs/old/API_docs_v41/methods/channels_leaveChannel.md diff --git a/docs/API_docs_55/methods/channels_readHistory.md b/docs/old/API_docs_v41/methods/channels_readHistory.md similarity index 100% rename from docs/API_docs_55/methods/channels_readHistory.md rename to docs/old/API_docs_v41/methods/channels_readHistory.md diff --git a/docs/API_docs_55/methods/channels_reportSpam.md b/docs/old/API_docs_v41/methods/channels_reportSpam.md similarity index 100% rename from docs/API_docs_55/methods/channels_reportSpam.md rename to docs/old/API_docs_v41/methods/channels_reportSpam.md diff --git a/docs/old/API_docs_v41/methods/channels_toggleComments.md b/docs/old/API_docs_v41/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v41/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_updateUsername.md b/docs/old/API_docs_v41/methods/channels_updateUsername.md similarity index 100% rename from docs/API_docs_55/methods/channels_updateUsername.md rename to docs/old/API_docs_v41/methods/channels_updateUsername.md diff --git a/docs/old/API_docs_v41/methods/contacts_block.md b/docs/old/API_docs_v41/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_deleteContact.md b/docs/old/API_docs_v41/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_deleteContacts.md b/docs/old/API_docs_v41/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_exportCard.md b/docs/old/API_docs_v41/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_getBlocked.md b/docs/old/API_docs_v41/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_getContacts.md b/docs/old/API_docs_v41/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_getStatuses.md b/docs/old/API_docs_v41/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_getSuggested.md b/docs/old/API_docs_v41/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_importCard.md b/docs/old/API_docs_v41/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_importContacts.md b/docs/old/API_docs_v41/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/contacts_resolveUsername.md b/docs/old/API_docs_v41/methods/contacts_resolveUsername.md similarity index 100% rename from docs/API_docs_55/methods/contacts_resolveUsername.md rename to docs/old/API_docs_v41/methods/contacts_resolveUsername.md diff --git a/docs/old/API_docs_v41/methods/contacts_search.md b/docs/old/API_docs_v41/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/contacts_unblock.md b/docs/old/API_docs_v41/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v41/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getAppChangelog.md b/docs/old/API_docs_v41/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getAppUpdate.md b/docs/old/API_docs_v41/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getConfig.md b/docs/old/API_docs_v41/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getInviteText.md b/docs/old/API_docs_v41/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getNearestDc.md b/docs/old/API_docs_v41/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_getSupport.md b/docs/old/API_docs_v41/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/help_saveAppLog.md b/docs/old/API_docs_v41/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v41/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/index.md b/docs/old/API_docs_v41/methods/index.md new file mode 100644 index 00000000..b3cacee8 --- /dev/null +++ b/docs/old/API_docs_v41/methods/index.md @@ -0,0 +1,324 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deactivateChat](messages_deactivateChat.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['broadcast' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v41/methods/initConnection.md b/docs/old/API_docs_v41/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v41/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/invokeAfterMsg.md b/docs/old/API_docs_v41/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v41/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/invokeAfterMsgs.md b/docs/old/API_docs_v41/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v41/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/invokeWithLayer.md b/docs/old/API_docs_v41/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v41/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v41/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v41/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_acceptEncryption.md b/docs/old/API_docs_v41/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_addChatUser.md b/docs/old/API_docs_v41/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_checkChatInvite.md b/docs/old/API_docs_v41/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_createChat.md b/docs/old/API_docs_v41/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_deactivateChat.md b/docs/old/API_docs_v41/methods/messages_deactivateChat.md new file mode 100644 index 00000000..0bdbb5cb --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_deactivateChat.md @@ -0,0 +1,38 @@ +--- +title: messages_deactivateChat +description: messages_deactivateChat parameters, return type and example +--- +## Method: messages\_deactivateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deactivateChat(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_deleteChatUser.md b/docs/old/API_docs_v41/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_deleteHistory.md b/docs/old/API_docs_v41/methods/messages_deleteHistory.md similarity index 100% rename from docs/API_docs_46/methods/messages_deleteHistory.md rename to docs/old/API_docs_v41/methods/messages_deleteHistory.md diff --git a/docs/old/API_docs_v41/methods/messages_deleteMessages.md b/docs/old/API_docs_v41/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_discardEncryption.md b/docs/old/API_docs_v41/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_editChatAdmin.md b/docs/old/API_docs_v41/methods/messages_editChatAdmin.md similarity index 100% rename from docs/API_docs_46/methods/messages_editChatAdmin.md rename to docs/old/API_docs_v41/methods/messages_editChatAdmin.md diff --git a/docs/old/API_docs_v41/methods/messages_editChatPhoto.md b/docs/old/API_docs_v41/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_editChatTitle.md b/docs/old/API_docs_v41/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_exportChatInvite.md b/docs/old/API_docs_v41/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_forwardMessage.md b/docs/old/API_docs_v41/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_forwardMessages.md b/docs/old/API_docs_v41/methods/messages_forwardMessages.md similarity index 100% rename from docs/API_docs_46/methods/messages_forwardMessages.md rename to docs/old/API_docs_v41/methods/messages_forwardMessages.md diff --git a/docs/old/API_docs_v41/methods/messages_getAllStickers.md b/docs/old/API_docs_v41/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getChats.md b/docs/old/API_docs_v41/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getDhConfig.md b/docs/old/API_docs_v41/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getDialogs.md b/docs/old/API_docs_v41/methods/messages_getDialogs.md new file mode 100644 index 00000000..fe19a391 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getFullChat.md b/docs/old/API_docs_v41/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getHistory.md b/docs/old/API_docs_v41/methods/messages_getHistory.md new file mode 100644 index 00000000..d3496140 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getHistory.md @@ -0,0 +1,42 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getMessages.md b/docs/old/API_docs_v41/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getMessagesViews.md b/docs/old/API_docs_v41/methods/messages_getMessagesViews.md similarity index 100% rename from docs/API_docs_55/methods/messages_getMessagesViews.md rename to docs/old/API_docs_v41/methods/messages_getMessagesViews.md diff --git a/docs/old/API_docs_v41/methods/messages_getStickerSet.md b/docs/old/API_docs_v41/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getStickers.md b/docs/old/API_docs_v41/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v41/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_importChatInvite.md b/docs/old/API_docs_v41/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_installStickerSet.md b/docs/old/API_docs_v41/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_migrateChat.md b/docs/old/API_docs_v41/methods/messages_migrateChat.md similarity index 100% rename from docs/API_docs_46/methods/messages_migrateChat.md rename to docs/old/API_docs_v41/methods/messages_migrateChat.md diff --git a/docs/old/API_docs_v41/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v41/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_readHistory.md b/docs/old/API_docs_v41/methods/messages_readHistory.md similarity index 100% rename from docs/API_docs_46/methods/messages_readHistory.md rename to docs/old/API_docs_v41/methods/messages_readHistory.md diff --git a/docs/old/API_docs_v41/methods/messages_readMessageContents.md b/docs/old/API_docs_v41/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_receivedMessages.md b/docs/old/API_docs_v41/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_receivedQueue.md b/docs/old/API_docs_v41/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_reportSpam.md b/docs/old/API_docs_v41/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_requestEncryption.md b/docs/old/API_docs_v41/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_search.md b/docs/old/API_docs_v41/methods/messages_search.md similarity index 100% rename from docs/API_docs_46/methods/messages_search.md rename to docs/old/API_docs_v41/methods/messages_search.md diff --git a/docs/API_docs_46/methods/messages_searchGlobal.md b/docs/old/API_docs_v41/methods/messages_searchGlobal.md similarity index 100% rename from docs/API_docs_46/methods/messages_searchGlobal.md rename to docs/old/API_docs_v41/methods/messages_searchGlobal.md diff --git a/docs/old/API_docs_v41/methods/messages_sendBroadcast.md b/docs/old/API_docs_v41/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_sendEncrypted.md b/docs/old/API_docs_v41/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v41/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v41/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_sendMedia.md b/docs/old/API_docs_v41/methods/messages_sendMedia.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendMedia.md rename to docs/old/API_docs_v41/methods/messages_sendMedia.md diff --git a/docs/API_docs_46/methods/messages_sendMessage.md b/docs/old/API_docs_v41/methods/messages_sendMessage.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendMessage.md rename to docs/old/API_docs_v41/methods/messages_sendMessage.md diff --git a/docs/old/API_docs_v41/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v41/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/messages_setTyping.md b/docs/old/API_docs_v41/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_startBot.md b/docs/old/API_docs_v41/methods/messages_startBot.md similarity index 100% rename from docs/API_docs_46/methods/messages_startBot.md rename to docs/old/API_docs_v41/methods/messages_startBot.md diff --git a/docs/API_docs_46/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v41/methods/messages_toggleChatAdmins.md similarity index 100% rename from docs/API_docs_46/methods/messages_toggleChatAdmins.md rename to docs/old/API_docs_v41/methods/messages_toggleChatAdmins.md diff --git a/docs/old/API_docs_v41/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v41/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v41/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/photos_deletePhotos.md b/docs/old/API_docs_v41/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v41/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/photos_getUserPhotos.md b/docs/old/API_docs_v41/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v41/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v41/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v41/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v41/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v41/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/updates_getChannelDifference.md b/docs/old/API_docs_v41/methods/updates_getChannelDifference.md similarity index 100% rename from docs/API_docs_55/methods/updates_getChannelDifference.md rename to docs/old/API_docs_v41/methods/updates_getChannelDifference.md diff --git a/docs/old/API_docs_v41/methods/updates_getDifference.md b/docs/old/API_docs_v41/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v41/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/updates_getState.md b/docs/old/API_docs_v41/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v41/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/upload_getFile.md b/docs/old/API_docs_v41/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v41/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v41/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v41/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/upload_saveFilePart.md b/docs/old/API_docs_v41/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v41/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/users_getFullUser.md b/docs/old/API_docs_v41/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v41/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/methods/users_getUsers.md b/docs/old/API_docs_v41/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v41/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/!X.md b/docs/old/API_docs_v41/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v41/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/AccountDaysTTL.md b/docs/old/API_docs_v41/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v41/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v41/types/Audio.md b/docs/old/API_docs_v41/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v41/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Authorization.md b/docs/old/API_docs_v41/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v41/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Bool.md b/docs/old/API_docs_v41/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v41/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/BotCommand.md b/docs/old/API_docs_v41/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v41/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/BotInfo.md b/docs/old/API_docs_v41/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v41/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ChannelMessagesFilter.md b/docs/old/API_docs_v41/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v41/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ChannelParticipant.md b/docs/old/API_docs_v41/types/ChannelParticipant.md similarity index 100% rename from docs/API_docs_55/types/ChannelParticipant.md rename to docs/old/API_docs_v41/types/ChannelParticipant.md diff --git a/docs/API_docs_55/types/ChannelParticipantRole.md b/docs/old/API_docs_v41/types/ChannelParticipantRole.md similarity index 100% rename from docs/API_docs_55/types/ChannelParticipantRole.md rename to docs/old/API_docs_v41/types/ChannelParticipantRole.md diff --git a/docs/API_docs_46/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v41/types/ChannelParticipantsFilter.md similarity index 100% rename from docs/API_docs_46/types/ChannelParticipantsFilter.md rename to docs/old/API_docs_v41/types/ChannelParticipantsFilter.md diff --git a/docs/API_docs_55/types/Chat.md b/docs/old/API_docs_v41/types/Chat.md similarity index 100% rename from docs/API_docs_55/types/Chat.md rename to docs/old/API_docs_v41/types/Chat.md diff --git a/docs/old/API_docs_v41/types/ChatFull.md b/docs/old/API_docs_v41/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v41/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ChatInvite.md b/docs/old/API_docs_v41/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v41/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/API_docs_46/types/ChatParticipant.md b/docs/old/API_docs_v41/types/ChatParticipant.md similarity index 100% rename from docs/API_docs_46/types/ChatParticipant.md rename to docs/old/API_docs_v41/types/ChatParticipant.md diff --git a/docs/old/API_docs_v41/types/ChatParticipants.md b/docs/old/API_docs_v41/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v41/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ChatPhoto.md b/docs/old/API_docs_v41/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v41/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Config.md b/docs/old/API_docs_v41/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v41/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v41/types/Contact.md b/docs/old/API_docs_v41/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v41/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ContactBlocked.md b/docs/old/API_docs_v41/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v41/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ContactLink.md b/docs/old/API_docs_v41/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v41/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ContactStatus.md b/docs/old/API_docs_v41/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v41/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v41/types/ContactSuggested.md b/docs/old/API_docs_v41/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v41/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/DcOption.md b/docs/old/API_docs_v41/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v41/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Dialog.md b/docs/old/API_docs_v41/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v41/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/DisabledFeature.md b/docs/old/API_docs_v41/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v41/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Document.md b/docs/old/API_docs_v41/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v41/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/DocumentAttribute.md b/docs/old/API_docs_v41/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v41/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/EncryptedChat.md b/docs/old/API_docs_v41/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v41/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v41/types/EncryptedFile.md b/docs/old/API_docs_v41/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v41/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/EncryptedMessage.md b/docs/old/API_docs_v41/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v41/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Error.md b/docs/old/API_docs_v41/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v41/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ExportedChatInvite.md b/docs/old/API_docs_v41/types/ExportedChatInvite.md similarity index 100% rename from docs/API_docs_55/types/ExportedChatInvite.md rename to docs/old/API_docs_v41/types/ExportedChatInvite.md diff --git a/docs/old/API_docs_v41/types/FileLocation.md b/docs/old/API_docs_v41/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v41/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/GeoPoint.md b/docs/old/API_docs_v41/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v41/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ImportedContact.md b/docs/old/API_docs_v41/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v41/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputAppEvent.md b/docs/old/API_docs_v41/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputAudio.md b/docs/old/API_docs_v41/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v41/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputChannel.md b/docs/old/API_docs_v41/types/InputChannel.md similarity index 100% rename from docs/API_docs_55/types/InputChannel.md rename to docs/old/API_docs_v41/types/InputChannel.md diff --git a/docs/old/API_docs_v41/types/InputChatPhoto.md b/docs/old/API_docs_v41/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputContact.md b/docs/old/API_docs_v41/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputDocument.md b/docs/old/API_docs_v41/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputEncryptedChat.md b/docs/old/API_docs_v41/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputEncryptedFile.md b/docs/old/API_docs_v41/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputFile.md b/docs/old/API_docs_v41/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputFileLocation.md b/docs/old/API_docs_v41/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v41/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputGeoPoint.md b/docs/old/API_docs_v41/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputMedia.md b/docs/old/API_docs_v41/types/InputMedia.md new file mode 100644 index 00000000..5112cbfa --- /dev/null +++ b/docs/old/API_docs_v41/types/InputMedia.md @@ -0,0 +1,45 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputNotifyPeer.md b/docs/old/API_docs_v41/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v41/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPeer.md b/docs/old/API_docs_v41/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v41/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPeerNotifySettings.md b/docs/old/API_docs_v41/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPhoto.md b/docs/old/API_docs_v41/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPhotoCrop.md b/docs/old/API_docs_v41/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPrivacyKey.md b/docs/old/API_docs_v41/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputPrivacyRule.md b/docs/old/API_docs_v41/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v41/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputStickerSet.md b/docs/old/API_docs_v41/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v41/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputUser.md b/docs/old/API_docs_v41/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v41/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/InputVideo.md b/docs/old/API_docs_v41/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v41/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/KeyboardButton.md b/docs/old/API_docs_v41/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v41/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/KeyboardButtonRow.md b/docs/old/API_docs_v41/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v41/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Message.md b/docs/old/API_docs_v41/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v41/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/MessageAction.md b/docs/old/API_docs_v41/types/MessageAction.md new file mode 100644 index 00000000..d7750f32 --- /dev/null +++ b/docs/old/API_docs_v41/types/MessageAction.md @@ -0,0 +1,43 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChatDeactivate](../constructors/messageActionChatDeactivate.md) + +[messageActionChatActivate](../constructors/messageActionChatActivate.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/MessageEntity.md b/docs/old/API_docs_v41/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v41/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/MessageGroup.md b/docs/old/API_docs_v41/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v41/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/MessageMedia.md b/docs/old/API_docs_v41/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v41/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v41/types/MessageRange.md b/docs/old/API_docs_v41/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v41/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/MessagesFilter.md b/docs/old/API_docs_v41/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v41/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/NearestDc.md b/docs/old/API_docs_v41/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v41/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v41/types/NotifyPeer.md b/docs/old/API_docs_v41/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v41/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Null.md b/docs/old/API_docs_v41/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v41/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Peer.md b/docs/old/API_docs_v41/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v41/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/PeerNotifyEvents.md b/docs/old/API_docs_v41/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v41/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/PeerNotifySettings.md b/docs/old/API_docs_v41/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v41/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v41/types/Photo.md b/docs/old/API_docs_v41/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v41/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/PhotoSize.md b/docs/old/API_docs_v41/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v41/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/PrivacyKey.md b/docs/old/API_docs_v41/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v41/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/PrivacyRule.md b/docs/old/API_docs_v41/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v41/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v41/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v41/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v41/types/ReplyMarkup.md b/docs/old/API_docs_v41/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v41/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/SendMessageAction.md b/docs/old/API_docs_v41/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v41/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/StickerPack.md b/docs/old/API_docs_v41/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v41/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/StickerSet.md b/docs/old/API_docs_v41/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v41/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/True.md b/docs/old/API_docs_v41/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v41/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Update.md b/docs/old/API_docs_v41/types/Update.md new file mode 100644 index 00000000..a8d42712 --- /dev/null +++ b/docs/old/API_docs_v41/types/Update.md @@ -0,0 +1,91 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Updates.md b/docs/old/API_docs_v41/types/Updates.md new file mode 100644 index 00000000..e8f33d4e --- /dev/null +++ b/docs/old/API_docs_v41/types/Updates.md @@ -0,0 +1,79 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->deactivateChat](../methods/messages_deactivateChat.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + + + diff --git a/docs/old/API_docs_v41/types/User.md b/docs/old/API_docs_v41/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v41/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v41/types/UserFull.md b/docs/old/API_docs_v41/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v41/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v41/types/UserProfilePhoto.md b/docs/old/API_docs_v41/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v41/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v41/types/UserStatus.md b/docs/old/API_docs_v41/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v41/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Vector t.md b/docs/old/API_docs_v41/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v41/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/Video.md b/docs/old/API_docs_v41/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v41/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/WallPaper.md b/docs/old/API_docs_v41/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v41/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v41/types/WebPage.md b/docs/old/API_docs_v41/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v41/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/X.md b/docs/old/API_docs_v41/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v41/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/account_Authorizations.md b/docs/old/API_docs_v41/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v41/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v41/types/account_Password.md b/docs/old/API_docs_v41/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v41/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v41/types/account_PasswordInputSettings.md b/docs/old/API_docs_v41/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v41/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/account_PasswordSettings.md b/docs/old/API_docs_v41/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v41/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v41/types/account_PrivacyRules.md b/docs/old/API_docs_v41/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v41/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v41/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v41/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v41/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v41/types/auth_Authorization.md b/docs/old/API_docs_v41/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v41/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v41/types/auth_CheckedPhone.md b/docs/old/API_docs_v41/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v41/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v41/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v41/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v41/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v41/types/auth_PasswordRecovery.md b/docs/old/API_docs_v41/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v41/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v41/types/auth_SentCode.md b/docs/old/API_docs_v41/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v41/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v41/types/bytes.md b/docs/old/API_docs_v41/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v41/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/API_docs_55/types/channels_ChannelParticipant.md b/docs/old/API_docs_v41/types/channels_ChannelParticipant.md similarity index 100% rename from docs/API_docs_55/types/channels_ChannelParticipant.md rename to docs/old/API_docs_v41/types/channels_ChannelParticipant.md diff --git a/docs/API_docs_55/types/channels_ChannelParticipants.md b/docs/old/API_docs_v41/types/channels_ChannelParticipants.md similarity index 100% rename from docs/API_docs_55/types/channels_ChannelParticipants.md rename to docs/old/API_docs_v41/types/channels_ChannelParticipants.md diff --git a/docs/old/API_docs_v41/types/contacts_Blocked.md b/docs/old/API_docs_v41/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v41/types/contacts_Contacts.md b/docs/old/API_docs_v41/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v41/types/contacts_Found.md b/docs/old/API_docs_v41/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v41/types/contacts_ImportedContacts.md b/docs/old/API_docs_v41/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v41/types/contacts_Link.md b/docs/old/API_docs_v41/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/API_docs_55/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v41/types/contacts_ResolvedPeer.md similarity index 100% rename from docs/API_docs_55/types/contacts_ResolvedPeer.md rename to docs/old/API_docs_v41/types/contacts_ResolvedPeer.md diff --git a/docs/old/API_docs_v41/types/contacts_Suggested.md b/docs/old/API_docs_v41/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v41/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v41/types/double.md b/docs/old/API_docs_v41/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v41/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/help_AppChangelog.md b/docs/old/API_docs_v41/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v41/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v41/types/help_AppUpdate.md b/docs/old/API_docs_v41/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v41/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v41/types/help_InviteText.md b/docs/old/API_docs_v41/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v41/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v41/types/help_Support.md b/docs/old/API_docs_v41/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v41/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v41/types/index.md b/docs/old/API_docs_v41/types/index.md new file mode 100644 index 00000000..8cac7e34 --- /dev/null +++ b/docs/old/API_docs_v41/types/index.md @@ -0,0 +1,284 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v41/types/int.md b/docs/old/API_docs_v41/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v41/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/int128.md b/docs/old/API_docs_v41/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v41/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/int256.md b/docs/old/API_docs_v41/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v41/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/int512.md b/docs/old/API_docs_v41/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v41/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/long.md b/docs/old/API_docs_v41/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v41/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/API_docs_46/types/messages_AffectedHistory.md b/docs/old/API_docs_v41/types/messages_AffectedHistory.md similarity index 100% rename from docs/API_docs_46/types/messages_AffectedHistory.md rename to docs/old/API_docs_v41/types/messages_AffectedHistory.md diff --git a/docs/API_docs_46/types/messages_AffectedMessages.md b/docs/old/API_docs_v41/types/messages_AffectedMessages.md similarity index 100% rename from docs/API_docs_46/types/messages_AffectedMessages.md rename to docs/old/API_docs_v41/types/messages_AffectedMessages.md diff --git a/docs/old/API_docs_v41/types/messages_AllStickers.md b/docs/old/API_docs_v41/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_55/types/messages_ChatFull.md b/docs/old/API_docs_v41/types/messages_ChatFull.md similarity index 100% rename from docs/API_docs_55/types/messages_ChatFull.md rename to docs/old/API_docs_v41/types/messages_ChatFull.md diff --git a/docs/API_docs_55/types/messages_Chats.md b/docs/old/API_docs_v41/types/messages_Chats.md similarity index 100% rename from docs/API_docs_55/types/messages_Chats.md rename to docs/old/API_docs_v41/types/messages_Chats.md diff --git a/docs/old/API_docs_v41/types/messages_DhConfig.md b/docs/old/API_docs_v41/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v41/types/messages_Dialogs.md b/docs/old/API_docs_v41/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/old/API_docs_v41/types/messages_Messages.md b/docs/old/API_docs_v41/types/messages_Messages.md new file mode 100644 index 00000000..89cedf06 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_Messages.md @@ -0,0 +1,35 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/old/API_docs_v41/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v41/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v41/types/messages_StickerSet.md b/docs/old/API_docs_v41/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v41/types/messages_Stickers.md b/docs/old/API_docs_v41/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v41/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v41/types/photos_Photo.md b/docs/old/API_docs_v41/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v41/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v41/types/photos_Photos.md b/docs/old/API_docs_v41/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v41/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v41/types/storage_FileType.md b/docs/old/API_docs_v41/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v41/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v41/types/string.md b/docs/old/API_docs_v41/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v41/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v41/types/updates_ChannelDifference.md b/docs/old/API_docs_v41/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v41/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v41/types/updates_Difference.md b/docs/old/API_docs_v41/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v41/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v41/types/updates_State.md b/docs/old/API_docs_v41/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v41/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v41/types/upload_File.md b/docs/old/API_docs_v41/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v41/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v42/constructors/accountDaysTTL.md b/docs/old/API_docs_v42/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_authorizations.md b/docs/old/API_docs_v42/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_noPassword.md b/docs/old/API_docs_v42/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_password.md b/docs/old/API_docs_v42/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v42/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_passwordSettings.md b/docs/old/API_docs_v42/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_privacyRules.md b/docs/old/API_docs_v42/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v42/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/audio.md b/docs/old/API_docs_v42/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/audioEmpty.md b/docs/old/API_docs_v42/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_authorization.md b/docs/old/API_docs_v42/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_checkedPhone.md b/docs/old/API_docs_v42/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v42/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v42/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_sentAppCode.md b/docs/old/API_docs_v42/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/auth_sentCode.md b/docs/old/API_docs_v42/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/authorization.md b/docs/old/API_docs_v42/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/boolFalse.md b/docs/old/API_docs_v42/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/boolTrue.md b/docs/old/API_docs_v42/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/botCommand.md b/docs/old/API_docs_v42/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/botInfo.md b/docs/old/API_docs_v42/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/botInfoEmpty.md b/docs/old/API_docs_v42/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channel.md b/docs/old/API_docs_v42/constructors/channel.md new file mode 100644 index 00000000..1e43ea9f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channel.md @@ -0,0 +1,53 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/channelForbidden.md b/docs/old/API_docs_v42/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/channelFull.md b/docs/old/API_docs_v42/constructors/channelFull.md new file mode 100644 index 00000000..b825f709 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelFull.md @@ -0,0 +1,40 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelMessagesFilter.md b/docs/old/API_docs_v42/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..3f04523e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelMessagesFilter.md @@ -0,0 +1,28 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v42/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v42/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipant.md b/docs/old/API_docs_v42/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantCreator.md b/docs/old/API_docs_v42/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantEditor.md b/docs/old/API_docs_v42/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantKicked.md b/docs/old/API_docs_v42/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantModerator.md b/docs/old/API_docs_v42/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantSelf.md b/docs/old/API_docs_v42/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v42/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantsBots.md b/docs/old/API_docs_v42/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v42/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v42/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelRoleEditor.md b/docs/old/API_docs_v42/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelRoleEmpty.md b/docs/old/API_docs_v42/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channelRoleModerator.md b/docs/old/API_docs_v42/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channels_channelParticipant.md b/docs/old/API_docs_v42/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/channels_channelParticipants.md b/docs/old/API_docs_v42/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chat.md b/docs/old/API_docs_v42/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/chatEmpty.md b/docs/old/API_docs_v42/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/chatForbidden.md b/docs/old/API_docs_v42/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/chatFull.md b/docs/old/API_docs_v42/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatInvite.md b/docs/old/API_docs_v42/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatInviteAlready.md b/docs/old/API_docs_v42/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatInviteEmpty.md b/docs/old/API_docs_v42/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatInviteExported.md b/docs/old/API_docs_v42/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatParticipant.md b/docs/old/API_docs_v42/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v42/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatParticipantCreator.md b/docs/old/API_docs_v42/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatParticipants.md b/docs/old/API_docs_v42/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v42/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatPhoto.md b/docs/old/API_docs_v42/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v42/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/config.md b/docs/old/API_docs_v42/constructors/config.md new file mode 100644 index 00000000..26260539 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contact.md b/docs/old/API_docs_v42/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactBlocked.md b/docs/old/API_docs_v42/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactLinkContact.md b/docs/old/API_docs_v42/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v42/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactLinkNone.md b/docs/old/API_docs_v42/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactLinkUnknown.md b/docs/old/API_docs_v42/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactStatus.md b/docs/old/API_docs_v42/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contactSuggested.md b/docs/old/API_docs_v42/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_blocked.md b/docs/old/API_docs_v42/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v42/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_contacts.md b/docs/old/API_docs_v42/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v42/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_found.md b/docs/old/API_docs_v42/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_importedContacts.md b/docs/old/API_docs_v42/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_link.md b/docs/old/API_docs_v42/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v42/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/contacts_suggested.md b/docs/old/API_docs_v42/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/dcOption.md b/docs/old/API_docs_v42/constructors/dcOption.md new file mode 100644 index 00000000..ca50ee47 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/dcOption.md @@ -0,0 +1,30 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/dialog.md b/docs/old/API_docs_v42/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/dialogChannel.md b/docs/old/API_docs_v42/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/disabledFeature.md b/docs/old/API_docs_v42/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/document.md b/docs/old/API_docs_v42/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v42/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeAudio.md b/docs/old/API_docs_v42/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeFilename.md b/docs/old/API_docs_v42/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v42/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeSticker.md b/docs/old/API_docs_v42/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentAttributeVideo.md b/docs/old/API_docs_v42/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/documentEmpty.md b/docs/old/API_docs_v42/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedChat.md b/docs/old/API_docs_v42/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v42/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v42/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedChatRequested.md b/docs/old/API_docs_v42/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v42/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedFile.md b/docs/old/API_docs_v42/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v42/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedMessage.md b/docs/old/API_docs_v42/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/encryptedMessageService.md b/docs/old/API_docs_v42/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/error.md b/docs/old/API_docs_v42/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/fileLocation.md b/docs/old/API_docs_v42/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v42/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/geoPoint.md b/docs/old/API_docs_v42/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/geoPointEmpty.md b/docs/old/API_docs_v42/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_appChangelog.md b/docs/old/API_docs_v42/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v42/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_appUpdate.md b/docs/old/API_docs_v42/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_inviteText.md b/docs/old/API_docs_v42/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_noAppUpdate.md b/docs/old/API_docs_v42/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/help_support.md b/docs/old/API_docs_v42/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/importedContact.md b/docs/old/API_docs_v42/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/index.md b/docs/old/API_docs_v42/constructors/index.md new file mode 100644 index 00000000..470b8ae0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/index.md @@ -0,0 +1,1063 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['important_only' => [Bool](../types/Bool.md), 'exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [string](../types/string.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v42/constructors/inputAppEvent.md b/docs/old/API_docs_v42/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputAudio.md b/docs/old/API_docs_v42/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputAudioEmpty.md b/docs/old/API_docs_v42/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v42/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputChannel.md b/docs/old/API_docs_v42/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputChannelEmpty.md b/docs/old/API_docs_v42/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputChatPhoto.md b/docs/old/API_docs_v42/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v42/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v42/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputDocument.md b/docs/old/API_docs_v42/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v42/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v42/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedChat.md b/docs/old/API_docs_v42/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedFile.md b/docs/old/API_docs_v42/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v42/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v42/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v42/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputFile.md b/docs/old/API_docs_v42/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputFileBig.md b/docs/old/API_docs_v42/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputFileLocation.md b/docs/old/API_docs_v42/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputGeoPoint.md b/docs/old/API_docs_v42/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v42/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaAudio.md b/docs/old/API_docs_v42/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaContact.md b/docs/old/API_docs_v42/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaDocument.md b/docs/old/API_docs_v42/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaEmpty.md b/docs/old/API_docs_v42/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v42/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaPhoto.md b/docs/old/API_docs_v42/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v42/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaVenue.md b/docs/old/API_docs_v42/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMediaVideo.md b/docs/old/API_docs_v42/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v42/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputNotifyAll.md b/docs/old/API_docs_v42/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputNotifyChats.md b/docs/old/API_docs_v42/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputNotifyPeer.md b/docs/old/API_docs_v42/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputNotifyUsers.md b/docs/old/API_docs_v42/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPeerChannel.md b/docs/old/API_docs_v42/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputPeerChat.md b/docs/old/API_docs_v42/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputPeerEmpty.md b/docs/old/API_docs_v42/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v42/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPeerSelf.md b/docs/old/API_docs_v42/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputPeerUser.md b/docs/old/API_docs_v42/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputPhoneContact.md b/docs/old/API_docs_v42/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPhoto.md b/docs/old/API_docs_v42/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPhotoCrop.md b/docs/old/API_docs_v42/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v42/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v42/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v42/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputStickerSetID.md b/docs/old/API_docs_v42/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v42/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputUser.md b/docs/old/API_docs_v42/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputUserEmpty.md b/docs/old/API_docs_v42/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputUserSelf.md b/docs/old/API_docs_v42/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/inputVideo.md b/docs/old/API_docs_v42/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputVideoEmpty.md b/docs/old/API_docs_v42/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v42/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v42/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/keyboardButton.md b/docs/old/API_docs_v42/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/keyboardButtonRow.md b/docs/old/API_docs_v42/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/message.md b/docs/old/API_docs_v42/constructors/message.md new file mode 100644 index 00000000..941fbfdb --- /dev/null +++ b/docs/old/API_docs_v42/constructors/message.md @@ -0,0 +1,41 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v42/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v42/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v42/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatCreate.md b/docs/old/API_docs_v42/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v42/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v42/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v42/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v42/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v42/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v42/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageActionEmpty.md b/docs/old/API_docs_v42/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEmpty.md b/docs/old/API_docs_v42/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityBold.md b/docs/old/API_docs_v42/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v42/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityCode.md b/docs/old/API_docs_v42/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityEmail.md b/docs/old/API_docs_v42/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityHashtag.md b/docs/old/API_docs_v42/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityItalic.md b/docs/old/API_docs_v42/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityMention.md b/docs/old/API_docs_v42/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityPre.md b/docs/old/API_docs_v42/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v42/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityUnknown.md b/docs/old/API_docs_v42/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageEntityUrl.md b/docs/old/API_docs_v42/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageGroup.md b/docs/old/API_docs_v42/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaAudio.md b/docs/old/API_docs_v42/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaContact.md b/docs/old/API_docs_v42/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaDocument.md b/docs/old/API_docs_v42/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaEmpty.md b/docs/old/API_docs_v42/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaGeo.md b/docs/old/API_docs_v42/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaPhoto.md b/docs/old/API_docs_v42/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v42/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaVenue.md b/docs/old/API_docs_v42/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaVideo.md b/docs/old/API_docs_v42/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageMediaWebPage.md b/docs/old/API_docs_v42/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageRange.md b/docs/old/API_docs_v42/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messageService.md b/docs/old/API_docs_v42/constructors/messageService.md new file mode 100644 index 00000000..2fd34911 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messageService.md @@ -0,0 +1,34 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_affectedHistory.md b/docs/old/API_docs_v42/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_affectedMessages.md b/docs/old/API_docs_v42/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_allStickers.md b/docs/old/API_docs_v42/constructors/messages_allStickers.md new file mode 100644 index 00000000..807b6985 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => string, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v42/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_channelMessages.md b/docs/old/API_docs_v42/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_chatFull.md b/docs/old/API_docs_v42/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_chats.md b/docs/old/API_docs_v42/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_dhConfig.md b/docs/old/API_docs_v42/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v42/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_dialogs.md b/docs/old/API_docs_v42/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v42/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_messages.md b/docs/old/API_docs_v42/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_messagesSlice.md b/docs/old/API_docs_v42/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v42/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v42/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_stickerSet.md b/docs/old/API_docs_v42/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_stickers.md b/docs/old/API_docs_v42/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v42/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v42/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/nearestDc.md b/docs/old/API_docs_v42/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/notifyAll.md b/docs/old/API_docs_v42/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/notifyChats.md b/docs/old/API_docs_v42/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/notifyPeer.md b/docs/old/API_docs_v42/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/notifyUsers.md b/docs/old/API_docs_v42/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v42/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/null.md b/docs/old/API_docs_v42/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/peerChannel.md b/docs/old/API_docs_v42/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/peerChat.md b/docs/old/API_docs_v42/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v42/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v42/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/peerNotifySettings.md b/docs/old/API_docs_v42/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v42/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/peerUser.md b/docs/old/API_docs_v42/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/photo.md b/docs/old/API_docs_v42/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photoCachedSize.md b/docs/old/API_docs_v42/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photoEmpty.md b/docs/old/API_docs_v42/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photoSize.md b/docs/old/API_docs_v42/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photoSizeEmpty.md b/docs/old/API_docs_v42/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photos_photo.md b/docs/old/API_docs_v42/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photos_photos.md b/docs/old/API_docs_v42/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/photos_photosSlice.md b/docs/old/API_docs_v42/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v42/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v42/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v42/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v42/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v42/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v42/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v42/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v42/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v42/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/replyKeyboardHide.md b/docs/old/API_docs_v42/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v42/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v42/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v42/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v42/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v42/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v42/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v42/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v42/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v42/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v42/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v42/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/stickerPack.md b/docs/old/API_docs_v42/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/stickerSet.md b/docs/old/API_docs_v42/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileGif.md b/docs/old/API_docs_v42/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileJpeg.md b/docs/old/API_docs_v42/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileMov.md b/docs/old/API_docs_v42/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileMp3.md b/docs/old/API_docs_v42/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileMp4.md b/docs/old/API_docs_v42/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_filePartial.md b/docs/old/API_docs_v42/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_filePdf.md b/docs/old/API_docs_v42/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_filePng.md b/docs/old/API_docs_v42/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileUnknown.md b/docs/old/API_docs_v42/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/storage_fileWebp.md b/docs/old/API_docs_v42/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/true.md b/docs/old/API_docs_v42/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChannel.md b/docs/old/API_docs_v42/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChannelGroup.md b/docs/old/API_docs_v42/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v42/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChannelTooLong.md b/docs/old/API_docs_v42/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatAdmins.md b/docs/old/API_docs_v42/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v42/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v42/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v42/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatParticipants.md b/docs/old/API_docs_v42/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateChatUserTyping.md b/docs/old/API_docs_v42/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateContactLink.md b/docs/old/API_docs_v42/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateContactRegistered.md b/docs/old/API_docs_v42/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateDcOptions.md b/docs/old/API_docs_v42/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v42/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateDeleteMessages.md b/docs/old/API_docs_v42/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v42/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v42/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateEncryption.md b/docs/old/API_docs_v42/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateMessageID.md b/docs/old/API_docs_v42/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateNewAuthorization.md b/docs/old/API_docs_v42/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v42/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v42/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateNewMessage.md b/docs/old/API_docs_v42/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateNotifySettings.md b/docs/old/API_docs_v42/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updatePrivacy.md b/docs/old/API_docs_v42/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v42/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v42/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v42/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v42/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateServiceNotification.md b/docs/old/API_docs_v42/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateShort.md b/docs/old/API_docs_v42/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateShortChatMessage.md b/docs/old/API_docs_v42/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..7ee11af7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateShortChatMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateShortMessage.md b/docs/old/API_docs_v42/constructors/updateShortMessage.md new file mode 100644 index 00000000..5cdad457 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateShortMessage.md @@ -0,0 +1,39 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateShortSentMessage.md b/docs/old/API_docs_v42/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserBlocked.md b/docs/old/API_docs_v42/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserName.md b/docs/old/API_docs_v42/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserPhone.md b/docs/old/API_docs_v42/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserPhoto.md b/docs/old/API_docs_v42/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserStatus.md b/docs/old/API_docs_v42/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateUserTyping.md b/docs/old/API_docs_v42/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updateWebPage.md b/docs/old/API_docs_v42/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates.md b/docs/old/API_docs_v42/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updatesCombined.md b/docs/old/API_docs_v42/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updatesTooLong.md b/docs/old/API_docs_v42/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_channelDifference.md b/docs/old/API_docs_v42/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v42/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v42/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..6737c525 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_difference.md b/docs/old/API_docs_v42/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v42/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_differenceSlice.md b/docs/old/API_docs_v42/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/updates_state.md b/docs/old/API_docs_v42/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v42/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/upload_file.md b/docs/old/API_docs_v42/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v42/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/user.md b/docs/old/API_docs_v42/constructors/user.md new file mode 100644 index 00000000..d4240043 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/user.md @@ -0,0 +1,55 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/userEmpty.md b/docs/old/API_docs_v42/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/constructors/userFull.md b/docs/old/API_docs_v42/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userProfilePhoto.md b/docs/old/API_docs_v42/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v42/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusEmpty.md b/docs/old/API_docs_v42/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusLastMonth.md b/docs/old/API_docs_v42/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusLastWeek.md b/docs/old/API_docs_v42/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusOffline.md b/docs/old/API_docs_v42/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusOnline.md b/docs/old/API_docs_v42/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/userStatusRecently.md b/docs/old/API_docs_v42/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/vector.md b/docs/old/API_docs_v42/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/video.md b/docs/old/API_docs_v42/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/videoEmpty.md b/docs/old/API_docs_v42/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v42/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/wallPaper.md b/docs/old/API_docs_v42/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v42/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/wallPaperSolid.md b/docs/old/API_docs_v42/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v42/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/webPage.md b/docs/old/API_docs_v42/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/webPageEmpty.md b/docs/old/API_docs_v42/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v42/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v42/constructors/webPagePending.md b/docs/old/API_docs_v42/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v42/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v42/index.md b/docs/old/API_docs_v42/index.md new file mode 100644 index 00000000..3fae78a5 --- /dev/null +++ b/docs/old/API_docs_v42/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v42) +description: MadelineProto API documentation (layer v42) +--- +# MadelineProto API documentation (layer v42) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v42/methods/account_changePhone.md b/docs/old/API_docs_v42/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_checkUsername.md b/docs/old/API_docs_v42/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_deleteAccount.md b/docs/old/API_docs_v42/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getAccountTTL.md b/docs/old/API_docs_v42/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getAuthorizations.md b/docs/old/API_docs_v42/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getNotifySettings.md b/docs/old/API_docs_v42/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getPassword.md b/docs/old/API_docs_v42/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getPasswordSettings.md b/docs/old/API_docs_v42/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getPrivacy.md b/docs/old/API_docs_v42/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_getWallPapers.md b/docs/old/API_docs_v42/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_registerDevice.md b/docs/old/API_docs_v42/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_resetAuthorization.md b/docs/old/API_docs_v42/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_resetNotifySettings.md b/docs/old/API_docs_v42/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v42/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_setAccountTTL.md b/docs/old/API_docs_v42/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_setPrivacy.md b/docs/old/API_docs_v42/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_unregisterDevice.md b/docs/old/API_docs_v42/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v42/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updateNotifySettings.md b/docs/old/API_docs_v42/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v42/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updateProfile.md b/docs/old/API_docs_v42/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updateStatus.md b/docs/old/API_docs_v42/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/account_updateUsername.md b/docs/old/API_docs_v42/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v42/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v42/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_checkPassword.md b/docs/old/API_docs_v42/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_checkPhone.md b/docs/old/API_docs_v42/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_exportAuthorization.md b/docs/old/API_docs_v42/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_importAuthorization.md b/docs/old/API_docs_v42/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v42/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_logOut.md b/docs/old/API_docs_v42/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_recoverPassword.md b/docs/old/API_docs_v42/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v42/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v42/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_sendCall.md b/docs/old/API_docs_v42/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_sendCode.md b/docs/old/API_docs_v42/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_sendInvites.md b/docs/old/API_docs_v42/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_sendSms.md b/docs/old/API_docs_v42/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_signIn.md b/docs/old/API_docs_v42/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/auth_signUp.md b/docs/old/API_docs_v42/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v42/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_checkUsername.md b/docs/old/API_docs_v42/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_createChannel.md b/docs/old/API_docs_v42/methods/channels_createChannel.md similarity index 100% rename from docs/API_docs_55/methods/channels_createChannel.md rename to docs/old/API_docs_v42/methods/channels_createChannel.md diff --git a/docs/old/API_docs_v42/methods/channels_deleteChannel.md b/docs/old/API_docs_v42/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_deleteMessages.md b/docs/old/API_docs_v42/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v42/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_editAbout.md b/docs/old/API_docs_v42/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/channels_editAdmin.md b/docs/old/API_docs_v42/methods/channels_editAdmin.md similarity index 100% rename from docs/API_docs_46/methods/channels_editAdmin.md rename to docs/old/API_docs_v42/methods/channels_editAdmin.md diff --git a/docs/old/API_docs_v42/methods/channels_editPhoto.md b/docs/old/API_docs_v42/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_editTitle.md b/docs/old/API_docs_v42/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_exportInvite.md b/docs/old/API_docs_v42/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getChannels.md b/docs/old/API_docs_v42/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getDialogs.md b/docs/old/API_docs_v42/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getFullChannel.md b/docs/old/API_docs_v42/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getImportantHistory.md b/docs/old/API_docs_v42/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..2dc809ea --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getImportantHistory.md @@ -0,0 +1,42 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getMessages.md b/docs/old/API_docs_v42/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getParticipant.md b/docs/old/API_docs_v42/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_getParticipants.md b/docs/old/API_docs_v42/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_inviteToChannel.md b/docs/old/API_docs_v42/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_joinChannel.md b/docs/old/API_docs_v42/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_kickFromChannel.md b/docs/old/API_docs_v42/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_leaveChannel.md b/docs/old/API_docs_v42/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_readHistory.md b/docs/old/API_docs_v42/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_reportSpam.md b/docs/old/API_docs_v42/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_toggleComments.md b/docs/old/API_docs_v42/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/channels_updateUsername.md b/docs/old/API_docs_v42/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v42/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_block.md b/docs/old/API_docs_v42/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_deleteContact.md b/docs/old/API_docs_v42/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_deleteContacts.md b/docs/old/API_docs_v42/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_exportCard.md b/docs/old/API_docs_v42/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_getBlocked.md b/docs/old/API_docs_v42/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_getContacts.md b/docs/old/API_docs_v42/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_getStatuses.md b/docs/old/API_docs_v42/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_getSuggested.md b/docs/old/API_docs_v42/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_importCard.md b/docs/old/API_docs_v42/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_importContacts.md b/docs/old/API_docs_v42/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_resolveUsername.md b/docs/old/API_docs_v42/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_search.md b/docs/old/API_docs_v42/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/contacts_unblock.md b/docs/old/API_docs_v42/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v42/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getAppChangelog.md b/docs/old/API_docs_v42/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getAppUpdate.md b/docs/old/API_docs_v42/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getConfig.md b/docs/old/API_docs_v42/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getInviteText.md b/docs/old/API_docs_v42/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getNearestDc.md b/docs/old/API_docs_v42/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_getSupport.md b/docs/old/API_docs_v42/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/help_saveAppLog.md b/docs/old/API_docs_v42/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v42/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/index.md b/docs/old/API_docs_v42/methods/index.md new file mode 100644 index 00000000..cc61482b --- /dev/null +++ b/docs/old/API_docs_v42/methods/index.md @@ -0,0 +1,322 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['broadcast' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [string](../types/string.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v42/methods/initConnection.md b/docs/old/API_docs_v42/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v42/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/invokeAfterMsg.md b/docs/old/API_docs_v42/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v42/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/invokeAfterMsgs.md b/docs/old/API_docs_v42/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v42/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/invokeWithLayer.md b/docs/old/API_docs_v42/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v42/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v42/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v42/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_acceptEncryption.md b/docs/old/API_docs_v42/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_addChatUser.md b/docs/old/API_docs_v42/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_checkChatInvite.md b/docs/old/API_docs_v42/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_createChat.md b/docs/old/API_docs_v42/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_deleteChatUser.md b/docs/old/API_docs_v42/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_deleteHistory.md b/docs/old/API_docs_v42/methods/messages_deleteHistory.md new file mode 100644 index 00000000..1522b679 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_deleteMessages.md b/docs/old/API_docs_v42/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_discardEncryption.md b/docs/old/API_docs_v42/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_editChatAdmin.md b/docs/old/API_docs_v42/methods/messages_editChatAdmin.md similarity index 100% rename from docs/API_docs_55/methods/messages_editChatAdmin.md rename to docs/old/API_docs_v42/methods/messages_editChatAdmin.md diff --git a/docs/old/API_docs_v42/methods/messages_editChatPhoto.md b/docs/old/API_docs_v42/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_editChatTitle.md b/docs/old/API_docs_v42/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_exportChatInvite.md b/docs/old/API_docs_v42/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_forwardMessage.md b/docs/old/API_docs_v42/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_forwardMessages.md b/docs/old/API_docs_v42/methods/messages_forwardMessages.md new file mode 100644 index 00000000..80b13412 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_forwardMessages.md @@ -0,0 +1,40 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getAllStickers.md b/docs/old/API_docs_v42/methods/messages_getAllStickers.md new file mode 100644 index 00000000..6c85da7a --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getChats.md b/docs/old/API_docs_v42/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getDhConfig.md b/docs/old/API_docs_v42/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getDialogs.md b/docs/old/API_docs_v42/methods/messages_getDialogs.md similarity index 100% rename from docs/API_docs_46/methods/messages_getDialogs.md rename to docs/old/API_docs_v42/methods/messages_getDialogs.md diff --git a/docs/old/API_docs_v42/methods/messages_getFullChat.md b/docs/old/API_docs_v42/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getHistory.md b/docs/old/API_docs_v42/methods/messages_getHistory.md new file mode 100644 index 00000000..d3496140 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getHistory.md @@ -0,0 +1,42 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getMessages.md b/docs/old/API_docs_v42/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getMessagesViews.md b/docs/old/API_docs_v42/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getStickerSet.md b/docs/old/API_docs_v42/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getStickers.md b/docs/old/API_docs_v42/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v42/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_importChatInvite.md b/docs/old/API_docs_v42/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_installStickerSet.md b/docs/old/API_docs_v42/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_migrateChat.md b/docs/old/API_docs_v42/methods/messages_migrateChat.md similarity index 100% rename from docs/API_docs_55/methods/messages_migrateChat.md rename to docs/old/API_docs_v42/methods/messages_migrateChat.md diff --git a/docs/old/API_docs_v42/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v42/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_readHistory.md b/docs/old/API_docs_v42/methods/messages_readHistory.md similarity index 100% rename from docs/API_docs_55/methods/messages_readHistory.md rename to docs/old/API_docs_v42/methods/messages_readHistory.md diff --git a/docs/old/API_docs_v42/methods/messages_readMessageContents.md b/docs/old/API_docs_v42/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_receivedMessages.md b/docs/old/API_docs_v42/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_receivedQueue.md b/docs/old/API_docs_v42/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_reportSpam.md b/docs/old/API_docs_v42/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_requestEncryption.md b/docs/old/API_docs_v42/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_search.md b/docs/old/API_docs_v42/methods/messages_search.md new file mode 100644 index 00000000..82d49c55 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_search.md @@ -0,0 +1,45 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_searchGlobal.md b/docs/old/API_docs_v42/methods/messages_searchGlobal.md similarity index 100% rename from docs/API_docs_55/methods/messages_searchGlobal.md rename to docs/old/API_docs_v42/methods/messages_searchGlobal.md diff --git a/docs/old/API_docs_v42/methods/messages_sendBroadcast.md b/docs/old/API_docs_v42/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_sendEncrypted.md b/docs/old/API_docs_v42/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v42/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v42/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_sendMedia.md b/docs/old/API_docs_v42/methods/messages_sendMedia.md new file mode 100644 index 00000000..17061d9e --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendMedia.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_sendMessage.md b/docs/old/API_docs_v42/methods/messages_sendMessage.md new file mode 100644 index 00000000..6635df3e --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_sendMessage.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v42/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/messages_setTyping.md b/docs/old/API_docs_v42/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_startBot.md b/docs/old/API_docs_v42/methods/messages_startBot.md similarity index 100% rename from docs/API_docs_55/methods/messages_startBot.md rename to docs/old/API_docs_v42/methods/messages_startBot.md diff --git a/docs/API_docs_55/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v42/methods/messages_toggleChatAdmins.md similarity index 100% rename from docs/API_docs_55/methods/messages_toggleChatAdmins.md rename to docs/old/API_docs_v42/methods/messages_toggleChatAdmins.md diff --git a/docs/old/API_docs_v42/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v42/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v42/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/photos_deletePhotos.md b/docs/old/API_docs_v42/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v42/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/photos_getUserPhotos.md b/docs/old/API_docs_v42/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v42/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v42/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v42/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v42/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v42/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/updates_getChannelDifference.md b/docs/old/API_docs_v42/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v42/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/updates_getDifference.md b/docs/old/API_docs_v42/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v42/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/updates_getState.md b/docs/old/API_docs_v42/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v42/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/upload_getFile.md b/docs/old/API_docs_v42/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v42/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v42/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v42/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/upload_saveFilePart.md b/docs/old/API_docs_v42/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v42/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/users_getFullUser.md b/docs/old/API_docs_v42/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v42/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/methods/users_getUsers.md b/docs/old/API_docs_v42/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v42/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/!X.md b/docs/old/API_docs_v42/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v42/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/AccountDaysTTL.md b/docs/old/API_docs_v42/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v42/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v42/types/Audio.md b/docs/old/API_docs_v42/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v42/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Authorization.md b/docs/old/API_docs_v42/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v42/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Bool.md b/docs/old/API_docs_v42/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v42/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/BotCommand.md b/docs/old/API_docs_v42/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v42/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/BotInfo.md b/docs/old/API_docs_v42/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v42/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChannelMessagesFilter.md b/docs/old/API_docs_v42/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v42/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChannelParticipant.md b/docs/old/API_docs_v42/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v42/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChannelParticipantRole.md b/docs/old/API_docs_v42/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v42/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v42/types/ChannelParticipantsFilter.md similarity index 100% rename from docs/API_docs_55/types/ChannelParticipantsFilter.md rename to docs/old/API_docs_v42/types/ChannelParticipantsFilter.md diff --git a/docs/old/API_docs_v42/types/Chat.md b/docs/old/API_docs_v42/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v42/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChatFull.md b/docs/old/API_docs_v42/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v42/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChatInvite.md b/docs/old/API_docs_v42/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v42/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/API_docs_55/types/ChatParticipant.md b/docs/old/API_docs_v42/types/ChatParticipant.md similarity index 100% rename from docs/API_docs_55/types/ChatParticipant.md rename to docs/old/API_docs_v42/types/ChatParticipant.md diff --git a/docs/old/API_docs_v42/types/ChatParticipants.md b/docs/old/API_docs_v42/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v42/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ChatPhoto.md b/docs/old/API_docs_v42/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v42/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Config.md b/docs/old/API_docs_v42/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v42/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v42/types/Contact.md b/docs/old/API_docs_v42/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v42/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ContactBlocked.md b/docs/old/API_docs_v42/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v42/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ContactLink.md b/docs/old/API_docs_v42/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v42/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ContactStatus.md b/docs/old/API_docs_v42/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v42/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v42/types/ContactSuggested.md b/docs/old/API_docs_v42/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v42/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/DcOption.md b/docs/old/API_docs_v42/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v42/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Dialog.md b/docs/old/API_docs_v42/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v42/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/DisabledFeature.md b/docs/old/API_docs_v42/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v42/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Document.md b/docs/old/API_docs_v42/types/Document.md new file mode 100644 index 00000000..f99b198e --- /dev/null +++ b/docs/old/API_docs_v42/types/Document.md @@ -0,0 +1,21 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/DocumentAttribute.md b/docs/old/API_docs_v42/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v42/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/EncryptedChat.md b/docs/old/API_docs_v42/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v42/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v42/types/EncryptedFile.md b/docs/old/API_docs_v42/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v42/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/EncryptedMessage.md b/docs/old/API_docs_v42/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v42/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Error.md b/docs/old/API_docs_v42/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v42/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ExportedChatInvite.md b/docs/old/API_docs_v42/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v42/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v42/types/FileLocation.md b/docs/old/API_docs_v42/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v42/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/GeoPoint.md b/docs/old/API_docs_v42/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v42/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ImportedContact.md b/docs/old/API_docs_v42/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v42/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputAppEvent.md b/docs/old/API_docs_v42/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputAudio.md b/docs/old/API_docs_v42/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v42/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputChannel.md b/docs/old/API_docs_v42/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v42/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputChatPhoto.md b/docs/old/API_docs_v42/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputContact.md b/docs/old/API_docs_v42/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputDocument.md b/docs/old/API_docs_v42/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputEncryptedChat.md b/docs/old/API_docs_v42/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputEncryptedFile.md b/docs/old/API_docs_v42/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputFile.md b/docs/old/API_docs_v42/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputFileLocation.md b/docs/old/API_docs_v42/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v42/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputGeoPoint.md b/docs/old/API_docs_v42/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputMedia.md b/docs/old/API_docs_v42/types/InputMedia.md new file mode 100644 index 00000000..5112cbfa --- /dev/null +++ b/docs/old/API_docs_v42/types/InputMedia.md @@ -0,0 +1,45 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputNotifyPeer.md b/docs/old/API_docs_v42/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v42/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPeer.md b/docs/old/API_docs_v42/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v42/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPeerNotifySettings.md b/docs/old/API_docs_v42/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPhoto.md b/docs/old/API_docs_v42/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPhotoCrop.md b/docs/old/API_docs_v42/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPrivacyKey.md b/docs/old/API_docs_v42/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputPrivacyRule.md b/docs/old/API_docs_v42/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v42/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputStickerSet.md b/docs/old/API_docs_v42/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v42/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputUser.md b/docs/old/API_docs_v42/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v42/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/InputVideo.md b/docs/old/API_docs_v42/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v42/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/KeyboardButton.md b/docs/old/API_docs_v42/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v42/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/KeyboardButtonRow.md b/docs/old/API_docs_v42/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v42/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Message.md b/docs/old/API_docs_v42/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v42/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/MessageAction.md b/docs/old/API_docs_v42/types/MessageAction.md similarity index 100% rename from docs/API_docs_46/types/MessageAction.md rename to docs/old/API_docs_v42/types/MessageAction.md diff --git a/docs/old/API_docs_v42/types/MessageEntity.md b/docs/old/API_docs_v42/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v42/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/MessageGroup.md b/docs/old/API_docs_v42/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v42/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/MessageMedia.md b/docs/old/API_docs_v42/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v42/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v42/types/MessageRange.md b/docs/old/API_docs_v42/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v42/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/MessagesFilter.md b/docs/old/API_docs_v42/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v42/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/NearestDc.md b/docs/old/API_docs_v42/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v42/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v42/types/NotifyPeer.md b/docs/old/API_docs_v42/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v42/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Null.md b/docs/old/API_docs_v42/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v42/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Peer.md b/docs/old/API_docs_v42/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v42/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/PeerNotifyEvents.md b/docs/old/API_docs_v42/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v42/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/PeerNotifySettings.md b/docs/old/API_docs_v42/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v42/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v42/types/Photo.md b/docs/old/API_docs_v42/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v42/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/PhotoSize.md b/docs/old/API_docs_v42/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v42/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/PrivacyKey.md b/docs/old/API_docs_v42/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v42/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/PrivacyRule.md b/docs/old/API_docs_v42/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v42/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v42/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v42/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v42/types/ReplyMarkup.md b/docs/old/API_docs_v42/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v42/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/SendMessageAction.md b/docs/old/API_docs_v42/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v42/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/StickerPack.md b/docs/old/API_docs_v42/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v42/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/StickerSet.md b/docs/old/API_docs_v42/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v42/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/True.md b/docs/old/API_docs_v42/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v42/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Update.md b/docs/old/API_docs_v42/types/Update.md new file mode 100644 index 00000000..a8d42712 --- /dev/null +++ b/docs/old/API_docs_v42/types/Update.md @@ -0,0 +1,91 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Updates.md b/docs/old/API_docs_v42/types/Updates.md new file mode 100644 index 00000000..a1e828dc --- /dev/null +++ b/docs/old/API_docs_v42/types/Updates.md @@ -0,0 +1,79 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + + + diff --git a/docs/old/API_docs_v42/types/User.md b/docs/old/API_docs_v42/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v42/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v42/types/UserFull.md b/docs/old/API_docs_v42/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v42/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v42/types/UserProfilePhoto.md b/docs/old/API_docs_v42/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v42/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v42/types/UserStatus.md b/docs/old/API_docs_v42/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v42/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Vector t.md b/docs/old/API_docs_v42/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v42/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/Video.md b/docs/old/API_docs_v42/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v42/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/WallPaper.md b/docs/old/API_docs_v42/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v42/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v42/types/WebPage.md b/docs/old/API_docs_v42/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v42/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/X.md b/docs/old/API_docs_v42/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v42/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/account_Authorizations.md b/docs/old/API_docs_v42/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v42/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v42/types/account_Password.md b/docs/old/API_docs_v42/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v42/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v42/types/account_PasswordInputSettings.md b/docs/old/API_docs_v42/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v42/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/account_PasswordSettings.md b/docs/old/API_docs_v42/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v42/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v42/types/account_PrivacyRules.md b/docs/old/API_docs_v42/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v42/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v42/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v42/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v42/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v42/types/auth_Authorization.md b/docs/old/API_docs_v42/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v42/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v42/types/auth_CheckedPhone.md b/docs/old/API_docs_v42/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v42/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v42/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v42/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v42/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v42/types/auth_PasswordRecovery.md b/docs/old/API_docs_v42/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v42/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v42/types/auth_SentCode.md b/docs/old/API_docs_v42/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v42/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v42/types/bytes.md b/docs/old/API_docs_v42/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v42/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/channels_ChannelParticipant.md b/docs/old/API_docs_v42/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v42/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v42/types/channels_ChannelParticipants.md b/docs/old/API_docs_v42/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v42/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_Blocked.md b/docs/old/API_docs_v42/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_Contacts.md b/docs/old/API_docs_v42/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_Found.md b/docs/old/API_docs_v42/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_ImportedContacts.md b/docs/old/API_docs_v42/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_Link.md b/docs/old/API_docs_v42/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v42/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v42/types/contacts_Suggested.md b/docs/old/API_docs_v42/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v42/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v42/types/double.md b/docs/old/API_docs_v42/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v42/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/help_AppChangelog.md b/docs/old/API_docs_v42/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v42/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v42/types/help_AppUpdate.md b/docs/old/API_docs_v42/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v42/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v42/types/help_InviteText.md b/docs/old/API_docs_v42/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v42/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v42/types/help_Support.md b/docs/old/API_docs_v42/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v42/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v42/types/index.md b/docs/old/API_docs_v42/types/index.md new file mode 100644 index 00000000..8cac7e34 --- /dev/null +++ b/docs/old/API_docs_v42/types/index.md @@ -0,0 +1,284 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v42/types/int.md b/docs/old/API_docs_v42/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v42/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/int128.md b/docs/old/API_docs_v42/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v42/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/int256.md b/docs/old/API_docs_v42/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v42/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/int512.md b/docs/old/API_docs_v42/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v42/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/long.md b/docs/old/API_docs_v42/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v42/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/API_docs_55/types/messages_AffectedHistory.md b/docs/old/API_docs_v42/types/messages_AffectedHistory.md similarity index 100% rename from docs/API_docs_55/types/messages_AffectedHistory.md rename to docs/old/API_docs_v42/types/messages_AffectedHistory.md diff --git a/docs/API_docs_55/types/messages_AffectedMessages.md b/docs/old/API_docs_v42/types/messages_AffectedMessages.md similarity index 100% rename from docs/API_docs_55/types/messages_AffectedMessages.md rename to docs/old/API_docs_v42/types/messages_AffectedMessages.md diff --git a/docs/old/API_docs_v42/types/messages_AllStickers.md b/docs/old/API_docs_v42/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_ChatFull.md b/docs/old/API_docs_v42/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_Chats.md b/docs/old/API_docs_v42/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_DhConfig.md b/docs/old/API_docs_v42/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_Dialogs.md b/docs/old/API_docs_v42/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_Messages.md b/docs/old/API_docs_v42/types/messages_Messages.md new file mode 100644 index 00000000..89cedf06 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_Messages.md @@ -0,0 +1,35 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v42/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_StickerSet.md b/docs/old/API_docs_v42/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v42/types/messages_Stickers.md b/docs/old/API_docs_v42/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v42/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v42/types/photos_Photo.md b/docs/old/API_docs_v42/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v42/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v42/types/photos_Photos.md b/docs/old/API_docs_v42/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v42/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v42/types/storage_FileType.md b/docs/old/API_docs_v42/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v42/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v42/types/string.md b/docs/old/API_docs_v42/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v42/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v42/types/updates_ChannelDifference.md b/docs/old/API_docs_v42/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v42/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v42/types/updates_Difference.md b/docs/old/API_docs_v42/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v42/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v42/types/updates_State.md b/docs/old/API_docs_v42/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v42/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v42/types/upload_File.md b/docs/old/API_docs_v42/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v42/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v44/constructors/accountDaysTTL.md b/docs/old/API_docs_v44/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_authorizations.md b/docs/old/API_docs_v44/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_noPassword.md b/docs/old/API_docs_v44/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_password.md b/docs/old/API_docs_v44/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v44/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_passwordSettings.md b/docs/old/API_docs_v44/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_privacyRules.md b/docs/old/API_docs_v44/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v44/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/audio.md b/docs/old/API_docs_v44/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/audioEmpty.md b/docs/old/API_docs_v44/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_authorization.md b/docs/old/API_docs_v44/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_checkedPhone.md b/docs/old/API_docs_v44/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v44/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v44/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_sentAppCode.md b/docs/old/API_docs_v44/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/auth_sentCode.md b/docs/old/API_docs_v44/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/authorization.md b/docs/old/API_docs_v44/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/boolFalse.md b/docs/old/API_docs_v44/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/boolTrue.md b/docs/old/API_docs_v44/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/botCommand.md b/docs/old/API_docs_v44/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/botInfo.md b/docs/old/API_docs_v44/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/botInfoEmpty.md b/docs/old/API_docs_v44/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channel.md b/docs/old/API_docs_v44/constructors/channel.md new file mode 100644 index 00000000..751bb250 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channel.md @@ -0,0 +1,55 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restiction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restiction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/channelForbidden.md b/docs/old/API_docs_v44/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/channelFull.md b/docs/old/API_docs_v44/constructors/channelFull.md new file mode 100644 index 00000000..b825f709 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelFull.md @@ -0,0 +1,40 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelMessagesFilter.md b/docs/old/API_docs_v44/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..3f04523e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelMessagesFilter.md @@ -0,0 +1,28 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v44/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v44/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipant.md b/docs/old/API_docs_v44/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantCreator.md b/docs/old/API_docs_v44/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantEditor.md b/docs/old/API_docs_v44/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantKicked.md b/docs/old/API_docs_v44/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantModerator.md b/docs/old/API_docs_v44/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantSelf.md b/docs/old/API_docs_v44/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v44/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantsBots.md b/docs/old/API_docs_v44/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v44/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v44/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelRoleEditor.md b/docs/old/API_docs_v44/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelRoleEmpty.md b/docs/old/API_docs_v44/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channelRoleModerator.md b/docs/old/API_docs_v44/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channels_channelParticipant.md b/docs/old/API_docs_v44/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/channels_channelParticipants.md b/docs/old/API_docs_v44/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chat.md b/docs/old/API_docs_v44/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/chatEmpty.md b/docs/old/API_docs_v44/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/chatForbidden.md b/docs/old/API_docs_v44/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/chatFull.md b/docs/old/API_docs_v44/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatInvite.md b/docs/old/API_docs_v44/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatInviteAlready.md b/docs/old/API_docs_v44/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatInviteEmpty.md b/docs/old/API_docs_v44/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatInviteExported.md b/docs/old/API_docs_v44/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatParticipant.md b/docs/old/API_docs_v44/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v44/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatParticipantCreator.md b/docs/old/API_docs_v44/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatParticipants.md b/docs/old/API_docs_v44/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v44/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatPhoto.md b/docs/old/API_docs_v44/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v44/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/config.md b/docs/old/API_docs_v44/constructors/config.md new file mode 100644 index 00000000..26260539 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/config.md @@ -0,0 +1,43 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contact.md b/docs/old/API_docs_v44/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactBlocked.md b/docs/old/API_docs_v44/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactLinkContact.md b/docs/old/API_docs_v44/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v44/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactLinkNone.md b/docs/old/API_docs_v44/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactLinkUnknown.md b/docs/old/API_docs_v44/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactStatus.md b/docs/old/API_docs_v44/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contactSuggested.md b/docs/old/API_docs_v44/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_blocked.md b/docs/old/API_docs_v44/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v44/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_contacts.md b/docs/old/API_docs_v44/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v44/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_found.md b/docs/old/API_docs_v44/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_importedContacts.md b/docs/old/API_docs_v44/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_link.md b/docs/old/API_docs_v44/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v44/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/contacts_suggested.md b/docs/old/API_docs_v44/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/dcOption.md b/docs/old/API_docs_v44/constructors/dcOption.md new file mode 100644 index 00000000..ca50ee47 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/dcOption.md @@ -0,0 +1,30 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/dialog.md b/docs/old/API_docs_v44/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/dialogChannel.md b/docs/old/API_docs_v44/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/disabledFeature.md b/docs/old/API_docs_v44/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/document.md b/docs/old/API_docs_v44/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v44/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeAudio.md b/docs/old/API_docs_v44/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeFilename.md b/docs/old/API_docs_v44/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v44/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeSticker.md b/docs/old/API_docs_v44/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentAttributeVideo.md b/docs/old/API_docs_v44/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/documentEmpty.md b/docs/old/API_docs_v44/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedChat.md b/docs/old/API_docs_v44/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v44/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v44/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedChatRequested.md b/docs/old/API_docs_v44/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v44/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedFile.md b/docs/old/API_docs_v44/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v44/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedMessage.md b/docs/old/API_docs_v44/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/encryptedMessageService.md b/docs/old/API_docs_v44/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/error.md b/docs/old/API_docs_v44/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/fileLocation.md b/docs/old/API_docs_v44/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v44/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/foundGif.md b/docs/old/API_docs_v44/constructors/foundGif.md new file mode 100644 index 00000000..5007af92 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/foundGif.md @@ -0,0 +1,26 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/geoPoint.md b/docs/old/API_docs_v44/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/geoPointEmpty.md b/docs/old/API_docs_v44/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_appChangelog.md b/docs/old/API_docs_v44/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v44/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_appUpdate.md b/docs/old/API_docs_v44/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_inviteText.md b/docs/old/API_docs_v44/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_noAppUpdate.md b/docs/old/API_docs_v44/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_support.md b/docs/old/API_docs_v44/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/help_termsOfService.md b/docs/old/API_docs_v44/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/importedContact.md b/docs/old/API_docs_v44/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/index.md b/docs/old/API_docs_v44/constructors/index.md new file mode 100644 index 00000000..c5fb0868 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/index.md @@ -0,0 +1,1097 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restiction_reason' => [string](../types/string.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['important_only' => [Bool](../types/Bool.md), 'exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$foundGif](../constructors/foundGif.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaGifExternal](../constructors/inputMediaGifExternal.md) = \['url' => [string](../types/string.md), 'q' => [string](../types/string.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputReportReasonOther](../constructors/inputReportReasonOther.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$inputReportReasonPornography](../constructors/inputReportReasonPornography.md) = \[\]; + +*** +

[$inputReportReasonSpam](../constructors/inputReportReasonSpam.md) = \[\]; + +*** +

[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewStickerSet](../constructors/updateNewStickerSet.md) = \['stickerset' => [messages\_StickerSet](../types/messages_StickerSet.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateStickerSets](../constructors/updateStickerSets.md) = \[\]; + +*** +

[$updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) = \['order' => \[[long](../types/long.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restiction_reason' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPageExternal](../constructors/webPageExternal.md) = \['url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v44/constructors/inputAppEvent.md b/docs/old/API_docs_v44/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputAudio.md b/docs/old/API_docs_v44/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputAudioEmpty.md b/docs/old/API_docs_v44/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v44/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputChannel.md b/docs/old/API_docs_v44/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputChannelEmpty.md b/docs/old/API_docs_v44/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputChatPhoto.md b/docs/old/API_docs_v44/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v44/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v44/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputDocument.md b/docs/old/API_docs_v44/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v44/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v44/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedChat.md b/docs/old/API_docs_v44/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedFile.md b/docs/old/API_docs_v44/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v44/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v44/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v44/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputFile.md b/docs/old/API_docs_v44/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputFileBig.md b/docs/old/API_docs_v44/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputFileLocation.md b/docs/old/API_docs_v44/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputGeoPoint.md b/docs/old/API_docs_v44/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v44/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaAudio.md b/docs/old/API_docs_v44/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaContact.md b/docs/old/API_docs_v44/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaDocument.md b/docs/old/API_docs_v44/constructors/inputMediaDocument.md new file mode 100644 index 00000000..fd93587a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaEmpty.md b/docs/old/API_docs_v44/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v44/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v44/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaPhoto.md b/docs/old/API_docs_v44/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..a561cae1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..f4199f8c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v44/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaVenue.md b/docs/old/API_docs_v44/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMediaVideo.md b/docs/old/API_docs_v44/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v44/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputNotifyAll.md b/docs/old/API_docs_v44/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputNotifyChats.md b/docs/old/API_docs_v44/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputNotifyPeer.md b/docs/old/API_docs_v44/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputNotifyUsers.md b/docs/old/API_docs_v44/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPeerChannel.md b/docs/old/API_docs_v44/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputPeerChat.md b/docs/old/API_docs_v44/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputPeerEmpty.md b/docs/old/API_docs_v44/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v44/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPeerSelf.md b/docs/old/API_docs_v44/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputPeerUser.md b/docs/old/API_docs_v44/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputPhoneContact.md b/docs/old/API_docs_v44/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPhoto.md b/docs/old/API_docs_v44/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPhotoCrop.md b/docs/old/API_docs_v44/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v44/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v44/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputReportReasonOther.md b/docs/old/API_docs_v44/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v44/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v44/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v44/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v44/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputStickerSetID.md b/docs/old/API_docs_v44/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v44/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputUser.md b/docs/old/API_docs_v44/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputUserEmpty.md b/docs/old/API_docs_v44/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputUserSelf.md b/docs/old/API_docs_v44/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/inputVideo.md b/docs/old/API_docs_v44/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputVideoEmpty.md b/docs/old/API_docs_v44/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v44/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v44/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/keyboardButton.md b/docs/old/API_docs_v44/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/keyboardButtonRow.md b/docs/old/API_docs_v44/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/message.md b/docs/old/API_docs_v44/constructors/message.md new file mode 100644 index 00000000..941fbfdb --- /dev/null +++ b/docs/old/API_docs_v44/constructors/message.md @@ -0,0 +1,41 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v44/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v44/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v44/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatCreate.md b/docs/old/API_docs_v44/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v44/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v44/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v44/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v44/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v44/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v44/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageActionEmpty.md b/docs/old/API_docs_v44/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEmpty.md b/docs/old/API_docs_v44/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityBold.md b/docs/old/API_docs_v44/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v44/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityCode.md b/docs/old/API_docs_v44/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityEmail.md b/docs/old/API_docs_v44/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityHashtag.md b/docs/old/API_docs_v44/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityItalic.md b/docs/old/API_docs_v44/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityMention.md b/docs/old/API_docs_v44/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityPre.md b/docs/old/API_docs_v44/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v44/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityUnknown.md b/docs/old/API_docs_v44/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageEntityUrl.md b/docs/old/API_docs_v44/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageGroup.md b/docs/old/API_docs_v44/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaAudio.md b/docs/old/API_docs_v44/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaContact.md b/docs/old/API_docs_v44/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaDocument.md b/docs/old/API_docs_v44/constructors/messageMediaDocument.md new file mode 100644 index 00000000..6ca7f24a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaDocument.md @@ -0,0 +1,26 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaEmpty.md b/docs/old/API_docs_v44/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaGeo.md b/docs/old/API_docs_v44/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaPhoto.md b/docs/old/API_docs_v44/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v44/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaVenue.md b/docs/old/API_docs_v44/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaVideo.md b/docs/old/API_docs_v44/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageMediaWebPage.md b/docs/old/API_docs_v44/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageRange.md b/docs/old/API_docs_v44/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messageService.md b/docs/old/API_docs_v44/constructors/messageService.md new file mode 100644 index 00000000..2fd34911 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messageService.md @@ -0,0 +1,34 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_affectedHistory.md b/docs/old/API_docs_v44/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_affectedMessages.md b/docs/old/API_docs_v44/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_allStickers.md b/docs/old/API_docs_v44/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v44/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_channelMessages.md b/docs/old/API_docs_v44/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_chatFull.md b/docs/old/API_docs_v44/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_chats.md b/docs/old/API_docs_v44/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_dhConfig.md b/docs/old/API_docs_v44/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v44/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_dialogs.md b/docs/old/API_docs_v44/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v44/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_foundGifs.md b/docs/old/API_docs_v44/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_messages.md b/docs/old/API_docs_v44/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_messagesSlice.md b/docs/old/API_docs_v44/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v44/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v44/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_stickerSet.md b/docs/old/API_docs_v44/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_stickers.md b/docs/old/API_docs_v44/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v44/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v44/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/nearestDc.md b/docs/old/API_docs_v44/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/notifyAll.md b/docs/old/API_docs_v44/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/notifyChats.md b/docs/old/API_docs_v44/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/notifyPeer.md b/docs/old/API_docs_v44/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/notifyUsers.md b/docs/old/API_docs_v44/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v44/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/null.md b/docs/old/API_docs_v44/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/peerChannel.md b/docs/old/API_docs_v44/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/peerChat.md b/docs/old/API_docs_v44/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v44/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v44/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/peerNotifySettings.md b/docs/old/API_docs_v44/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v44/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/peerUser.md b/docs/old/API_docs_v44/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/photo.md b/docs/old/API_docs_v44/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photoCachedSize.md b/docs/old/API_docs_v44/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photoEmpty.md b/docs/old/API_docs_v44/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photoSize.md b/docs/old/API_docs_v44/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photoSizeEmpty.md b/docs/old/API_docs_v44/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photos_photo.md b/docs/old/API_docs_v44/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photos_photos.md b/docs/old/API_docs_v44/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/photos_photosSlice.md b/docs/old/API_docs_v44/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v44/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v44/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v44/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v44/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v44/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v44/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v44/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v44/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v44/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/replyKeyboardHide.md b/docs/old/API_docs_v44/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v44/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v44/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v44/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v44/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v44/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v44/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v44/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v44/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v44/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v44/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v44/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/stickerPack.md b/docs/old/API_docs_v44/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/stickerSet.md b/docs/old/API_docs_v44/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileGif.md b/docs/old/API_docs_v44/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileJpeg.md b/docs/old/API_docs_v44/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileMov.md b/docs/old/API_docs_v44/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileMp3.md b/docs/old/API_docs_v44/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileMp4.md b/docs/old/API_docs_v44/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_filePartial.md b/docs/old/API_docs_v44/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_filePdf.md b/docs/old/API_docs_v44/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_filePng.md b/docs/old/API_docs_v44/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileUnknown.md b/docs/old/API_docs_v44/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/storage_fileWebp.md b/docs/old/API_docs_v44/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/true.md b/docs/old/API_docs_v44/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChannel.md b/docs/old/API_docs_v44/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChannelGroup.md b/docs/old/API_docs_v44/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v44/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChannelTooLong.md b/docs/old/API_docs_v44/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatAdmins.md b/docs/old/API_docs_v44/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v44/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v44/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v44/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatParticipants.md b/docs/old/API_docs_v44/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateChatUserTyping.md b/docs/old/API_docs_v44/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateContactLink.md b/docs/old/API_docs_v44/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateContactRegistered.md b/docs/old/API_docs_v44/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateDcOptions.md b/docs/old/API_docs_v44/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v44/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateDeleteMessages.md b/docs/old/API_docs_v44/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v44/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v44/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateEncryption.md b/docs/old/API_docs_v44/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateMessageID.md b/docs/old/API_docs_v44/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNewAuthorization.md b/docs/old/API_docs_v44/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v44/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v44/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNewMessage.md b/docs/old/API_docs_v44/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNewStickerSet.md b/docs/old/API_docs_v44/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateNotifySettings.md b/docs/old/API_docs_v44/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updatePrivacy.md b/docs/old/API_docs_v44/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v44/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v44/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v44/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v44/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateServiceNotification.md b/docs/old/API_docs_v44/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateShort.md b/docs/old/API_docs_v44/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateShortChatMessage.md b/docs/old/API_docs_v44/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..7ee11af7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateShortChatMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateShortMessage.md b/docs/old/API_docs_v44/constructors/updateShortMessage.md new file mode 100644 index 00000000..5cdad457 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateShortMessage.md @@ -0,0 +1,39 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateShortSentMessage.md b/docs/old/API_docs_v44/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateStickerSets.md b/docs/old/API_docs_v44/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v44/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserBlocked.md b/docs/old/API_docs_v44/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserName.md b/docs/old/API_docs_v44/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserPhone.md b/docs/old/API_docs_v44/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserPhoto.md b/docs/old/API_docs_v44/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserStatus.md b/docs/old/API_docs_v44/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateUserTyping.md b/docs/old/API_docs_v44/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updateWebPage.md b/docs/old/API_docs_v44/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates.md b/docs/old/API_docs_v44/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updatesCombined.md b/docs/old/API_docs_v44/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updatesTooLong.md b/docs/old/API_docs_v44/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_channelDifference.md b/docs/old/API_docs_v44/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v44/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v44/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..6737c525 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_difference.md b/docs/old/API_docs_v44/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v44/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_differenceSlice.md b/docs/old/API_docs_v44/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/updates_state.md b/docs/old/API_docs_v44/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v44/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/upload_file.md b/docs/old/API_docs_v44/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/user.md b/docs/old/API_docs_v44/constructors/user.md new file mode 100644 index 00000000..d4658555 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/user.md @@ -0,0 +1,57 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restiction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restiction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/userEmpty.md b/docs/old/API_docs_v44/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/constructors/userFull.md b/docs/old/API_docs_v44/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userProfilePhoto.md b/docs/old/API_docs_v44/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v44/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusEmpty.md b/docs/old/API_docs_v44/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusLastMonth.md b/docs/old/API_docs_v44/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusLastWeek.md b/docs/old/API_docs_v44/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusOffline.md b/docs/old/API_docs_v44/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusOnline.md b/docs/old/API_docs_v44/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/userStatusRecently.md b/docs/old/API_docs_v44/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/vector.md b/docs/old/API_docs_v44/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/video.md b/docs/old/API_docs_v44/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/videoEmpty.md b/docs/old/API_docs_v44/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v44/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/wallPaper.md b/docs/old/API_docs_v44/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v44/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/wallPaperSolid.md b/docs/old/API_docs_v44/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v44/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/webPage.md b/docs/old/API_docs_v44/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/webPageEmpty.md b/docs/old/API_docs_v44/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v44/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/webPageExternal.md b/docs/old/API_docs_v44/constructors/webPageExternal.md new file mode 100644 index 00000000..1e906f2f --- /dev/null +++ b/docs/old/API_docs_v44/constructors/webPageExternal.md @@ -0,0 +1,35 @@ +--- +title: webPageExternal +description: webPageExternal attributes, type and example +--- +## Constructor: webPageExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageExternal = ['_' => 'webPageExternal', 'url' => string, 'display_url' => string, 'type' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'content_url' => string, 'w' => int, 'h' => int, 'duration' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/constructors/webPagePending.md b/docs/old/API_docs_v44/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v44/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v44/index.md b/docs/old/API_docs_v44/index.md new file mode 100644 index 00000000..baa3f0da --- /dev/null +++ b/docs/old/API_docs_v44/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v44) +description: MadelineProto API documentation (layer v44) +--- +# MadelineProto API documentation (layer v44) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v44/methods/account_changePhone.md b/docs/old/API_docs_v44/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_checkUsername.md b/docs/old/API_docs_v44/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_deleteAccount.md b/docs/old/API_docs_v44/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getAccountTTL.md b/docs/old/API_docs_v44/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getAuthorizations.md b/docs/old/API_docs_v44/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getNotifySettings.md b/docs/old/API_docs_v44/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getPassword.md b/docs/old/API_docs_v44/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getPasswordSettings.md b/docs/old/API_docs_v44/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getPrivacy.md b/docs/old/API_docs_v44/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_getWallPapers.md b/docs/old/API_docs_v44/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_registerDevice.md b/docs/old/API_docs_v44/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_reportPeer.md b/docs/old/API_docs_v44/methods/account_reportPeer.md similarity index 100% rename from docs/API_docs_55/methods/account_reportPeer.md rename to docs/old/API_docs_v44/methods/account_reportPeer.md diff --git a/docs/old/API_docs_v44/methods/account_resetAuthorization.md b/docs/old/API_docs_v44/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_resetNotifySettings.md b/docs/old/API_docs_v44/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v44/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_setAccountTTL.md b/docs/old/API_docs_v44/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_setPrivacy.md b/docs/old/API_docs_v44/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_unregisterDevice.md b/docs/old/API_docs_v44/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v44/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updateNotifySettings.md b/docs/old/API_docs_v44/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v44/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updateProfile.md b/docs/old/API_docs_v44/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updateStatus.md b/docs/old/API_docs_v44/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/account_updateUsername.md b/docs/old/API_docs_v44/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v44/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v44/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_checkPassword.md b/docs/old/API_docs_v44/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_checkPhone.md b/docs/old/API_docs_v44/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_exportAuthorization.md b/docs/old/API_docs_v44/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_importAuthorization.md b/docs/old/API_docs_v44/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v44/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_logOut.md b/docs/old/API_docs_v44/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_recoverPassword.md b/docs/old/API_docs_v44/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v44/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v44/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_sendCall.md b/docs/old/API_docs_v44/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_sendCode.md b/docs/old/API_docs_v44/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_sendInvites.md b/docs/old/API_docs_v44/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_sendSms.md b/docs/old/API_docs_v44/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_signIn.md b/docs/old/API_docs_v44/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/auth_signUp.md b/docs/old/API_docs_v44/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v44/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_checkUsername.md b/docs/old/API_docs_v44/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_createChannel.md b/docs/old/API_docs_v44/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_deleteChannel.md b/docs/old/API_docs_v44/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_deleteMessages.md b/docs/old/API_docs_v44/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v44/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_editAbout.md b/docs/old/API_docs_v44/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_editAdmin.md b/docs/old/API_docs_v44/methods/channels_editAdmin.md similarity index 100% rename from docs/API_docs_55/methods/channels_editAdmin.md rename to docs/old/API_docs_v44/methods/channels_editAdmin.md diff --git a/docs/old/API_docs_v44/methods/channels_editPhoto.md b/docs/old/API_docs_v44/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_editTitle.md b/docs/old/API_docs_v44/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_exportInvite.md b/docs/old/API_docs_v44/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getChannels.md b/docs/old/API_docs_v44/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getDialogs.md b/docs/old/API_docs_v44/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getFullChannel.md b/docs/old/API_docs_v44/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getImportantHistory.md b/docs/old/API_docs_v44/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..2dc809ea --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getImportantHistory.md @@ -0,0 +1,42 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getMessages.md b/docs/old/API_docs_v44/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getParticipant.md b/docs/old/API_docs_v44/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_getParticipants.md b/docs/old/API_docs_v44/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_inviteToChannel.md b/docs/old/API_docs_v44/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_joinChannel.md b/docs/old/API_docs_v44/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_kickFromChannel.md b/docs/old/API_docs_v44/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_leaveChannel.md b/docs/old/API_docs_v44/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_readHistory.md b/docs/old/API_docs_v44/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_reportSpam.md b/docs/old/API_docs_v44/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_toggleComments.md b/docs/old/API_docs_v44/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/channels_updateUsername.md b/docs/old/API_docs_v44/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v44/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_block.md b/docs/old/API_docs_v44/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_deleteContact.md b/docs/old/API_docs_v44/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_deleteContacts.md b/docs/old/API_docs_v44/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_exportCard.md b/docs/old/API_docs_v44/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_getBlocked.md b/docs/old/API_docs_v44/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_getContacts.md b/docs/old/API_docs_v44/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_getStatuses.md b/docs/old/API_docs_v44/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_getSuggested.md b/docs/old/API_docs_v44/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_importCard.md b/docs/old/API_docs_v44/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_importContacts.md b/docs/old/API_docs_v44/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_resolveUsername.md b/docs/old/API_docs_v44/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_search.md b/docs/old/API_docs_v44/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/contacts_unblock.md b/docs/old/API_docs_v44/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v44/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getAppChangelog.md b/docs/old/API_docs_v44/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getAppUpdate.md b/docs/old/API_docs_v44/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getConfig.md b/docs/old/API_docs_v44/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getInviteText.md b/docs/old/API_docs_v44/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getNearestDc.md b/docs/old/API_docs_v44/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/help_getSupport.md b/docs/old/API_docs_v44/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/help_getTermsOfService.md b/docs/old/API_docs_v44/methods/help_getTermsOfService.md similarity index 100% rename from docs/API_docs_46/methods/help_getTermsOfService.md rename to docs/old/API_docs_v44/methods/help_getTermsOfService.md diff --git a/docs/old/API_docs_v44/methods/help_saveAppLog.md b/docs/old/API_docs_v44/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v44/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/index.md b/docs/old/API_docs_v44/methods/index.md new file mode 100644 index 00000000..1aab22cb --- /dev/null +++ b/docs/old/API_docs_v44/methods/index.md @@ -0,0 +1,332 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_getTermsOfService](help_getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_TermsOfService](../types/help_TermsOfService.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['broadcast' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reorderStickerSets](messages_reorderStickerSets.md)(\['order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_search](messages_search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v44/methods/initConnection.md b/docs/old/API_docs_v44/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v44/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/invokeAfterMsg.md b/docs/old/API_docs_v44/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v44/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/invokeAfterMsgs.md b/docs/old/API_docs_v44/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v44/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/invokeWithLayer.md b/docs/old/API_docs_v44/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v44/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v44/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v44/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_acceptEncryption.md b/docs/old/API_docs_v44/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_addChatUser.md b/docs/old/API_docs_v44/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_checkChatInvite.md b/docs/old/API_docs_v44/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_createChat.md b/docs/old/API_docs_v44/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_deleteChatUser.md b/docs/old/API_docs_v44/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_deleteHistory.md b/docs/old/API_docs_v44/methods/messages_deleteHistory.md new file mode 100644 index 00000000..1522b679 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_deleteMessages.md b/docs/old/API_docs_v44/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_discardEncryption.md b/docs/old/API_docs_v44/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_editChatAdmin.md b/docs/old/API_docs_v44/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_editChatPhoto.md b/docs/old/API_docs_v44/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_editChatTitle.md b/docs/old/API_docs_v44/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_exportChatInvite.md b/docs/old/API_docs_v44/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_forwardMessage.md b/docs/old/API_docs_v44/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_forwardMessages.md b/docs/old/API_docs_v44/methods/messages_forwardMessages.md new file mode 100644 index 00000000..80b13412 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_forwardMessages.md @@ -0,0 +1,40 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getAllStickers.md b/docs/old/API_docs_v44/methods/messages_getAllStickers.md similarity index 100% rename from docs/API_docs_46/methods/messages_getAllStickers.md rename to docs/old/API_docs_v44/methods/messages_getAllStickers.md diff --git a/docs/old/API_docs_v44/methods/messages_getChats.md b/docs/old/API_docs_v44/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getDhConfig.md b/docs/old/API_docs_v44/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getDialogs.md b/docs/old/API_docs_v44/methods/messages_getDialogs.md similarity index 100% rename from docs/API_docs_55/methods/messages_getDialogs.md rename to docs/old/API_docs_v44/methods/messages_getDialogs.md diff --git a/docs/API_docs_46/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v44/methods/messages_getDocumentByHash.md similarity index 100% rename from docs/API_docs_46/methods/messages_getDocumentByHash.md rename to docs/old/API_docs_v44/methods/messages_getDocumentByHash.md diff --git a/docs/old/API_docs_v44/methods/messages_getFullChat.md b/docs/old/API_docs_v44/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getHistory.md b/docs/old/API_docs_v44/methods/messages_getHistory.md new file mode 100644 index 00000000..d3496140 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getHistory.md @@ -0,0 +1,42 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getMessages.md b/docs/old/API_docs_v44/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getMessagesViews.md b/docs/old/API_docs_v44/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getStickerSet.md b/docs/old/API_docs_v44/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getStickers.md b/docs/old/API_docs_v44/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v44/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_importChatInvite.md b/docs/old/API_docs_v44/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_installStickerSet.md b/docs/old/API_docs_v44/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_migrateChat.md b/docs/old/API_docs_v44/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v44/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_readHistory.md b/docs/old/API_docs_v44/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_readMessageContents.md b/docs/old/API_docs_v44/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_receivedMessages.md b/docs/old/API_docs_v44/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_receivedQueue.md b/docs/old/API_docs_v44/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v44/methods/messages_reorderStickerSets.md similarity index 100% rename from docs/API_docs_46/methods/messages_reorderStickerSets.md rename to docs/old/API_docs_v44/methods/messages_reorderStickerSets.md diff --git a/docs/old/API_docs_v44/methods/messages_reportSpam.md b/docs/old/API_docs_v44/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_requestEncryption.md b/docs/old/API_docs_v44/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_search.md b/docs/old/API_docs_v44/methods/messages_search.md new file mode 100644 index 00000000..82d49c55 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_search.md @@ -0,0 +1,45 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_searchGifs.md b/docs/old/API_docs_v44/methods/messages_searchGifs.md similarity index 100% rename from docs/API_docs_46/methods/messages_searchGifs.md rename to docs/old/API_docs_v44/methods/messages_searchGifs.md diff --git a/docs/old/API_docs_v44/methods/messages_searchGlobal.md b/docs/old/API_docs_v44/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendBroadcast.md b/docs/old/API_docs_v44/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendEncrypted.md b/docs/old/API_docs_v44/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v44/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v44/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendMedia.md b/docs/old/API_docs_v44/methods/messages_sendMedia.md new file mode 100644 index 00000000..17061d9e --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendMedia.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_sendMessage.md b/docs/old/API_docs_v44/methods/messages_sendMessage.md new file mode 100644 index 00000000..6635df3e --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_sendMessage.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v44/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_setTyping.md b/docs/old/API_docs_v44/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_startBot.md b/docs/old/API_docs_v44/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v44/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v44/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v44/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/photos_deletePhotos.md b/docs/old/API_docs_v44/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v44/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/photos_getUserPhotos.md b/docs/old/API_docs_v44/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v44/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v44/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v44/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v44/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v44/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/updates_getChannelDifference.md b/docs/old/API_docs_v44/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v44/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/updates_getDifference.md b/docs/old/API_docs_v44/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v44/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/updates_getState.md b/docs/old/API_docs_v44/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v44/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/upload_getFile.md b/docs/old/API_docs_v44/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v44/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v44/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v44/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/upload_saveFilePart.md b/docs/old/API_docs_v44/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v44/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/users_getFullUser.md b/docs/old/API_docs_v44/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v44/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/methods/users_getUsers.md b/docs/old/API_docs_v44/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v44/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/!X.md b/docs/old/API_docs_v44/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v44/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/AccountDaysTTL.md b/docs/old/API_docs_v44/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v44/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v44/types/Audio.md b/docs/old/API_docs_v44/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v44/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Authorization.md b/docs/old/API_docs_v44/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v44/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Bool.md b/docs/old/API_docs_v44/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v44/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/BotCommand.md b/docs/old/API_docs_v44/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v44/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/BotInfo.md b/docs/old/API_docs_v44/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v44/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChannelMessagesFilter.md b/docs/old/API_docs_v44/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v44/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChannelParticipant.md b/docs/old/API_docs_v44/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v44/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChannelParticipantRole.md b/docs/old/API_docs_v44/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v44/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v44/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v44/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Chat.md b/docs/old/API_docs_v44/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v44/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChatFull.md b/docs/old/API_docs_v44/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v44/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChatInvite.md b/docs/old/API_docs_v44/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v44/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v44/types/ChatParticipant.md b/docs/old/API_docs_v44/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v44/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChatParticipants.md b/docs/old/API_docs_v44/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v44/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ChatPhoto.md b/docs/old/API_docs_v44/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v44/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Config.md b/docs/old/API_docs_v44/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v44/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v44/types/Contact.md b/docs/old/API_docs_v44/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v44/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ContactBlocked.md b/docs/old/API_docs_v44/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v44/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ContactLink.md b/docs/old/API_docs_v44/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v44/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ContactStatus.md b/docs/old/API_docs_v44/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v44/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v44/types/ContactSuggested.md b/docs/old/API_docs_v44/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v44/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/DcOption.md b/docs/old/API_docs_v44/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v44/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Dialog.md b/docs/old/API_docs_v44/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v44/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/DisabledFeature.md b/docs/old/API_docs_v44/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v44/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Document.md b/docs/old/API_docs_v44/types/Document.md similarity index 100% rename from docs/API_docs_46/types/Document.md rename to docs/old/API_docs_v44/types/Document.md diff --git a/docs/old/API_docs_v44/types/DocumentAttribute.md b/docs/old/API_docs_v44/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v44/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/EncryptedChat.md b/docs/old/API_docs_v44/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v44/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v44/types/EncryptedFile.md b/docs/old/API_docs_v44/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v44/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/EncryptedMessage.md b/docs/old/API_docs_v44/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v44/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Error.md b/docs/old/API_docs_v44/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v44/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ExportedChatInvite.md b/docs/old/API_docs_v44/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v44/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v44/types/FileLocation.md b/docs/old/API_docs_v44/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v44/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/FoundGif.md b/docs/old/API_docs_v44/types/FoundGif.md new file mode 100644 index 00000000..247c0b41 --- /dev/null +++ b/docs/old/API_docs_v44/types/FoundGif.md @@ -0,0 +1,19 @@ +--- +title: FoundGif +description: constructors and methods of type FoundGif +--- +## Type: FoundGif +[Back to types index](index.md) + + + +### Possible values (constructors): + +[foundGif](../constructors/foundGif.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/GeoPoint.md b/docs/old/API_docs_v44/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v44/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ImportedContact.md b/docs/old/API_docs_v44/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v44/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputAppEvent.md b/docs/old/API_docs_v44/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputAudio.md b/docs/old/API_docs_v44/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v44/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputChannel.md b/docs/old/API_docs_v44/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v44/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputChatPhoto.md b/docs/old/API_docs_v44/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputContact.md b/docs/old/API_docs_v44/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputDocument.md b/docs/old/API_docs_v44/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputEncryptedChat.md b/docs/old/API_docs_v44/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputEncryptedFile.md b/docs/old/API_docs_v44/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputFile.md b/docs/old/API_docs_v44/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputFileLocation.md b/docs/old/API_docs_v44/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v44/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputGeoPoint.md b/docs/old/API_docs_v44/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputMedia.md b/docs/old/API_docs_v44/types/InputMedia.md similarity index 100% rename from docs/API_docs_46/types/InputMedia.md rename to docs/old/API_docs_v44/types/InputMedia.md diff --git a/docs/old/API_docs_v44/types/InputNotifyPeer.md b/docs/old/API_docs_v44/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v44/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPeer.md b/docs/old/API_docs_v44/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v44/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPeerNotifySettings.md b/docs/old/API_docs_v44/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPhoto.md b/docs/old/API_docs_v44/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPhotoCrop.md b/docs/old/API_docs_v44/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPrivacyKey.md b/docs/old/API_docs_v44/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputPrivacyRule.md b/docs/old/API_docs_v44/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v44/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputStickerSet.md b/docs/old/API_docs_v44/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v44/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputUser.md b/docs/old/API_docs_v44/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v44/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/InputVideo.md b/docs/old/API_docs_v44/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v44/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/KeyboardButton.md b/docs/old/API_docs_v44/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v44/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/KeyboardButtonRow.md b/docs/old/API_docs_v44/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v44/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Message.md b/docs/old/API_docs_v44/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v44/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/MessageAction.md b/docs/old/API_docs_v44/types/MessageAction.md new file mode 100644 index 00000000..7d9ab87f --- /dev/null +++ b/docs/old/API_docs_v44/types/MessageAction.md @@ -0,0 +1,39 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/MessageEntity.md b/docs/old/API_docs_v44/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v44/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/MessageGroup.md b/docs/old/API_docs_v44/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v44/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/MessageMedia.md b/docs/old/API_docs_v44/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v44/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v44/types/MessageRange.md b/docs/old/API_docs_v44/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v44/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/MessagesFilter.md b/docs/old/API_docs_v44/types/MessagesFilter.md new file mode 100644 index 00000000..9755f14f --- /dev/null +++ b/docs/old/API_docs_v44/types/MessagesFilter.md @@ -0,0 +1,35 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/NearestDc.md b/docs/old/API_docs_v44/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v44/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v44/types/NotifyPeer.md b/docs/old/API_docs_v44/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v44/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Null.md b/docs/old/API_docs_v44/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v44/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Peer.md b/docs/old/API_docs_v44/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v44/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/PeerNotifyEvents.md b/docs/old/API_docs_v44/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v44/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/PeerNotifySettings.md b/docs/old/API_docs_v44/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v44/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v44/types/Photo.md b/docs/old/API_docs_v44/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v44/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/PhotoSize.md b/docs/old/API_docs_v44/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v44/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/PrivacyKey.md b/docs/old/API_docs_v44/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v44/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/PrivacyRule.md b/docs/old/API_docs_v44/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v44/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v44/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v44/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v44/types/ReplyMarkup.md b/docs/old/API_docs_v44/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v44/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/ReportReason.md b/docs/old/API_docs_v44/types/ReportReason.md similarity index 100% rename from docs/API_docs_55/types/ReportReason.md rename to docs/old/API_docs_v44/types/ReportReason.md diff --git a/docs/old/API_docs_v44/types/SendMessageAction.md b/docs/old/API_docs_v44/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v44/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/StickerPack.md b/docs/old/API_docs_v44/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v44/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/StickerSet.md b/docs/old/API_docs_v44/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v44/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/True.md b/docs/old/API_docs_v44/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v44/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Update.md b/docs/old/API_docs_v44/types/Update.md new file mode 100644 index 00000000..a42650d6 --- /dev/null +++ b/docs/old/API_docs_v44/types/Update.md @@ -0,0 +1,97 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + +[updateNewStickerSet](../constructors/updateNewStickerSet.md) + +[updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) + +[updateStickerSets](../constructors/updateStickerSets.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Updates.md b/docs/old/API_docs_v44/types/Updates.md new file mode 100644 index 00000000..a1e828dc --- /dev/null +++ b/docs/old/API_docs_v44/types/Updates.md @@ -0,0 +1,79 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + + + diff --git a/docs/old/API_docs_v44/types/User.md b/docs/old/API_docs_v44/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v44/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v44/types/UserFull.md b/docs/old/API_docs_v44/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v44/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v44/types/UserProfilePhoto.md b/docs/old/API_docs_v44/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v44/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v44/types/UserStatus.md b/docs/old/API_docs_v44/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v44/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Vector t.md b/docs/old/API_docs_v44/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v44/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/Video.md b/docs/old/API_docs_v44/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v44/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/WallPaper.md b/docs/old/API_docs_v44/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v44/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v44/types/WebPage.md b/docs/old/API_docs_v44/types/WebPage.md new file mode 100644 index 00000000..f6d7c6f1 --- /dev/null +++ b/docs/old/API_docs_v44/types/WebPage.md @@ -0,0 +1,25 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + +[webPageExternal](../constructors/webPageExternal.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/X.md b/docs/old/API_docs_v44/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v44/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/account_Authorizations.md b/docs/old/API_docs_v44/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v44/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v44/types/account_Password.md b/docs/old/API_docs_v44/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v44/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v44/types/account_PasswordInputSettings.md b/docs/old/API_docs_v44/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v44/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/account_PasswordSettings.md b/docs/old/API_docs_v44/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v44/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v44/types/account_PrivacyRules.md b/docs/old/API_docs_v44/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v44/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v44/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v44/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v44/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v44/types/auth_Authorization.md b/docs/old/API_docs_v44/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v44/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v44/types/auth_CheckedPhone.md b/docs/old/API_docs_v44/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v44/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v44/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v44/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v44/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v44/types/auth_PasswordRecovery.md b/docs/old/API_docs_v44/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v44/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v44/types/auth_SentCode.md b/docs/old/API_docs_v44/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v44/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v44/types/bytes.md b/docs/old/API_docs_v44/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v44/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/channels_ChannelParticipant.md b/docs/old/API_docs_v44/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v44/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v44/types/channels_ChannelParticipants.md b/docs/old/API_docs_v44/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v44/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_Blocked.md b/docs/old/API_docs_v44/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_Contacts.md b/docs/old/API_docs_v44/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_Found.md b/docs/old/API_docs_v44/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_ImportedContacts.md b/docs/old/API_docs_v44/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_Link.md b/docs/old/API_docs_v44/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v44/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v44/types/contacts_Suggested.md b/docs/old/API_docs_v44/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v44/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v44/types/double.md b/docs/old/API_docs_v44/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v44/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/help_AppChangelog.md b/docs/old/API_docs_v44/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v44/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v44/types/help_AppUpdate.md b/docs/old/API_docs_v44/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v44/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v44/types/help_InviteText.md b/docs/old/API_docs_v44/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v44/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v44/types/help_Support.md b/docs/old/API_docs_v44/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v44/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/API_docs_46/types/help_TermsOfService.md b/docs/old/API_docs_v44/types/help_TermsOfService.md similarity index 100% rename from docs/API_docs_46/types/help_TermsOfService.md rename to docs/old/API_docs_v44/types/help_TermsOfService.md diff --git a/docs/old/API_docs_v44/types/index.md b/docs/old/API_docs_v44/types/index.md new file mode 100644 index 00000000..5b8ef9c6 --- /dev/null +++ b/docs/old/API_docs_v44/types/index.md @@ -0,0 +1,292 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[FoundGif](FoundGif.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[help\_TermsOfService](help_TermsOfService.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_FoundGifs](messages_FoundGifs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v44/types/int.md b/docs/old/API_docs_v44/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v44/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/int128.md b/docs/old/API_docs_v44/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v44/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/int256.md b/docs/old/API_docs_v44/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v44/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/int512.md b/docs/old/API_docs_v44/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v44/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/long.md b/docs/old/API_docs_v44/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v44/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/messages_AffectedHistory.md b/docs/old/API_docs_v44/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_AffectedMessages.md b/docs/old/API_docs_v44/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_AllStickers.md b/docs/old/API_docs_v44/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_ChatFull.md b/docs/old/API_docs_v44/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_Chats.md b/docs/old/API_docs_v44/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_DhConfig.md b/docs/old/API_docs_v44/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_Dialogs.md b/docs/old/API_docs_v44/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/API_docs_46/types/messages_FoundGifs.md b/docs/old/API_docs_v44/types/messages_FoundGifs.md similarity index 100% rename from docs/API_docs_46/types/messages_FoundGifs.md rename to docs/old/API_docs_v44/types/messages_FoundGifs.md diff --git a/docs/old/API_docs_v44/types/messages_Messages.md b/docs/old/API_docs_v44/types/messages_Messages.md new file mode 100644 index 00000000..89cedf06 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_Messages.md @@ -0,0 +1,35 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v44/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_StickerSet.md b/docs/old/API_docs_v44/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v44/types/messages_Stickers.md b/docs/old/API_docs_v44/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v44/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v44/types/photos_Photo.md b/docs/old/API_docs_v44/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v44/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v44/types/photos_Photos.md b/docs/old/API_docs_v44/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v44/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v44/types/storage_FileType.md b/docs/old/API_docs_v44/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v44/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v44/types/string.md b/docs/old/API_docs_v44/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v44/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v44/types/updates_ChannelDifference.md b/docs/old/API_docs_v44/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v44/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v44/types/updates_Difference.md b/docs/old/API_docs_v44/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v44/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v44/types/updates_State.md b/docs/old/API_docs_v44/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v44/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v44/types/upload_File.md b/docs/old/API_docs_v44/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v44/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v45/constructors/accountDaysTTL.md b/docs/old/API_docs_v45/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_authorizations.md b/docs/old/API_docs_v45/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_noPassword.md b/docs/old/API_docs_v45/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_password.md b/docs/old/API_docs_v45/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v45/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_passwordSettings.md b/docs/old/API_docs_v45/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_privacyRules.md b/docs/old/API_docs_v45/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v45/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/audio.md b/docs/old/API_docs_v45/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/audioEmpty.md b/docs/old/API_docs_v45/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_authorization.md b/docs/old/API_docs_v45/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_checkedPhone.md b/docs/old/API_docs_v45/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v45/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v45/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_sentAppCode.md b/docs/old/API_docs_v45/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/auth_sentCode.md b/docs/old/API_docs_v45/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/authorization.md b/docs/old/API_docs_v45/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/boolFalse.md b/docs/old/API_docs_v45/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/boolTrue.md b/docs/old/API_docs_v45/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/botCommand.md b/docs/old/API_docs_v45/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInfo.md b/docs/old/API_docs_v45/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInfoEmpty.md b/docs/old/API_docs_v45/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInlineMediaResultDocument.md b/docs/old/API_docs_v45/constructors/botInlineMediaResultDocument.md new file mode 100644 index 00000000..bbb4a954 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInlineMediaResultDocument.md @@ -0,0 +1,29 @@ +--- +title: botInlineMediaResultDocument +description: botInlineMediaResultDocument attributes, type and example +--- +## Constructor: botInlineMediaResultDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|document|[Document](../types/Document.md) | Required| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInlineMediaResultPhoto.md b/docs/old/API_docs_v45/constructors/botInlineMediaResultPhoto.md new file mode 100644 index 00000000..2043feed --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInlineMediaResultPhoto.md @@ -0,0 +1,29 @@ +--- +title: botInlineMediaResultPhoto +description: botInlineMediaResultPhoto attributes, type and example +--- +## Constructor: botInlineMediaResultPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInlineMessageMediaAuto.md b/docs/old/API_docs_v45/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..37f32fa0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,26 @@ +--- +title: botInlineMessageMediaAuto +description: botInlineMessageMediaAuto attributes, type and example +--- +## Constructor: botInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInlineMessageText.md b/docs/old/API_docs_v45/constructors/botInlineMessageText.md new file mode 100644 index 00000000..da464ea0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInlineMessageText.md @@ -0,0 +1,28 @@ +--- +title: botInlineMessageText +description: botInlineMessageText attributes, type and example +--- +## Constructor: botInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/botInlineResult.md b/docs/old/API_docs_v45/constructors/botInlineResult.md new file mode 100644 index 00000000..0ce5fe1e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/botInlineResult.md @@ -0,0 +1,37 @@ +--- +title: botInlineResult +description: botInlineResult attributes, type and example +--- +## Constructor: botInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channel.md b/docs/old/API_docs_v45/constructors/channel.md new file mode 100644 index 00000000..5fc73be5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channel.md @@ -0,0 +1,55 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/channelForbidden.md b/docs/old/API_docs_v45/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/channelFull.md b/docs/old/API_docs_v45/constructors/channelFull.md new file mode 100644 index 00000000..b825f709 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelFull.md @@ -0,0 +1,40 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelMessagesFilter.md b/docs/old/API_docs_v45/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..3f04523e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelMessagesFilter.md @@ -0,0 +1,28 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v45/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v45/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipant.md b/docs/old/API_docs_v45/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantCreator.md b/docs/old/API_docs_v45/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantEditor.md b/docs/old/API_docs_v45/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantKicked.md b/docs/old/API_docs_v45/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantModerator.md b/docs/old/API_docs_v45/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantSelf.md b/docs/old/API_docs_v45/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v45/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantsBots.md b/docs/old/API_docs_v45/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v45/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v45/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelRoleEditor.md b/docs/old/API_docs_v45/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelRoleEmpty.md b/docs/old/API_docs_v45/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channelRoleModerator.md b/docs/old/API_docs_v45/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channels_channelParticipant.md b/docs/old/API_docs_v45/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/channels_channelParticipants.md b/docs/old/API_docs_v45/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chat.md b/docs/old/API_docs_v45/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/chatEmpty.md b/docs/old/API_docs_v45/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/chatForbidden.md b/docs/old/API_docs_v45/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/chatFull.md b/docs/old/API_docs_v45/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatInvite.md b/docs/old/API_docs_v45/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatInviteAlready.md b/docs/old/API_docs_v45/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatInviteEmpty.md b/docs/old/API_docs_v45/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatInviteExported.md b/docs/old/API_docs_v45/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatParticipant.md b/docs/old/API_docs_v45/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v45/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatParticipantCreator.md b/docs/old/API_docs_v45/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatParticipants.md b/docs/old/API_docs_v45/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v45/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatPhoto.md b/docs/old/API_docs_v45/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v45/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/config.md b/docs/old/API_docs_v45/constructors/config.md new file mode 100644 index 00000000..216f0fc1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/config.md @@ -0,0 +1,44 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contact.md b/docs/old/API_docs_v45/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactBlocked.md b/docs/old/API_docs_v45/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactLinkContact.md b/docs/old/API_docs_v45/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v45/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactLinkNone.md b/docs/old/API_docs_v45/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactLinkUnknown.md b/docs/old/API_docs_v45/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactStatus.md b/docs/old/API_docs_v45/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contactSuggested.md b/docs/old/API_docs_v45/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_blocked.md b/docs/old/API_docs_v45/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v45/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_contacts.md b/docs/old/API_docs_v45/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v45/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_found.md b/docs/old/API_docs_v45/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_importedContacts.md b/docs/old/API_docs_v45/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_link.md b/docs/old/API_docs_v45/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v45/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/contacts_suggested.md b/docs/old/API_docs_v45/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/dcOption.md b/docs/old/API_docs_v45/constructors/dcOption.md new file mode 100644 index 00000000..ca50ee47 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/dcOption.md @@ -0,0 +1,30 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/dialog.md b/docs/old/API_docs_v45/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/dialogChannel.md b/docs/old/API_docs_v45/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/disabledFeature.md b/docs/old/API_docs_v45/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/document.md b/docs/old/API_docs_v45/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v45/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeAudio.md b/docs/old/API_docs_v45/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeFilename.md b/docs/old/API_docs_v45/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v45/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeSticker.md b/docs/old/API_docs_v45/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentAttributeVideo.md b/docs/old/API_docs_v45/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/documentEmpty.md b/docs/old/API_docs_v45/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedChat.md b/docs/old/API_docs_v45/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v45/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v45/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedChatRequested.md b/docs/old/API_docs_v45/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v45/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedFile.md b/docs/old/API_docs_v45/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v45/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedMessage.md b/docs/old/API_docs_v45/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/encryptedMessageService.md b/docs/old/API_docs_v45/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/error.md b/docs/old/API_docs_v45/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/fileLocation.md b/docs/old/API_docs_v45/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v45/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/foundGif.md b/docs/old/API_docs_v45/constructors/foundGif.md new file mode 100644 index 00000000..1db8cfd9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/foundGif.md @@ -0,0 +1,31 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/foundGifCached.md b/docs/old/API_docs_v45/constructors/foundGifCached.md new file mode 100644 index 00000000..93b3f4bd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/foundGifCached.md @@ -0,0 +1,28 @@ +--- +title: foundGifCached +description: foundGifCached attributes, type and example +--- +## Constructor: foundGifCached +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/geoPoint.md b/docs/old/API_docs_v45/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/geoPointEmpty.md b/docs/old/API_docs_v45/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_appChangelog.md b/docs/old/API_docs_v45/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v45/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_appUpdate.md b/docs/old/API_docs_v45/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_inviteText.md b/docs/old/API_docs_v45/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_noAppUpdate.md b/docs/old/API_docs_v45/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_support.md b/docs/old/API_docs_v45/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/help_termsOfService.md b/docs/old/API_docs_v45/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/importedContact.md b/docs/old/API_docs_v45/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/index.md b/docs/old/API_docs_v45/constructors/index.md new file mode 100644 index 00000000..a356fea5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/index.md @@ -0,0 +1,1139 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) = \['phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), \]; + +*** +

[$audio](../constructors/audio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), \]; + +*** +

[$audioEmpty](../constructors/audioEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentAppCode](../constructors/auth_sentAppCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'phone_code_hash' => [string](../types/string.md), 'send_call_timeout' => [int](../types/int.md), 'is_password' => [Bool](../types/Bool.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'share_text' => [string](../types/string.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInfoEmpty](../constructors/botInfoEmpty.md) = \[\]; + +*** +

[$botInlineMediaResultDocument](../constructors/botInlineMediaResultDocument.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'document' => [Document](../types/Document.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$botInlineMediaResultPhoto](../constructors/botInlineMediaResultPhoto.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), \]; + +*** +

[$botInlineMessageText](../constructors/botInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$botInlineResult](../constructors/botInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['important_only' => [Bool](../types/Bool.md), 'exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contactSuggested](../constructors/contactSuggested.md) = \['user_id' => [int](../types/int.md), 'mutual_contacts' => [int](../types/int.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_suggested](../constructors/contacts_suggested.md) = \['results' => \[[ContactSuggested](../types/ContactSuggested.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$foundGif](../constructors/foundGif.md) = \['url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputAudio](../constructors/inputAudio.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputAudioEmpty](../constructors/inputAudioEmpty.md) = \[\]; + +*** +

[$inputAudioFileLocation](../constructors/inputAudioFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), \]; + +*** +

[$inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$inputBotInlineResult](../constructors/inputBotInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaAudio](../constructors/inputMediaAudio.md) = \['id' => [InputAudio](../types/InputAudio.md), \]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaGifExternal](../constructors/inputMediaGifExternal.md) = \['url' => [string](../types/string.md), 'q' => [string](../types/string.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) = \['file' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMediaVideo](../constructors/inputMediaVideo.md) = \['id' => [InputVideo](../types/InputVideo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) = \[\]; + +*** +

[$inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputReportReasonOther](../constructors/inputReportReasonOther.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$inputReportReasonPornography](../constructors/inputReportReasonPornography.md) = \[\]; + +*** +

[$inputReportReasonSpam](../constructors/inputReportReasonSpam.md) = \[\]; + +*** +

[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$inputVideo](../constructors/inputVideo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputVideoEmpty](../constructors/inputVideoEmpty.md) = \[\]; + +*** +

[$inputVideoFileLocation](../constructors/inputVideoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$message](../constructors/message.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaAudio](../constructors/messageMediaAudio.md) = \['audio' => [Audio](../types/Audio.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaVideo](../constructors/messageMediaVideo.md) = \['video' => [Video](../types/Video.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; + +[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), 'show_previews' => [Bool](../types/Bool.md), 'events_mask' => [int](../types/int.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateBotInlineQuery](../constructors/updateBotInlineQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]; + +*** +

[$updateBotInlineSend](../constructors/updateBotInlineSend.md) = \['user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'id' => [string](../types/string.md), \]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewStickerSet](../constructors/updateNewStickerSet.md) = \['stickerset' => [messages\_StickerSet](../types/messages_StickerSet.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateSavedGifs](../constructors/updateSavedGifs.md) = \[\]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from_id' => [Peer](../types/Peer.md), 'fwd_date' => [int](../types/int.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateStickerSets](../constructors/updateStickerSets.md) = \[\]; + +*** +

[$updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) = \['order' => \[[long](../types/long.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['user' => [User](../types/User.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'blocked' => [Bool](../types/Bool.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$video](../constructors/video.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$videoEmpty](../constructors/videoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v45/constructors/inputAppEvent.md b/docs/old/API_docs_v45/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputAudio.md b/docs/old/API_docs_v45/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputAudioEmpty.md b/docs/old/API_docs_v45/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v45/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md b/docs/old/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..5b219635 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,26 @@ +--- +title: inputBotInlineMessageMediaAuto +description: inputBotInlineMessageMediaAuto attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputBotInlineMessageText.md b/docs/old/API_docs_v45/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..3e7c8178 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputBotInlineMessageText.md @@ -0,0 +1,28 @@ +--- +title: inputBotInlineMessageText +description: inputBotInlineMessageText attributes, type and example +--- +## Constructor: inputBotInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputBotInlineResult.md b/docs/old/API_docs_v45/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..a597fa4d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputBotInlineResult.md @@ -0,0 +1,37 @@ +--- +title: inputBotInlineResult +description: inputBotInlineResult attributes, type and example +--- +## Constructor: inputBotInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputChannel.md b/docs/old/API_docs_v45/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputChannelEmpty.md b/docs/old/API_docs_v45/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputChatPhoto.md b/docs/old/API_docs_v45/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v45/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v45/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputDocument.md b/docs/old/API_docs_v45/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v45/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v45/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedChat.md b/docs/old/API_docs_v45/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedFile.md b/docs/old/API_docs_v45/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v45/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v45/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v45/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputFile.md b/docs/old/API_docs_v45/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputFileBig.md b/docs/old/API_docs_v45/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputFileLocation.md b/docs/old/API_docs_v45/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputGeoPoint.md b/docs/old/API_docs_v45/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v45/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaAudio.md b/docs/old/API_docs_v45/constructors/inputMediaAudio.md new file mode 100644 index 00000000..bce82cc9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'id' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaContact.md b/docs/old/API_docs_v45/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaDocument.md b/docs/old/API_docs_v45/constructors/inputMediaDocument.md new file mode 100644 index 00000000..60ac6ff4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaEmpty.md b/docs/old/API_docs_v45/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v45/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v45/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaPhoto.md b/docs/old/API_docs_v45/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..c23fcaec --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..7f78172c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v45/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaVenue.md b/docs/old/API_docs_v45/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMediaVideo.md b/docs/old/API_docs_v45/constructors/inputMediaVideo.md new file mode 100644 index 00000000..628a1342 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'id' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v45/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputNotifyAll.md b/docs/old/API_docs_v45/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputNotifyChats.md b/docs/old/API_docs_v45/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputNotifyPeer.md b/docs/old/API_docs_v45/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputNotifyUsers.md b/docs/old/API_docs_v45/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPeerChannel.md b/docs/old/API_docs_v45/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputPeerChat.md b/docs/old/API_docs_v45/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputPeerEmpty.md b/docs/old/API_docs_v45/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v45/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPeerSelf.md b/docs/old/API_docs_v45/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputPeerUser.md b/docs/old/API_docs_v45/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputPhoneContact.md b/docs/old/API_docs_v45/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPhoto.md b/docs/old/API_docs_v45/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPhotoCrop.md b/docs/old/API_docs_v45/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v45/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v45/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputReportReasonOther.md b/docs/old/API_docs_v45/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v45/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v45/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v45/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v45/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputStickerSetID.md b/docs/old/API_docs_v45/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v45/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputUser.md b/docs/old/API_docs_v45/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputUserEmpty.md b/docs/old/API_docs_v45/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputUserSelf.md b/docs/old/API_docs_v45/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/inputVideo.md b/docs/old/API_docs_v45/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputVideoEmpty.md b/docs/old/API_docs_v45/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v45/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v45/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/keyboardButton.md b/docs/old/API_docs_v45/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/keyboardButtonRow.md b/docs/old/API_docs_v45/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/message.md b/docs/old/API_docs_v45/constructors/message.md new file mode 100644 index 00000000..dbca0ecc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/message.md @@ -0,0 +1,42 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v45/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v45/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v45/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatCreate.md b/docs/old/API_docs_v45/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v45/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v45/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v45/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v45/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v45/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v45/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageActionEmpty.md b/docs/old/API_docs_v45/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEmpty.md b/docs/old/API_docs_v45/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityBold.md b/docs/old/API_docs_v45/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v45/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityCode.md b/docs/old/API_docs_v45/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityEmail.md b/docs/old/API_docs_v45/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityHashtag.md b/docs/old/API_docs_v45/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityItalic.md b/docs/old/API_docs_v45/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityMention.md b/docs/old/API_docs_v45/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityPre.md b/docs/old/API_docs_v45/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v45/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityUnknown.md b/docs/old/API_docs_v45/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageEntityUrl.md b/docs/old/API_docs_v45/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageGroup.md b/docs/old/API_docs_v45/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaAudio.md b/docs/old/API_docs_v45/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaContact.md b/docs/old/API_docs_v45/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaDocument.md b/docs/old/API_docs_v45/constructors/messageMediaDocument.md new file mode 100644 index 00000000..a4f3ee23 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaEmpty.md b/docs/old/API_docs_v45/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaGeo.md b/docs/old/API_docs_v45/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaPhoto.md b/docs/old/API_docs_v45/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v45/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaVenue.md b/docs/old/API_docs_v45/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaVideo.md b/docs/old/API_docs_v45/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageMediaWebPage.md b/docs/old/API_docs_v45/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageRange.md b/docs/old/API_docs_v45/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messageService.md b/docs/old/API_docs_v45/constructors/messageService.md new file mode 100644 index 00000000..2fd34911 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messageService.md @@ -0,0 +1,34 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_affectedHistory.md b/docs/old/API_docs_v45/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_affectedMessages.md b/docs/old/API_docs_v45/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_allStickers.md b/docs/old/API_docs_v45/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v45/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_botResults.md b/docs/old/API_docs_v45/constructors/messages_botResults.md new file mode 100644 index 00000000..0d0c860a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_botResults.md @@ -0,0 +1,29 @@ +--- +title: messages_botResults +description: messages_botResults attributes, type and example +--- +## Constructor: messages\_botResults +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + + +### Type: [messages\_BotResults](../types/messages_BotResults.md) + + +### Example: + +``` +$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_channelMessages.md b/docs/old/API_docs_v45/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_chatFull.md b/docs/old/API_docs_v45/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_chats.md b/docs/old/API_docs_v45/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_dhConfig.md b/docs/old/API_docs_v45/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v45/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_dialogs.md b/docs/old/API_docs_v45/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v45/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_foundGifs.md b/docs/old/API_docs_v45/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_messages.md b/docs/old/API_docs_v45/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_messagesSlice.md b/docs/old/API_docs_v45/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_savedGifs.md b/docs/old/API_docs_v45/constructors/messages_savedGifs.md new file mode 100644 index 00000000..57b887ed --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_savedGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_savedGifs +description: messages_savedGifs attributes, type and example +--- +## Constructor: messages\_savedGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|gifs|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_savedGifsNotModified.md b/docs/old/API_docs_v45/constructors/messages_savedGifsNotModified.md new file mode 100644 index 00000000..4f2f604a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_savedGifsNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_savedGifsNotModified +description: messages_savedGifsNotModified attributes, type and example +--- +## Constructor: messages\_savedGifsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v45/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v45/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_stickerSet.md b/docs/old/API_docs_v45/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_stickers.md b/docs/old/API_docs_v45/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v45/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v45/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/nearestDc.md b/docs/old/API_docs_v45/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/notifyAll.md b/docs/old/API_docs_v45/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/notifyChats.md b/docs/old/API_docs_v45/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/notifyPeer.md b/docs/old/API_docs_v45/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/notifyUsers.md b/docs/old/API_docs_v45/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v45/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/null.md b/docs/old/API_docs_v45/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/peerChannel.md b/docs/old/API_docs_v45/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/peerChat.md b/docs/old/API_docs_v45/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v45/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v45/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/peerNotifySettings.md b/docs/old/API_docs_v45/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v45/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/peerUser.md b/docs/old/API_docs_v45/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/photo.md b/docs/old/API_docs_v45/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photoCachedSize.md b/docs/old/API_docs_v45/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photoEmpty.md b/docs/old/API_docs_v45/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photoSize.md b/docs/old/API_docs_v45/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photoSizeEmpty.md b/docs/old/API_docs_v45/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photos_photo.md b/docs/old/API_docs_v45/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photos_photos.md b/docs/old/API_docs_v45/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/photos_photosSlice.md b/docs/old/API_docs_v45/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v45/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v45/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v45/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v45/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v45/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v45/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v45/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v45/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v45/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/replyKeyboardHide.md b/docs/old/API_docs_v45/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v45/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v45/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v45/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v45/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v45/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v45/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v45/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v45/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v45/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v45/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v45/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/stickerPack.md b/docs/old/API_docs_v45/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/stickerSet.md b/docs/old/API_docs_v45/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileGif.md b/docs/old/API_docs_v45/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileJpeg.md b/docs/old/API_docs_v45/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileMov.md b/docs/old/API_docs_v45/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileMp3.md b/docs/old/API_docs_v45/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileMp4.md b/docs/old/API_docs_v45/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_filePartial.md b/docs/old/API_docs_v45/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_filePdf.md b/docs/old/API_docs_v45/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_filePng.md b/docs/old/API_docs_v45/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileUnknown.md b/docs/old/API_docs_v45/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/storage_fileWebp.md b/docs/old/API_docs_v45/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/true.md b/docs/old/API_docs_v45/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateBotInlineQuery.md b/docs/old/API_docs_v45/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..e0949699 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateBotInlineQuery.md @@ -0,0 +1,29 @@ +--- +title: updateBotInlineQuery +description: updateBotInlineQuery attributes, type and example +--- +## Constructor: updateBotInlineQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateBotInlineSend.md b/docs/old/API_docs_v45/constructors/updateBotInlineSend.md new file mode 100644 index 00000000..e21411cb --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateBotInlineSend.md @@ -0,0 +1,28 @@ +--- +title: updateBotInlineSend +description: updateBotInlineSend attributes, type and example +--- +## Constructor: updateBotInlineSend +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|id|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'id' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChannel.md b/docs/old/API_docs_v45/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChannelGroup.md b/docs/old/API_docs_v45/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v45/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChannelTooLong.md b/docs/old/API_docs_v45/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatAdmins.md b/docs/old/API_docs_v45/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v45/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v45/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v45/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatParticipants.md b/docs/old/API_docs_v45/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateChatUserTyping.md b/docs/old/API_docs_v45/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateContactLink.md b/docs/old/API_docs_v45/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateContactRegistered.md b/docs/old/API_docs_v45/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateDcOptions.md b/docs/old/API_docs_v45/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v45/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateDeleteMessages.md b/docs/old/API_docs_v45/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v45/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v45/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateEncryption.md b/docs/old/API_docs_v45/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateMessageID.md b/docs/old/API_docs_v45/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNewAuthorization.md b/docs/old/API_docs_v45/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v45/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v45/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNewMessage.md b/docs/old/API_docs_v45/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNewStickerSet.md b/docs/old/API_docs_v45/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateNotifySettings.md b/docs/old/API_docs_v45/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updatePrivacy.md b/docs/old/API_docs_v45/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v45/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v45/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v45/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v45/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateSavedGifs.md b/docs/old/API_docs_v45/constructors/updateSavedGifs.md new file mode 100644 index 00000000..dd610b16 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateSavedGifs.md @@ -0,0 +1,21 @@ +--- +title: updateSavedGifs +description: updateSavedGifs attributes, type and example +--- +## Constructor: updateSavedGifs +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateServiceNotification.md b/docs/old/API_docs_v45/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateShort.md b/docs/old/API_docs_v45/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateShortChatMessage.md b/docs/old/API_docs_v45/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..2c4885bd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateShortChatMessage.md @@ -0,0 +1,41 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateShortMessage.md b/docs/old/API_docs_v45/constructors/updateShortMessage.md new file mode 100644 index 00000000..0e4a8d91 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateShortMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateShortSentMessage.md b/docs/old/API_docs_v45/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateStickerSets.md b/docs/old/API_docs_v45/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v45/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserBlocked.md b/docs/old/API_docs_v45/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserName.md b/docs/old/API_docs_v45/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserPhone.md b/docs/old/API_docs_v45/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserPhoto.md b/docs/old/API_docs_v45/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserStatus.md b/docs/old/API_docs_v45/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateUserTyping.md b/docs/old/API_docs_v45/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updateWebPage.md b/docs/old/API_docs_v45/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates.md b/docs/old/API_docs_v45/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updatesCombined.md b/docs/old/API_docs_v45/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updatesTooLong.md b/docs/old/API_docs_v45/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_channelDifference.md b/docs/old/API_docs_v45/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v45/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v45/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..6737c525 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_difference.md b/docs/old/API_docs_v45/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v45/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_differenceSlice.md b/docs/old/API_docs_v45/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/updates_state.md b/docs/old/API_docs_v45/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v45/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/upload_file.md b/docs/old/API_docs_v45/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v45/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/user.md b/docs/old/API_docs_v45/constructors/user.md new file mode 100644 index 00000000..a8137be6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/user.md @@ -0,0 +1,58 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/userEmpty.md b/docs/old/API_docs_v45/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/constructors/userFull.md b/docs/old/API_docs_v45/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userProfilePhoto.md b/docs/old/API_docs_v45/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v45/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusEmpty.md b/docs/old/API_docs_v45/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusLastMonth.md b/docs/old/API_docs_v45/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusLastWeek.md b/docs/old/API_docs_v45/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusOffline.md b/docs/old/API_docs_v45/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusOnline.md b/docs/old/API_docs_v45/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/userStatusRecently.md b/docs/old/API_docs_v45/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/vector.md b/docs/old/API_docs_v45/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/video.md b/docs/old/API_docs_v45/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/videoEmpty.md b/docs/old/API_docs_v45/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v45/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/wallPaper.md b/docs/old/API_docs_v45/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v45/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/wallPaperSolid.md b/docs/old/API_docs_v45/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v45/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/webPage.md b/docs/old/API_docs_v45/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/webPageEmpty.md b/docs/old/API_docs_v45/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v45/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v45/constructors/webPagePending.md b/docs/old/API_docs_v45/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v45/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v45/index.md b/docs/old/API_docs_v45/index.md new file mode 100644 index 00000000..81168b63 --- /dev/null +++ b/docs/old/API_docs_v45/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v45) +description: MadelineProto API documentation (layer v45) +--- +# MadelineProto API documentation (layer v45) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v45/methods/account_changePhone.md b/docs/old/API_docs_v45/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_checkUsername.md b/docs/old/API_docs_v45/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_deleteAccount.md b/docs/old/API_docs_v45/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getAccountTTL.md b/docs/old/API_docs_v45/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getAuthorizations.md b/docs/old/API_docs_v45/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getNotifySettings.md b/docs/old/API_docs_v45/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getPassword.md b/docs/old/API_docs_v45/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getPasswordSettings.md b/docs/old/API_docs_v45/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getPrivacy.md b/docs/old/API_docs_v45/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_getWallPapers.md b/docs/old/API_docs_v45/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_registerDevice.md b/docs/old/API_docs_v45/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_reportPeer.md b/docs/old/API_docs_v45/methods/account_reportPeer.md new file mode 100644 index 00000000..ec2a3db1 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_reportPeer.md @@ -0,0 +1,38 @@ +--- +title: account_reportPeer +description: account_reportPeer parameters, return type and example +--- +## Method: account\_reportPeer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_resetAuthorization.md b/docs/old/API_docs_v45/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_resetNotifySettings.md b/docs/old/API_docs_v45/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v45/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_setAccountTTL.md b/docs/old/API_docs_v45/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_setPrivacy.md b/docs/old/API_docs_v45/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_unregisterDevice.md b/docs/old/API_docs_v45/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v45/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updateNotifySettings.md b/docs/old/API_docs_v45/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v45/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updateProfile.md b/docs/old/API_docs_v45/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updateStatus.md b/docs/old/API_docs_v45/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/account_updateUsername.md b/docs/old/API_docs_v45/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v45/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v45/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_checkPassword.md b/docs/old/API_docs_v45/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_checkPhone.md b/docs/old/API_docs_v45/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_exportAuthorization.md b/docs/old/API_docs_v45/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_importAuthorization.md b/docs/old/API_docs_v45/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v45/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_logOut.md b/docs/old/API_docs_v45/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_recoverPassword.md b/docs/old/API_docs_v45/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v45/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v45/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_sendCall.md b/docs/old/API_docs_v45/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_sendCode.md b/docs/old/API_docs_v45/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_sendInvites.md b/docs/old/API_docs_v45/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_sendSms.md b/docs/old/API_docs_v45/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_signIn.md b/docs/old/API_docs_v45/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/auth_signUp.md b/docs/old/API_docs_v45/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v45/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_checkUsername.md b/docs/old/API_docs_v45/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_createChannel.md b/docs/old/API_docs_v45/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_deleteChannel.md b/docs/old/API_docs_v45/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_deleteMessages.md b/docs/old/API_docs_v45/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v45/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_editAbout.md b/docs/old/API_docs_v45/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_editAdmin.md b/docs/old/API_docs_v45/methods/channels_editAdmin.md new file mode 100644 index 00000000..ec2492af --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_editPhoto.md b/docs/old/API_docs_v45/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_editTitle.md b/docs/old/API_docs_v45/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_exportInvite.md b/docs/old/API_docs_v45/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getChannels.md b/docs/old/API_docs_v45/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getDialogs.md b/docs/old/API_docs_v45/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getFullChannel.md b/docs/old/API_docs_v45/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getImportantHistory.md b/docs/old/API_docs_v45/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..2dc809ea --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getImportantHistory.md @@ -0,0 +1,42 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getMessages.md b/docs/old/API_docs_v45/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getParticipant.md b/docs/old/API_docs_v45/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_getParticipants.md b/docs/old/API_docs_v45/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_inviteToChannel.md b/docs/old/API_docs_v45/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_joinChannel.md b/docs/old/API_docs_v45/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_kickFromChannel.md b/docs/old/API_docs_v45/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_leaveChannel.md b/docs/old/API_docs_v45/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_readHistory.md b/docs/old/API_docs_v45/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_reportSpam.md b/docs/old/API_docs_v45/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_toggleComments.md b/docs/old/API_docs_v45/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/channels_updateUsername.md b/docs/old/API_docs_v45/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v45/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_block.md b/docs/old/API_docs_v45/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_deleteContact.md b/docs/old/API_docs_v45/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_deleteContacts.md b/docs/old/API_docs_v45/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_exportCard.md b/docs/old/API_docs_v45/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_getBlocked.md b/docs/old/API_docs_v45/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_getContacts.md b/docs/old/API_docs_v45/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_getStatuses.md b/docs/old/API_docs_v45/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_getSuggested.md b/docs/old/API_docs_v45/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_importCard.md b/docs/old/API_docs_v45/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_importContacts.md b/docs/old/API_docs_v45/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_resolveUsername.md b/docs/old/API_docs_v45/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_search.md b/docs/old/API_docs_v45/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/contacts_unblock.md b/docs/old/API_docs_v45/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v45/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getAppChangelog.md b/docs/old/API_docs_v45/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getAppUpdate.md b/docs/old/API_docs_v45/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getConfig.md b/docs/old/API_docs_v45/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getInviteText.md b/docs/old/API_docs_v45/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getNearestDc.md b/docs/old/API_docs_v45/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getSupport.md b/docs/old/API_docs_v45/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_getTermsOfService.md b/docs/old/API_docs_v45/methods/help_getTermsOfService.md new file mode 100644 index 00000000..e1b0034c --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_getTermsOfService.md @@ -0,0 +1,37 @@ +--- +title: help_getTermsOfService +description: help_getTermsOfService parameters, return type and example +--- +## Method: help\_getTermsOfService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/help_saveAppLog.md b/docs/old/API_docs_v45/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v45/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/index.md b/docs/old/API_docs_v45/methods/index.md similarity index 100% rename from docs/API_docs_46/methods/index.md rename to docs/old/API_docs_v45/methods/index.md diff --git a/docs/old/API_docs_v45/methods/initConnection.md b/docs/old/API_docs_v45/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v45/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/invokeAfterMsg.md b/docs/old/API_docs_v45/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v45/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/invokeAfterMsgs.md b/docs/old/API_docs_v45/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v45/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/invokeWithLayer.md b/docs/old/API_docs_v45/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v45/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v45/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v45/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_acceptEncryption.md b/docs/old/API_docs_v45/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_addChatUser.md b/docs/old/API_docs_v45/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_checkChatInvite.md b/docs/old/API_docs_v45/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_createChat.md b/docs/old/API_docs_v45/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_deleteChatUser.md b/docs/old/API_docs_v45/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_deleteHistory.md b/docs/old/API_docs_v45/methods/messages_deleteHistory.md new file mode 100644 index 00000000..1522b679 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_deleteMessages.md b/docs/old/API_docs_v45/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_discardEncryption.md b/docs/old/API_docs_v45/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_editChatAdmin.md b/docs/old/API_docs_v45/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_editChatPhoto.md b/docs/old/API_docs_v45/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_editChatTitle.md b/docs/old/API_docs_v45/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_exportChatInvite.md b/docs/old/API_docs_v45/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_forwardMessage.md b/docs/old/API_docs_v45/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_forwardMessages.md b/docs/old/API_docs_v45/methods/messages_forwardMessages.md new file mode 100644 index 00000000..80b13412 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_forwardMessages.md @@ -0,0 +1,40 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getAllStickers.md b/docs/old/API_docs_v45/methods/messages_getAllStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getAllStickers.md rename to docs/old/API_docs_v45/methods/messages_getAllStickers.md diff --git a/docs/old/API_docs_v45/methods/messages_getChats.md b/docs/old/API_docs_v45/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getDhConfig.md b/docs/old/API_docs_v45/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getDialogs.md b/docs/old/API_docs_v45/methods/messages_getDialogs.md new file mode 100644 index 00000000..85470cba --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getDialogs.md @@ -0,0 +1,40 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v45/methods/messages_getDocumentByHash.md similarity index 100% rename from docs/API_docs_55/methods/messages_getDocumentByHash.md rename to docs/old/API_docs_v45/methods/messages_getDocumentByHash.md diff --git a/docs/old/API_docs_v45/methods/messages_getFullChat.md b/docs/old/API_docs_v45/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getHistory.md b/docs/old/API_docs_v45/methods/messages_getHistory.md new file mode 100644 index 00000000..d3496140 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getHistory.md @@ -0,0 +1,42 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getInlineBotResults.md b/docs/old/API_docs_v45/methods/messages_getInlineBotResults.md similarity index 100% rename from docs/API_docs_46/methods/messages_getInlineBotResults.md rename to docs/old/API_docs_v45/methods/messages_getInlineBotResults.md diff --git a/docs/old/API_docs_v45/methods/messages_getMessages.md b/docs/old/API_docs_v45/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getMessagesViews.md b/docs/old/API_docs_v45/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_getSavedGifs.md b/docs/old/API_docs_v45/methods/messages_getSavedGifs.md similarity index 100% rename from docs/API_docs_46/methods/messages_getSavedGifs.md rename to docs/old/API_docs_v45/methods/messages_getSavedGifs.md diff --git a/docs/old/API_docs_v45/methods/messages_getStickerSet.md b/docs/old/API_docs_v45/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getStickers.md b/docs/old/API_docs_v45/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v45/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_importChatInvite.md b/docs/old/API_docs_v45/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_installStickerSet.md b/docs/old/API_docs_v45/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_migrateChat.md b/docs/old/API_docs_v45/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v45/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_readHistory.md b/docs/old/API_docs_v45/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_readMessageContents.md b/docs/old/API_docs_v45/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_receivedMessages.md b/docs/old/API_docs_v45/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_receivedQueue.md b/docs/old/API_docs_v45/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v45/methods/messages_reorderStickerSets.md similarity index 100% rename from docs/API_docs_55/methods/messages_reorderStickerSets.md rename to docs/old/API_docs_v45/methods/messages_reorderStickerSets.md diff --git a/docs/old/API_docs_v45/methods/messages_reportSpam.md b/docs/old/API_docs_v45/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_requestEncryption.md b/docs/old/API_docs_v45/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_saveGif.md b/docs/old/API_docs_v45/methods/messages_saveGif.md similarity index 100% rename from docs/API_docs_46/methods/messages_saveGif.md rename to docs/old/API_docs_v45/methods/messages_saveGif.md diff --git a/docs/old/API_docs_v45/methods/messages_search.md b/docs/old/API_docs_v45/methods/messages_search.md new file mode 100644 index 00000000..82d49c55 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_search.md @@ -0,0 +1,45 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_searchGifs.md b/docs/old/API_docs_v45/methods/messages_searchGifs.md similarity index 100% rename from docs/API_docs_55/methods/messages_searchGifs.md rename to docs/old/API_docs_v45/methods/messages_searchGifs.md diff --git a/docs/old/API_docs_v45/methods/messages_searchGlobal.md b/docs/old/API_docs_v45/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_sendBroadcast.md b/docs/old/API_docs_v45/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_sendEncrypted.md b/docs/old/API_docs_v45/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v45/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v45/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_sendInlineBotResult.md b/docs/old/API_docs_v45/methods/messages_sendInlineBotResult.md similarity index 100% rename from docs/API_docs_46/methods/messages_sendInlineBotResult.md rename to docs/old/API_docs_v45/methods/messages_sendInlineBotResult.md diff --git a/docs/old/API_docs_v45/methods/messages_sendMedia.md b/docs/old/API_docs_v45/methods/messages_sendMedia.md new file mode 100644 index 00000000..17061d9e --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendMedia.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_sendMessage.md b/docs/old/API_docs_v45/methods/messages_sendMessage.md new file mode 100644 index 00000000..6635df3e --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_sendMessage.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v45/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_46/methods/messages_setInlineBotResults.md b/docs/old/API_docs_v45/methods/messages_setInlineBotResults.md similarity index 100% rename from docs/API_docs_46/methods/messages_setInlineBotResults.md rename to docs/old/API_docs_v45/methods/messages_setInlineBotResults.md diff --git a/docs/old/API_docs_v45/methods/messages_setTyping.md b/docs/old/API_docs_v45/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_startBot.md b/docs/old/API_docs_v45/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v45/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v45/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v45/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/photos_deletePhotos.md b/docs/old/API_docs_v45/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v45/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/photos_getUserPhotos.md b/docs/old/API_docs_v45/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v45/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v45/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v45/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v45/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v45/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/updates_getChannelDifference.md b/docs/old/API_docs_v45/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v45/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/updates_getDifference.md b/docs/old/API_docs_v45/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v45/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/updates_getState.md b/docs/old/API_docs_v45/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v45/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/upload_getFile.md b/docs/old/API_docs_v45/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v45/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v45/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v45/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/upload_saveFilePart.md b/docs/old/API_docs_v45/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v45/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/users_getFullUser.md b/docs/old/API_docs_v45/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v45/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/methods/users_getUsers.md b/docs/old/API_docs_v45/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v45/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/!X.md b/docs/old/API_docs_v45/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v45/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/AccountDaysTTL.md b/docs/old/API_docs_v45/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v45/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v45/types/Audio.md b/docs/old/API_docs_v45/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v45/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Authorization.md b/docs/old/API_docs_v45/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v45/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Bool.md b/docs/old/API_docs_v45/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v45/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/BotCommand.md b/docs/old/API_docs_v45/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v45/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/BotInfo.md b/docs/old/API_docs_v45/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v45/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/BotInlineMessage.md b/docs/old/API_docs_v45/types/BotInlineMessage.md similarity index 100% rename from docs/API_docs_46/types/BotInlineMessage.md rename to docs/old/API_docs_v45/types/BotInlineMessage.md diff --git a/docs/API_docs_46/types/BotInlineResult.md b/docs/old/API_docs_v45/types/BotInlineResult.md similarity index 100% rename from docs/API_docs_46/types/BotInlineResult.md rename to docs/old/API_docs_v45/types/BotInlineResult.md diff --git a/docs/old/API_docs_v45/types/ChannelMessagesFilter.md b/docs/old/API_docs_v45/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v45/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChannelParticipant.md b/docs/old/API_docs_v45/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v45/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChannelParticipantRole.md b/docs/old/API_docs_v45/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v45/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v45/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v45/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Chat.md b/docs/old/API_docs_v45/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v45/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChatFull.md b/docs/old/API_docs_v45/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v45/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChatInvite.md b/docs/old/API_docs_v45/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v45/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v45/types/ChatParticipant.md b/docs/old/API_docs_v45/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v45/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChatParticipants.md b/docs/old/API_docs_v45/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v45/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ChatPhoto.md b/docs/old/API_docs_v45/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v45/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Config.md b/docs/old/API_docs_v45/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v45/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v45/types/Contact.md b/docs/old/API_docs_v45/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v45/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ContactBlocked.md b/docs/old/API_docs_v45/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v45/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ContactLink.md b/docs/old/API_docs_v45/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v45/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ContactStatus.md b/docs/old/API_docs_v45/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v45/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v45/types/ContactSuggested.md b/docs/old/API_docs_v45/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v45/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/DcOption.md b/docs/old/API_docs_v45/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v45/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Dialog.md b/docs/old/API_docs_v45/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v45/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/DisabledFeature.md b/docs/old/API_docs_v45/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v45/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Document.md b/docs/old/API_docs_v45/types/Document.md similarity index 100% rename from docs/API_docs_55/types/Document.md rename to docs/old/API_docs_v45/types/Document.md diff --git a/docs/old/API_docs_v45/types/DocumentAttribute.md b/docs/old/API_docs_v45/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v45/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/EncryptedChat.md b/docs/old/API_docs_v45/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v45/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v45/types/EncryptedFile.md b/docs/old/API_docs_v45/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v45/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/EncryptedMessage.md b/docs/old/API_docs_v45/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v45/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Error.md b/docs/old/API_docs_v45/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v45/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ExportedChatInvite.md b/docs/old/API_docs_v45/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v45/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v45/types/FileLocation.md b/docs/old/API_docs_v45/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v45/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/FoundGif.md b/docs/old/API_docs_v45/types/FoundGif.md similarity index 100% rename from docs/API_docs_46/types/FoundGif.md rename to docs/old/API_docs_v45/types/FoundGif.md diff --git a/docs/old/API_docs_v45/types/GeoPoint.md b/docs/old/API_docs_v45/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v45/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ImportedContact.md b/docs/old/API_docs_v45/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v45/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputAppEvent.md b/docs/old/API_docs_v45/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputAudio.md b/docs/old/API_docs_v45/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v45/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/InputBotInlineMessage.md b/docs/old/API_docs_v45/types/InputBotInlineMessage.md similarity index 100% rename from docs/API_docs_46/types/InputBotInlineMessage.md rename to docs/old/API_docs_v45/types/InputBotInlineMessage.md diff --git a/docs/API_docs_46/types/InputBotInlineResult.md b/docs/old/API_docs_v45/types/InputBotInlineResult.md similarity index 100% rename from docs/API_docs_46/types/InputBotInlineResult.md rename to docs/old/API_docs_v45/types/InputBotInlineResult.md diff --git a/docs/old/API_docs_v45/types/InputChannel.md b/docs/old/API_docs_v45/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v45/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputChatPhoto.md b/docs/old/API_docs_v45/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputContact.md b/docs/old/API_docs_v45/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputDocument.md b/docs/old/API_docs_v45/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputEncryptedChat.md b/docs/old/API_docs_v45/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputEncryptedFile.md b/docs/old/API_docs_v45/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputFile.md b/docs/old/API_docs_v45/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputFileLocation.md b/docs/old/API_docs_v45/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v45/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputGeoPoint.md b/docs/old/API_docs_v45/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputMedia.md b/docs/old/API_docs_v45/types/InputMedia.md new file mode 100644 index 00000000..7a5faa1c --- /dev/null +++ b/docs/old/API_docs_v45/types/InputMedia.md @@ -0,0 +1,47 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + +[inputMediaGifExternal](../constructors/inputMediaGifExternal.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputNotifyPeer.md b/docs/old/API_docs_v45/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v45/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPeer.md b/docs/old/API_docs_v45/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v45/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPeerNotifySettings.md b/docs/old/API_docs_v45/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPhoto.md b/docs/old/API_docs_v45/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPhotoCrop.md b/docs/old/API_docs_v45/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPrivacyKey.md b/docs/old/API_docs_v45/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputPrivacyRule.md b/docs/old/API_docs_v45/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v45/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputStickerSet.md b/docs/old/API_docs_v45/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v45/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputUser.md b/docs/old/API_docs_v45/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v45/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/InputVideo.md b/docs/old/API_docs_v45/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v45/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/KeyboardButton.md b/docs/old/API_docs_v45/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v45/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/KeyboardButtonRow.md b/docs/old/API_docs_v45/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v45/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Message.md b/docs/old/API_docs_v45/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v45/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/MessageAction.md b/docs/old/API_docs_v45/types/MessageAction.md new file mode 100644 index 00000000..7d9ab87f --- /dev/null +++ b/docs/old/API_docs_v45/types/MessageAction.md @@ -0,0 +1,39 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/MessageEntity.md b/docs/old/API_docs_v45/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v45/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/MessageGroup.md b/docs/old/API_docs_v45/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v45/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/MessageMedia.md b/docs/old/API_docs_v45/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v45/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v45/types/MessageRange.md b/docs/old/API_docs_v45/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v45/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/MessagesFilter.md b/docs/old/API_docs_v45/types/MessagesFilter.md new file mode 100644 index 00000000..bf4b7801 --- /dev/null +++ b/docs/old/API_docs_v45/types/MessagesFilter.md @@ -0,0 +1,37 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + +[inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/NearestDc.md b/docs/old/API_docs_v45/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v45/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v45/types/NotifyPeer.md b/docs/old/API_docs_v45/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v45/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Null.md b/docs/old/API_docs_v45/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v45/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Peer.md b/docs/old/API_docs_v45/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v45/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/PeerNotifyEvents.md b/docs/old/API_docs_v45/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v45/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/PeerNotifySettings.md b/docs/old/API_docs_v45/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v45/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v45/types/Photo.md b/docs/old/API_docs_v45/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v45/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/PhotoSize.md b/docs/old/API_docs_v45/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v45/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/PrivacyKey.md b/docs/old/API_docs_v45/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v45/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/PrivacyRule.md b/docs/old/API_docs_v45/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v45/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v45/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v45/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v45/types/ReplyMarkup.md b/docs/old/API_docs_v45/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v45/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/ReportReason.md b/docs/old/API_docs_v45/types/ReportReason.md new file mode 100644 index 00000000..d04f6e1d --- /dev/null +++ b/docs/old/API_docs_v45/types/ReportReason.md @@ -0,0 +1,25 @@ +--- +title: ReportReason +description: constructors and methods of type ReportReason +--- +## Type: ReportReason +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/SendMessageAction.md b/docs/old/API_docs_v45/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v45/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/StickerPack.md b/docs/old/API_docs_v45/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v45/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/StickerSet.md b/docs/old/API_docs_v45/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v45/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/True.md b/docs/old/API_docs_v45/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v45/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Update.md b/docs/old/API_docs_v45/types/Update.md new file mode 100644 index 00000000..56c3cd66 --- /dev/null +++ b/docs/old/API_docs_v45/types/Update.md @@ -0,0 +1,103 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + +[updateNewStickerSet](../constructors/updateNewStickerSet.md) + +[updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) + +[updateStickerSets](../constructors/updateStickerSets.md) + +[updateSavedGifs](../constructors/updateSavedGifs.md) + +[updateBotInlineQuery](../constructors/updateBotInlineQuery.md) + +[updateBotInlineSend](../constructors/updateBotInlineSend.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Updates.md b/docs/old/API_docs_v45/types/Updates.md new file mode 100644 index 00000000..89e51b25 --- /dev/null +++ b/docs/old/API_docs_v45/types/Updates.md @@ -0,0 +1,81 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + +[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) + + + diff --git a/docs/old/API_docs_v45/types/User.md b/docs/old/API_docs_v45/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v45/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v45/types/UserFull.md b/docs/old/API_docs_v45/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v45/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v45/types/UserProfilePhoto.md b/docs/old/API_docs_v45/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v45/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v45/types/UserStatus.md b/docs/old/API_docs_v45/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v45/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Vector t.md b/docs/old/API_docs_v45/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v45/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/Video.md b/docs/old/API_docs_v45/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v45/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/WallPaper.md b/docs/old/API_docs_v45/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v45/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v45/types/WebPage.md b/docs/old/API_docs_v45/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v45/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/X.md b/docs/old/API_docs_v45/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v45/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/account_Authorizations.md b/docs/old/API_docs_v45/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v45/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v45/types/account_Password.md b/docs/old/API_docs_v45/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v45/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v45/types/account_PasswordInputSettings.md b/docs/old/API_docs_v45/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v45/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/account_PasswordSettings.md b/docs/old/API_docs_v45/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v45/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v45/types/account_PrivacyRules.md b/docs/old/API_docs_v45/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v45/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v45/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v45/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v45/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v45/types/auth_Authorization.md b/docs/old/API_docs_v45/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v45/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v45/types/auth_CheckedPhone.md b/docs/old/API_docs_v45/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v45/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v45/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v45/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v45/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v45/types/auth_PasswordRecovery.md b/docs/old/API_docs_v45/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v45/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v45/types/auth_SentCode.md b/docs/old/API_docs_v45/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v45/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v45/types/bytes.md b/docs/old/API_docs_v45/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v45/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/channels_ChannelParticipant.md b/docs/old/API_docs_v45/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v45/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v45/types/channels_ChannelParticipants.md b/docs/old/API_docs_v45/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v45/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_Blocked.md b/docs/old/API_docs_v45/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_Contacts.md b/docs/old/API_docs_v45/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_Found.md b/docs/old/API_docs_v45/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_ImportedContacts.md b/docs/old/API_docs_v45/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_Link.md b/docs/old/API_docs_v45/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v45/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v45/types/contacts_Suggested.md b/docs/old/API_docs_v45/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v45/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v45/types/double.md b/docs/old/API_docs_v45/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v45/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/help_AppChangelog.md b/docs/old/API_docs_v45/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v45/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v45/types/help_AppUpdate.md b/docs/old/API_docs_v45/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v45/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v45/types/help_InviteText.md b/docs/old/API_docs_v45/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v45/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v45/types/help_Support.md b/docs/old/API_docs_v45/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v45/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/API_docs_55/types/help_TermsOfService.md b/docs/old/API_docs_v45/types/help_TermsOfService.md similarity index 100% rename from docs/API_docs_55/types/help_TermsOfService.md rename to docs/old/API_docs_v45/types/help_TermsOfService.md diff --git a/docs/old/API_docs_v45/types/index.md b/docs/old/API_docs_v45/types/index.md new file mode 100644 index 00000000..2317dbdb --- /dev/null +++ b/docs/old/API_docs_v45/types/index.md @@ -0,0 +1,304 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Audio](Audio.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[BotInlineMessage](BotInlineMessage.md) + +[BotInlineResult](BotInlineResult.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[ContactSuggested](ContactSuggested.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[FileLocation](FileLocation.md) + +[FoundGif](FoundGif.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InputAppEvent](InputAppEvent.md) + +[InputAudio](InputAudio.md) + +[InputBotInlineMessage](InputBotInlineMessage.md) + +[InputBotInlineResult](InputBotInlineResult.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[InputVideo](InputVideo.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[Video](Video.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[account\_SentChangePhoneCode](account_SentChangePhoneCode.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_Suggested](contacts_Suggested.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[help\_TermsOfService](help_TermsOfService.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_BotResults](messages_BotResults.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_FoundGifs](messages_FoundGifs.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SavedGifs](messages_SavedGifs.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v45/types/int.md b/docs/old/API_docs_v45/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v45/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/int128.md b/docs/old/API_docs_v45/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v45/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/int256.md b/docs/old/API_docs_v45/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v45/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/int512.md b/docs/old/API_docs_v45/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v45/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/long.md b/docs/old/API_docs_v45/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v45/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/messages_AffectedHistory.md b/docs/old/API_docs_v45/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_AffectedMessages.md b/docs/old/API_docs_v45/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_AllStickers.md b/docs/old/API_docs_v45/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_46/types/messages_BotResults.md b/docs/old/API_docs_v45/types/messages_BotResults.md similarity index 100% rename from docs/API_docs_46/types/messages_BotResults.md rename to docs/old/API_docs_v45/types/messages_BotResults.md diff --git a/docs/old/API_docs_v45/types/messages_ChatFull.md b/docs/old/API_docs_v45/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_Chats.md b/docs/old/API_docs_v45/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_DhConfig.md b/docs/old/API_docs_v45/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_Dialogs.md b/docs/old/API_docs_v45/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/API_docs_55/types/messages_FoundGifs.md b/docs/old/API_docs_v45/types/messages_FoundGifs.md similarity index 100% rename from docs/API_docs_55/types/messages_FoundGifs.md rename to docs/old/API_docs_v45/types/messages_FoundGifs.md diff --git a/docs/old/API_docs_v45/types/messages_Messages.md b/docs/old/API_docs_v45/types/messages_Messages.md new file mode 100644 index 00000000..89cedf06 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_Messages.md @@ -0,0 +1,35 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/API_docs_46/types/messages_SavedGifs.md b/docs/old/API_docs_v45/types/messages_SavedGifs.md similarity index 100% rename from docs/API_docs_46/types/messages_SavedGifs.md rename to docs/old/API_docs_v45/types/messages_SavedGifs.md diff --git a/docs/old/API_docs_v45/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v45/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_StickerSet.md b/docs/old/API_docs_v45/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v45/types/messages_Stickers.md b/docs/old/API_docs_v45/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v45/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v45/types/photos_Photo.md b/docs/old/API_docs_v45/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v45/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v45/types/photos_Photos.md b/docs/old/API_docs_v45/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v45/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v45/types/storage_FileType.md b/docs/old/API_docs_v45/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v45/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v45/types/string.md b/docs/old/API_docs_v45/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v45/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v45/types/updates_ChannelDifference.md b/docs/old/API_docs_v45/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v45/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v45/types/updates_Difference.md b/docs/old/API_docs_v45/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v45/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v45/types/updates_State.md b/docs/old/API_docs_v45/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v45/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v45/types/upload_File.md b/docs/old/API_docs_v45/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v45/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/API_docs_46/constructors/MTmessage.md b/docs/old/API_docs_v46/constructors/MTmessage.md similarity index 99% rename from docs/API_docs_46/constructors/MTmessage.md rename to docs/old/API_docs_v46/constructors/MTmessage.md index 7a319b7d..63246f75 100644 --- a/docs/API_docs_46/constructors/MTmessage.md +++ b/docs/old/API_docs_v46/constructors/MTmessage.md @@ -38,4 +38,5 @@ description: MTmessage attributes, type and example ``` $MTmessage = ['_' => 'MTmessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v46/constructors/accountDaysTTL.md b/docs/old/API_docs_v46/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_authorizations.md b/docs/old/API_docs_v46/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_noPassword.md b/docs/old/API_docs_v46/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_password.md b/docs/old/API_docs_v46/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v46/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_passwordSettings.md b/docs/old/API_docs_v46/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_privacyRules.md b/docs/old/API_docs_v46/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/account_sentChangePhoneCode.md b/docs/old/API_docs_v46/constructors/account_sentChangePhoneCode.md new file mode 100644 index 00000000..a65160c3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/account_sentChangePhoneCode.md @@ -0,0 +1,27 @@ +--- +title: account_sentChangePhoneCode +description: account_sentChangePhoneCode attributes, type and example +--- +## Constructor: account\_sentChangePhoneCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| + + + +### Type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + + +### Example: + +``` +$account_sentChangePhoneCode = ['_' => 'account_sentChangePhoneCode', 'phone_code_hash' => string, 'send_call_timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/audio.md b/docs/old/API_docs_v46/constructors/audio.md new file mode 100644 index 00000000..d6503f30 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/audio.md @@ -0,0 +1,32 @@ +--- +title: audio +description: audio attributes, type and example +--- +## Constructor: audio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/audioEmpty.md b/docs/old/API_docs_v46/constructors/audioEmpty.md new file mode 100644 index 00000000..75146390 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/audioEmpty.md @@ -0,0 +1,26 @@ +--- +title: audioEmpty +description: audioEmpty attributes, type and example +--- +## Constructor: audioEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Audio](../types/Audio.md) + + +### Example: + +``` +$audioEmpty = ['_' => 'audioEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_authorization.md b/docs/old/API_docs_v46/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_checkedPhone.md b/docs/old/API_docs_v46/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v46/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v46/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_sentAppCode.md b/docs/old/API_docs_v46/constructors/auth_sentAppCode.md new file mode 100644 index 00000000..4b23b06b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_sentAppCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentAppCode +description: auth_sentAppCode attributes, type and example +--- +## Constructor: auth\_sentAppCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentAppCode = ['_' => 'auth_sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/auth_sentCode.md b/docs/old/API_docs_v46/constructors/auth_sentCode.md new file mode 100644 index 00000000..34a9c422 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/auth_sentCode.md @@ -0,0 +1,29 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|send\_call\_timeout|[int](../types/int.md) | Required| +|is\_password|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => Bool, 'phone_code_hash' => string, 'send_call_timeout' => int, 'is_password' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/authorization.md b/docs/old/API_docs_v46/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/boolFalse.md b/docs/old/API_docs_v46/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/boolTrue.md b/docs/old/API_docs_v46/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/botCommand.md b/docs/old/API_docs_v46/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInfo.md b/docs/old/API_docs_v46/constructors/botInfo.md new file mode 100644 index 00000000..cc635305 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInfo.md @@ -0,0 +1,30 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|share\_text|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'version' => int, 'share_text' => string, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInfoEmpty.md b/docs/old/API_docs_v46/constructors/botInfoEmpty.md new file mode 100644 index 00000000..054468a1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInfoEmpty.md @@ -0,0 +1,21 @@ +--- +title: botInfoEmpty +description: botInfoEmpty attributes, type and example +--- +## Constructor: botInfoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfoEmpty = ['_' => 'botInfoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInlineMediaResultDocument.md b/docs/old/API_docs_v46/constructors/botInlineMediaResultDocument.md new file mode 100644 index 00000000..bbb4a954 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInlineMediaResultDocument.md @@ -0,0 +1,29 @@ +--- +title: botInlineMediaResultDocument +description: botInlineMediaResultDocument attributes, type and example +--- +## Constructor: botInlineMediaResultDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|document|[Document](../types/Document.md) | Required| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResultDocument = ['_' => 'botInlineMediaResultDocument', 'id' => string, 'type' => string, 'document' => Document, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInlineMediaResultPhoto.md b/docs/old/API_docs_v46/constructors/botInlineMediaResultPhoto.md new file mode 100644 index 00000000..2043feed --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInlineMediaResultPhoto.md @@ -0,0 +1,29 @@ +--- +title: botInlineMediaResultPhoto +description: botInlineMediaResultPhoto attributes, type and example +--- +## Constructor: botInlineMediaResultPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResultPhoto = ['_' => 'botInlineMediaResultPhoto', 'id' => string, 'type' => string, 'photo' => Photo, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInlineMessageMediaAuto.md b/docs/old/API_docs_v46/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..37f32fa0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,26 @@ +--- +title: botInlineMessageMediaAuto +description: botInlineMessageMediaAuto attributes, type and example +--- +## Constructor: botInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInlineMessageText.md b/docs/old/API_docs_v46/constructors/botInlineMessageText.md new file mode 100644 index 00000000..da464ea0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInlineMessageText.md @@ -0,0 +1,28 @@ +--- +title: botInlineMessageText +description: botInlineMessageText attributes, type and example +--- +## Constructor: botInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/botInlineResult.md b/docs/old/API_docs_v46/constructors/botInlineResult.md new file mode 100644 index 00000000..0ce5fe1e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/botInlineResult.md @@ -0,0 +1,37 @@ +--- +title: botInlineResult +description: botInlineResult attributes, type and example +--- +## Constructor: botInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channel.md b/docs/old/API_docs_v46/constructors/channel.md new file mode 100644 index 00000000..5fc73be5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channel.md @@ -0,0 +1,55 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/channelForbidden.md b/docs/old/API_docs_v46/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/channelFull.md b/docs/old/API_docs_v46/constructors/channelFull.md new file mode 100644 index 00000000..b825f709 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelFull.md @@ -0,0 +1,40 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelMessagesFilter.md b/docs/old/API_docs_v46/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..3f04523e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelMessagesFilter.md @@ -0,0 +1,28 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v46/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v46/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipant.md b/docs/old/API_docs_v46/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantCreator.md b/docs/old/API_docs_v46/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantEditor.md b/docs/old/API_docs_v46/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantKicked.md b/docs/old/API_docs_v46/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantModerator.md b/docs/old/API_docs_v46/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantSelf.md b/docs/old/API_docs_v46/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v46/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantsBots.md b/docs/old/API_docs_v46/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v46/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v46/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelRoleEditor.md b/docs/old/API_docs_v46/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelRoleEmpty.md b/docs/old/API_docs_v46/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channelRoleModerator.md b/docs/old/API_docs_v46/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channels_channelParticipant.md b/docs/old/API_docs_v46/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/channels_channelParticipants.md b/docs/old/API_docs_v46/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chat.md b/docs/old/API_docs_v46/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/chatEmpty.md b/docs/old/API_docs_v46/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/chatForbidden.md b/docs/old/API_docs_v46/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/chatFull.md b/docs/old/API_docs_v46/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatInvite.md b/docs/old/API_docs_v46/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatInviteAlready.md b/docs/old/API_docs_v46/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatInviteEmpty.md b/docs/old/API_docs_v46/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatInviteExported.md b/docs/old/API_docs_v46/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatParticipant.md b/docs/old/API_docs_v46/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v46/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatParticipantCreator.md b/docs/old/API_docs_v46/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatParticipants.md b/docs/old/API_docs_v46/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v46/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatPhoto.md b/docs/old/API_docs_v46/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v46/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/config.md b/docs/old/API_docs_v46/constructors/config.md new file mode 100644 index 00000000..216f0fc1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/config.md @@ -0,0 +1,44 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contact.md b/docs/old/API_docs_v46/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactBlocked.md b/docs/old/API_docs_v46/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactLinkContact.md b/docs/old/API_docs_v46/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v46/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactLinkNone.md b/docs/old/API_docs_v46/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactLinkUnknown.md b/docs/old/API_docs_v46/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactStatus.md b/docs/old/API_docs_v46/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contactSuggested.md b/docs/old/API_docs_v46/constructors/contactSuggested.md new file mode 100644 index 00000000..eb46e9a6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contactSuggested.md @@ -0,0 +1,27 @@ +--- +title: contactSuggested +description: contactSuggested attributes, type and example +--- +## Constructor: contactSuggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual\_contacts|[int](../types/int.md) | Required| + + + +### Type: [ContactSuggested](../types/ContactSuggested.md) + + +### Example: + +``` +$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_blocked.md b/docs/old/API_docs_v46/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v46/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_contacts.md b/docs/old/API_docs_v46/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v46/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_found.md b/docs/old/API_docs_v46/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_importedContacts.md b/docs/old/API_docs_v46/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_link.md b/docs/old/API_docs_v46/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v46/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/contacts_suggested.md b/docs/old/API_docs_v46/constructors/contacts_suggested.md new file mode 100644 index 00000000..818b95f2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/contacts_suggested.md @@ -0,0 +1,27 @@ +--- +title: contacts_suggested +description: contacts_suggested attributes, type and example +--- +## Constructor: contacts\_suggested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [ContactSuggested](../types/ContactSuggested.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Suggested](../types/contacts_Suggested.md) + + +### Example: + +``` +$contacts_suggested = ['_' => 'contacts_suggested', 'results' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/dcOption.md b/docs/old/API_docs_v46/constructors/dcOption.md new file mode 100644 index 00000000..ca50ee47 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/dcOption.md @@ -0,0 +1,30 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/dialog.md b/docs/old/API_docs_v46/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/dialogChannel.md b/docs/old/API_docs_v46/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/disabledFeature.md b/docs/old/API_docs_v46/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/document.md b/docs/old/API_docs_v46/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v46/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeAudio.md b/docs/old/API_docs_v46/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..242616d4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeAudio.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|performer|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => string, 'performer' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeFilename.md b/docs/old/API_docs_v46/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v46/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeSticker.md b/docs/old/API_docs_v46/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentAttributeVideo.md b/docs/old/API_docs_v46/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/documentEmpty.md b/docs/old/API_docs_v46/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedChat.md b/docs/old/API_docs_v46/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v46/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v46/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedChatRequested.md b/docs/old/API_docs_v46/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v46/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedFile.md b/docs/old/API_docs_v46/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v46/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedMessage.md b/docs/old/API_docs_v46/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/encryptedMessageService.md b/docs/old/API_docs_v46/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/error.md b/docs/old/API_docs_v46/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/fileLocation.md b/docs/old/API_docs_v46/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v46/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/foundGif.md b/docs/old/API_docs_v46/constructors/foundGif.md new file mode 100644 index 00000000..1db8cfd9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/foundGif.md @@ -0,0 +1,31 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/foundGifCached.md b/docs/old/API_docs_v46/constructors/foundGifCached.md new file mode 100644 index 00000000..93b3f4bd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/foundGifCached.md @@ -0,0 +1,28 @@ +--- +title: foundGifCached +description: foundGifCached attributes, type and example +--- +## Constructor: foundGifCached +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/geoPoint.md b/docs/old/API_docs_v46/constructors/geoPoint.md new file mode 100644 index 00000000..eea9a2e9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|longitude|[double](../types/double.md) | Required| +|latitude|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'longitude' => double, 'latitude' => double, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/geoPointEmpty.md b/docs/old/API_docs_v46/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_appChangelog.md b/docs/old/API_docs_v46/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v46/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_appUpdate.md b/docs/old/API_docs_v46/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_inviteText.md b/docs/old/API_docs_v46/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_noAppUpdate.md b/docs/old/API_docs_v46/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_support.md b/docs/old/API_docs_v46/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/help_termsOfService.md b/docs/old/API_docs_v46/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/importedContact.md b/docs/old/API_docs_v46/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/API_docs_46/constructors/index.md b/docs/old/API_docs_v46/constructors/index.md similarity index 100% rename from docs/API_docs_46/constructors/index.md rename to docs/old/API_docs_v46/constructors/index.md diff --git a/docs/old/API_docs_v46/constructors/inputAppEvent.md b/docs/old/API_docs_v46/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputAudio.md b/docs/old/API_docs_v46/constructors/inputAudio.md new file mode 100644 index 00000000..4de567f6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputAudio.md @@ -0,0 +1,27 @@ +--- +title: inputAudio +description: inputAudio attributes, type and example +--- +## Constructor: inputAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudio = ['_' => 'inputAudio', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputAudioEmpty.md b/docs/old/API_docs_v46/constructors/inputAudioEmpty.md new file mode 100644 index 00000000..a4254cf9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputAudioEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputAudioEmpty +description: inputAudioEmpty attributes, type and example +--- +## Constructor: inputAudioEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputAudio](../types/InputAudio.md) + + +### Example: + +``` +$inputAudioEmpty = ['_' => 'inputAudioEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputAudioFileLocation.md b/docs/old/API_docs_v46/constructors/inputAudioFileLocation.md new file mode 100644 index 00000000..df31e285 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputAudioFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputAudioFileLocation +description: inputAudioFileLocation attributes, type and example +--- +## Constructor: inputAudioFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputAudioFileLocation = ['_' => 'inputAudioFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md b/docs/old/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..5b219635 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,26 @@ +--- +title: inputBotInlineMessageMediaAuto +description: inputBotInlineMessageMediaAuto attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputBotInlineMessageText.md b/docs/old/API_docs_v46/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..3e7c8178 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputBotInlineMessageText.md @@ -0,0 +1,28 @@ +--- +title: inputBotInlineMessageText +description: inputBotInlineMessageText attributes, type and example +--- +## Constructor: inputBotInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputBotInlineResult.md b/docs/old/API_docs_v46/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..a597fa4d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputBotInlineResult.md @@ -0,0 +1,37 @@ +--- +title: inputBotInlineResult +description: inputBotInlineResult attributes, type and example +--- +## Constructor: inputBotInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputChannel.md b/docs/old/API_docs_v46/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputChannelEmpty.md b/docs/old/API_docs_v46/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputChatPhoto.md b/docs/old/API_docs_v46/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v46/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v46/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputDocument.md b/docs/old/API_docs_v46/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v46/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v46/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedChat.md b/docs/old/API_docs_v46/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedFile.md b/docs/old/API_docs_v46/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v46/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v46/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v46/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputFile.md b/docs/old/API_docs_v46/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputFileBig.md b/docs/old/API_docs_v46/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputFileLocation.md b/docs/old/API_docs_v46/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputGeoPoint.md b/docs/old/API_docs_v46/constructors/inputGeoPoint.md new file mode 100644 index 00000000..173069b1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|latitude|[double](../types/double.md) | Required| +|longitude|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'latitude' => double, 'longitude' => double, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v46/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaAudio.md b/docs/old/API_docs_v46/constructors/inputMediaAudio.md new file mode 100644 index 00000000..f4d562ad --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: inputMediaAudio +description: inputMediaAudio attributes, type and example +--- +## Constructor: inputMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[InputAudio](../types/InputAudio.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaAudio = ['_' => 'inputMediaAudio', 'audio' => InputAudio, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaContact.md b/docs/old/API_docs_v46/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaDocument.md b/docs/old/API_docs_v46/constructors/inputMediaDocument.md new file mode 100644 index 00000000..40431c3d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document\_id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'document_id' => InputDocument, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaEmpty.md b/docs/old/API_docs_v46/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v46/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v46/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaPhoto.md b/docs/old/API_docs_v46/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedAudio.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedAudio.md new file mode 100644 index 00000000..e96a6fe4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedAudio.md @@ -0,0 +1,28 @@ +--- +title: inputMediaUploadedAudio +description: inputMediaUploadedAudio attributes, type and example +--- +## Constructor: inputMediaUploadedAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedAudio = ['_' => 'inputMediaUploadedAudio', 'file' => InputFile, 'duration' => int, 'mime_type' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..c23fcaec --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..7f78172c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md new file mode 100644 index 00000000..e140a54e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedThumbVideo.md @@ -0,0 +1,32 @@ +--- +title: inputMediaUploadedThumbVideo +description: inputMediaUploadedThumbVideo attributes, type and example +--- +## Constructor: inputMediaUploadedThumbVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaUploadedVideo.md b/docs/old/API_docs_v46/constructors/inputMediaUploadedVideo.md new file mode 100644 index 00000000..d4f907a8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaUploadedVideo.md @@ -0,0 +1,31 @@ +--- +title: inputMediaUploadedVideo +description: inputMediaUploadedVideo attributes, type and example +--- +## Constructor: inputMediaUploadedVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaVenue.md b/docs/old/API_docs_v46/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMediaVideo.md b/docs/old/API_docs_v46/constructors/inputMediaVideo.md new file mode 100644 index 00000000..5ea9a580 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: inputMediaVideo +description: inputMediaVideo attributes, type and example +--- +## Constructor: inputMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[InputVideo](../types/InputVideo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterAudio.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterAudio.md new file mode 100644 index 00000000..0f3cb695 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterAudio.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudio +description: inputMessagesFilterAudio attributes, type and example +--- +## Constructor: inputMessagesFilterAudio +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudio = ['_' => 'inputMessagesFilterAudio', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md new file mode 100644 index 00000000..7848038d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterAudioDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterAudioDocuments +description: inputMessagesFilterAudioDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterAudioDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterAudioDocuments = ['_' => 'inputMessagesFilterAudioDocuments', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v46/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputNotifyAll.md b/docs/old/API_docs_v46/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputNotifyChats.md b/docs/old/API_docs_v46/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputNotifyPeer.md b/docs/old/API_docs_v46/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputNotifyUsers.md b/docs/old/API_docs_v46/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPeerChannel.md b/docs/old/API_docs_v46/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputPeerChat.md b/docs/old/API_docs_v46/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputPeerEmpty.md b/docs/old/API_docs_v46/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v46/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..ffeee25b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPeerSelf.md b/docs/old/API_docs_v46/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputPeerUser.md b/docs/old/API_docs_v46/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputPhoneContact.md b/docs/old/API_docs_v46/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPhoto.md b/docs/old/API_docs_v46/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPhotoCrop.md b/docs/old/API_docs_v46/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v46/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v46/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputReportReasonOther.md b/docs/old/API_docs_v46/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v46/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v46/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v46/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v46/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputStickerSetID.md b/docs/old/API_docs_v46/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v46/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputUser.md b/docs/old/API_docs_v46/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputUserEmpty.md b/docs/old/API_docs_v46/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputUserSelf.md b/docs/old/API_docs_v46/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/inputVideo.md b/docs/old/API_docs_v46/constructors/inputVideo.md new file mode 100644 index 00000000..1cff04f0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputVideo.md @@ -0,0 +1,27 @@ +--- +title: inputVideo +description: inputVideo attributes, type and example +--- +## Constructor: inputVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideo = ['_' => 'inputVideo', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputVideoEmpty.md b/docs/old/API_docs_v46/constructors/inputVideoEmpty.md new file mode 100644 index 00000000..e85216b6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputVideoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputVideoEmpty +description: inputVideoEmpty attributes, type and example +--- +## Constructor: inputVideoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputVideo](../types/InputVideo.md) + + +### Example: + +``` +$inputVideoEmpty = ['_' => 'inputVideoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/inputVideoFileLocation.md b/docs/old/API_docs_v46/constructors/inputVideoFileLocation.md new file mode 100644 index 00000000..c2b24eea --- /dev/null +++ b/docs/old/API_docs_v46/constructors/inputVideoFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputVideoFileLocation +description: inputVideoFileLocation attributes, type and example +--- +## Constructor: inputVideoFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputVideoFileLocation = ['_' => 'inputVideoFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/keyboardButton.md b/docs/old/API_docs_v46/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/keyboardButtonRow.md b/docs/old/API_docs_v46/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v46/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v46/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v46/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatCreate.md b/docs/old/API_docs_v46/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v46/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v46/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v46/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v46/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v46/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v46/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageActionEmpty.md b/docs/old/API_docs_v46/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEmpty.md b/docs/old/API_docs_v46/constructors/messageEmpty.md new file mode 100644 index 00000000..42850467 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [MTMessage](../types/MTMessage.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityBold.md b/docs/old/API_docs_v46/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v46/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityCode.md b/docs/old/API_docs_v46/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityEmail.md b/docs/old/API_docs_v46/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityHashtag.md b/docs/old/API_docs_v46/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityItalic.md b/docs/old/API_docs_v46/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityMention.md b/docs/old/API_docs_v46/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityPre.md b/docs/old/API_docs_v46/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v46/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityUnknown.md b/docs/old/API_docs_v46/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageEntityUrl.md b/docs/old/API_docs_v46/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageGroup.md b/docs/old/API_docs_v46/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaAudio.md b/docs/old/API_docs_v46/constructors/messageMediaAudio.md new file mode 100644 index 00000000..5a21562a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaAudio.md @@ -0,0 +1,26 @@ +--- +title: messageMediaAudio +description: messageMediaAudio attributes, type and example +--- +## Constructor: messageMediaAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|audio|[Audio](../types/Audio.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaAudio = ['_' => 'messageMediaAudio', 'audio' => Audio, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaContact.md b/docs/old/API_docs_v46/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaDocument.md b/docs/old/API_docs_v46/constructors/messageMediaDocument.md new file mode 100644 index 00000000..a4f3ee23 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaEmpty.md b/docs/old/API_docs_v46/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaGeo.md b/docs/old/API_docs_v46/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaPhoto.md b/docs/old/API_docs_v46/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v46/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaVenue.md b/docs/old/API_docs_v46/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaVideo.md b/docs/old/API_docs_v46/constructors/messageMediaVideo.md new file mode 100644 index 00000000..42053c9a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaVideo.md @@ -0,0 +1,27 @@ +--- +title: messageMediaVideo +description: messageMediaVideo attributes, type and example +--- +## Constructor: messageMediaVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|video|[Video](../types/Video.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVideo = ['_' => 'messageMediaVideo', 'video' => Video, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageMediaWebPage.md b/docs/old/API_docs_v46/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageRange.md b/docs/old/API_docs_v46/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messageService.md b/docs/old/API_docs_v46/constructors/messageService.md new file mode 100644 index 00000000..f0694f80 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messageService.md @@ -0,0 +1,34 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [MTMessage](../types/MTMessage.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_affectedHistory.md b/docs/old/API_docs_v46/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_affectedMessages.md b/docs/old/API_docs_v46/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_allStickers.md b/docs/old/API_docs_v46/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v46/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_botResults.md b/docs/old/API_docs_v46/constructors/messages_botResults.md new file mode 100644 index 00000000..0d0c860a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_botResults.md @@ -0,0 +1,29 @@ +--- +title: messages_botResults +description: messages_botResults attributes, type and example +--- +## Constructor: messages\_botResults +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + + +### Type: [messages\_BotResults](../types/messages_BotResults.md) + + +### Example: + +``` +$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_channelMessages.md b/docs/old/API_docs_v46/constructors/messages_channelMessages.md new file mode 100644 index 00000000..e285006b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_chatFull.md b/docs/old/API_docs_v46/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_chats.md b/docs/old/API_docs_v46/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_dhConfig.md b/docs/old/API_docs_v46/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v46/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_dialogs.md b/docs/old/API_docs_v46/constructors/messages_dialogs.md new file mode 100644 index 00000000..ad37c3c5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v46/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..c1cf4b6e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_foundGifs.md b/docs/old/API_docs_v46/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_messages.md b/docs/old/API_docs_v46/constructors/messages_messages.md new file mode 100644 index 00000000..5c79d124 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_messagesSlice.md b/docs/old/API_docs_v46/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..bf8d968c --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_savedGifs.md b/docs/old/API_docs_v46/constructors/messages_savedGifs.md new file mode 100644 index 00000000..57b887ed --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_savedGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_savedGifs +description: messages_savedGifs attributes, type and example +--- +## Constructor: messages\_savedGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|gifs|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_savedGifsNotModified.md b/docs/old/API_docs_v46/constructors/messages_savedGifsNotModified.md new file mode 100644 index 00000000..4f2f604a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_savedGifsNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_savedGifsNotModified +description: messages_savedGifsNotModified attributes, type and example +--- +## Constructor: messages\_savedGifsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v46/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v46/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_stickerSet.md b/docs/old/API_docs_v46/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_stickers.md b/docs/old/API_docs_v46/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v46/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v46/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/nearestDc.md b/docs/old/API_docs_v46/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/notifyAll.md b/docs/old/API_docs_v46/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/notifyChats.md b/docs/old/API_docs_v46/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/notifyPeer.md b/docs/old/API_docs_v46/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/notifyUsers.md b/docs/old/API_docs_v46/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v46/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/null.md b/docs/old/API_docs_v46/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/peerChannel.md b/docs/old/API_docs_v46/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/peerChat.md b/docs/old/API_docs_v46/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v46/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v46/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/peerNotifySettings.md b/docs/old/API_docs_v46/constructors/peerNotifySettings.md new file mode 100644 index 00000000..eacc488e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| +|show\_previews|[Bool](../types/Bool.md) | Required| +|events\_mask|[int](../types/int.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'mute_until' => int, 'sound' => string, 'show_previews' => Bool, 'events_mask' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v46/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/peerUser.md b/docs/old/API_docs_v46/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/photo.md b/docs/old/API_docs_v46/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photoCachedSize.md b/docs/old/API_docs_v46/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photoEmpty.md b/docs/old/API_docs_v46/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photoSize.md b/docs/old/API_docs_v46/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photoSizeEmpty.md b/docs/old/API_docs_v46/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photos_photo.md b/docs/old/API_docs_v46/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photos_photos.md b/docs/old/API_docs_v46/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/photos_photosSlice.md b/docs/old/API_docs_v46/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v46/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v46/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v46/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v46/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v46/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v46/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v46/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v46/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v46/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/replyKeyboardHide.md b/docs/old/API_docs_v46/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v46/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v46/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v46/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v46/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v46/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v46/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v46/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v46/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v46/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v46/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v46/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/stickerPack.md b/docs/old/API_docs_v46/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/stickerSet.md b/docs/old/API_docs_v46/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileGif.md b/docs/old/API_docs_v46/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileJpeg.md b/docs/old/API_docs_v46/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileMov.md b/docs/old/API_docs_v46/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileMp3.md b/docs/old/API_docs_v46/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileMp4.md b/docs/old/API_docs_v46/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_filePartial.md b/docs/old/API_docs_v46/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_filePdf.md b/docs/old/API_docs_v46/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_filePng.md b/docs/old/API_docs_v46/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileUnknown.md b/docs/old/API_docs_v46/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/storage_fileWebp.md b/docs/old/API_docs_v46/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/true.md b/docs/old/API_docs_v46/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateBotInlineQuery.md b/docs/old/API_docs_v46/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..e0949699 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateBotInlineQuery.md @@ -0,0 +1,29 @@ +--- +title: updateBotInlineQuery +description: updateBotInlineQuery attributes, type and example +--- +## Constructor: updateBotInlineQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'offset' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChannel.md b/docs/old/API_docs_v46/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChannelGroup.md b/docs/old/API_docs_v46/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v46/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChannelTooLong.md b/docs/old/API_docs_v46/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..26fdbc09 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChannelTooLong.md @@ -0,0 +1,26 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatAdmins.md b/docs/old/API_docs_v46/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v46/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v46/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v46/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatParticipants.md b/docs/old/API_docs_v46/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateChatUserTyping.md b/docs/old/API_docs_v46/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateContactLink.md b/docs/old/API_docs_v46/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateContactRegistered.md b/docs/old/API_docs_v46/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateDcOptions.md b/docs/old/API_docs_v46/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v46/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..6f949051 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|channel\_pts|[int](../types/int.md) | Required| +|channel\_pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'channel_pts' => int, 'channel_pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateDeleteMessages.md b/docs/old/API_docs_v46/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v46/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v46/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateEncryption.md b/docs/old/API_docs_v46/constructors/updateEncryption.md new file mode 100644 index 00000000..f1fada15 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|encr\_chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'encr_chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateMessageID.md b/docs/old/API_docs_v46/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNewAuthorization.md b/docs/old/API_docs_v46/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v46/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..e0e46cf3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[MTMessage](../types/MTMessage.md) | Required| +|channel\_pts|[int](../types/int.md) | Required| +|channel\_pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => MTMessage, 'channel_pts' => int, 'channel_pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v46/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..f412dbc9 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|encr\_message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'encr_message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNewMessage.md b/docs/old/API_docs_v46/constructors/updateNewMessage.md new file mode 100644 index 00000000..65c6be5a --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[MTMessage](../types/MTMessage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => MTMessage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNewStickerSet.md b/docs/old/API_docs_v46/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateNotifySettings.md b/docs/old/API_docs_v46/constructors/updateNotifySettings.md new file mode 100644 index 00000000..49fa2600 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|notify\_peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'notify_peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updatePrivacy.md b/docs/old/API_docs_v46/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v46/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v46/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v46/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v46/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateSavedGifs.md b/docs/old/API_docs_v46/constructors/updateSavedGifs.md new file mode 100644 index 00000000..dd610b16 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateSavedGifs.md @@ -0,0 +1,21 @@ +--- +title: updateSavedGifs +description: updateSavedGifs attributes, type and example +--- +## Constructor: updateSavedGifs +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateServiceNotification.md b/docs/old/API_docs_v46/constructors/updateServiceNotification.md new file mode 100644 index 00000000..b4d78deb --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message\_text|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message_text' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateShort.md b/docs/old/API_docs_v46/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateShortChatMessage.md b/docs/old/API_docs_v46/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..2c4885bd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateShortChatMessage.md @@ -0,0 +1,41 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateShortMessage.md b/docs/old/API_docs_v46/constructors/updateShortMessage.md new file mode 100644 index 00000000..0e4a8d91 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateShortMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from\_id|[Peer](../types/Peer.md) | Optional| +|fwd\_date|[int](../types/int.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateShortSentMessage.md b/docs/old/API_docs_v46/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateStickerSets.md b/docs/old/API_docs_v46/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v46/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserBlocked.md b/docs/old/API_docs_v46/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserName.md b/docs/old/API_docs_v46/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserPhone.md b/docs/old/API_docs_v46/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserPhoto.md b/docs/old/API_docs_v46/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserStatus.md b/docs/old/API_docs_v46/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateUserTyping.md b/docs/old/API_docs_v46/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updateWebPage.md b/docs/old/API_docs_v46/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates.md b/docs/old/API_docs_v46/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updatesCombined.md b/docs/old/API_docs_v46/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updatesTooLong.md b/docs/old/API_docs_v46/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_channelDifference.md b/docs/old/API_docs_v46/constructors/updates_channelDifference.md new file mode 100644 index 00000000..e975d793 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|channel\_pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v46/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..7cf43619 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|channel\_pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'channel_pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v46/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..e985addf --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|channel\_pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_difference.md b/docs/old/API_docs_v46/constructors/updates_difference.md new file mode 100644 index 00000000..6e8a3834 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v46/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_differenceSlice.md b/docs/old/API_docs_v46/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..1c1bd51e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [MTMessage](../types/MTMessage.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/updates_state.md b/docs/old/API_docs_v46/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v46/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/upload_file.md b/docs/old/API_docs_v46/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v46/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/user.md b/docs/old/API_docs_v46/constructors/user.md new file mode 100644 index 00000000..a8137be6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/user.md @@ -0,0 +1,58 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/userEmpty.md b/docs/old/API_docs_v46/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/constructors/userFull.md b/docs/old/API_docs_v46/constructors/userFull.md new file mode 100644 index 00000000..9e163b4d --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userFull.md @@ -0,0 +1,31 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userProfilePhoto.md b/docs/old/API_docs_v46/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v46/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusEmpty.md b/docs/old/API_docs_v46/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusLastMonth.md b/docs/old/API_docs_v46/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusLastWeek.md b/docs/old/API_docs_v46/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusOffline.md b/docs/old/API_docs_v46/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusOnline.md b/docs/old/API_docs_v46/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/userStatusRecently.md b/docs/old/API_docs_v46/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/video.md b/docs/old/API_docs_v46/constructors/video.md new file mode 100644 index 00000000..3b032e97 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/video.md @@ -0,0 +1,35 @@ +--- +title: video +description: video attributes, type and example +--- +## Constructor: video +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|duration|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$video = ['_' => 'video', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/videoEmpty.md b/docs/old/API_docs_v46/constructors/videoEmpty.md new file mode 100644 index 00000000..41ba16fc --- /dev/null +++ b/docs/old/API_docs_v46/constructors/videoEmpty.md @@ -0,0 +1,26 @@ +--- +title: videoEmpty +description: videoEmpty attributes, type and example +--- +## Constructor: videoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Video](../types/Video.md) + + +### Example: + +``` +$videoEmpty = ['_' => 'videoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/wallPaper.md b/docs/old/API_docs_v46/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v46/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/wallPaperSolid.md b/docs/old/API_docs_v46/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v46/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/webPage.md b/docs/old/API_docs_v46/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/webPageEmpty.md b/docs/old/API_docs_v46/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v46/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v46/constructors/webPagePending.md b/docs/old/API_docs_v46/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v46/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v46/index.md b/docs/old/API_docs_v46/index.md new file mode 100644 index 00000000..aac1d09b --- /dev/null +++ b/docs/old/API_docs_v46/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v46) +description: MadelineProto API documentation (layer v46) +--- +# MadelineProto API documentation (layer v46) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v46/methods/account_changePhone.md b/docs/old/API_docs_v46/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_checkUsername.md b/docs/old/API_docs_v46/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_deleteAccount.md b/docs/old/API_docs_v46/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getAccountTTL.md b/docs/old/API_docs_v46/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getAuthorizations.md b/docs/old/API_docs_v46/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getNotifySettings.md b/docs/old/API_docs_v46/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getPassword.md b/docs/old/API_docs_v46/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getPasswordSettings.md b/docs/old/API_docs_v46/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getPrivacy.md b/docs/old/API_docs_v46/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_getWallPapers.md b/docs/old/API_docs_v46/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_registerDevice.md b/docs/old/API_docs_v46/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_reportPeer.md b/docs/old/API_docs_v46/methods/account_reportPeer.md new file mode 100644 index 00000000..ec2a3db1 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_reportPeer.md @@ -0,0 +1,38 @@ +--- +title: account_reportPeer +description: account_reportPeer parameters, return type and example +--- +## Method: account\_reportPeer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_resetAuthorization.md b/docs/old/API_docs_v46/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_resetNotifySettings.md b/docs/old/API_docs_v46/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v46/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..9b47965d --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_sendChangePhoneCode.md @@ -0,0 +1,37 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_SentChangePhoneCode = $MadelineProto->account->sendChangePhoneCode(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_setAccountTTL.md b/docs/old/API_docs_v46/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_setPrivacy.md b/docs/old/API_docs_v46/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_unregisterDevice.md b/docs/old/API_docs_v46/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v46/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updateNotifySettings.md b/docs/old/API_docs_v46/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v46/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updateProfile.md b/docs/old/API_docs_v46/methods/account_updateProfile.md new file mode 100644 index 00000000..5f0db258 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updateProfile.md @@ -0,0 +1,38 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updateStatus.md b/docs/old/API_docs_v46/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/account_updateUsername.md b/docs/old/API_docs_v46/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v46/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v46/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_checkPassword.md b/docs/old/API_docs_v46/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_checkPhone.md b/docs/old/API_docs_v46/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_exportAuthorization.md b/docs/old/API_docs_v46/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_importAuthorization.md b/docs/old/API_docs_v46/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v46/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_logOut.md b/docs/old/API_docs_v46/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_recoverPassword.md b/docs/old/API_docs_v46/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v46/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v46/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_sendCall.md b/docs/old/API_docs_v46/methods/auth_sendCall.md new file mode 100644 index 00000000..8a410af2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_sendCall.md @@ -0,0 +1,38 @@ +--- +title: auth_sendCall +description: auth_sendCall parameters, return type and example +--- +## Method: auth\_sendCall +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendCall(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_sendCode.md b/docs/old/API_docs_v46/methods/auth_sendCode.md new file mode 100644 index 00000000..995fcba5 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|sms\_type|[int](../types/int.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['phone_number' => string, 'sms_type' => int, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_sendInvites.md b/docs/old/API_docs_v46/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_sendSms.md b/docs/old/API_docs_v46/methods/auth_sendSms.md new file mode 100644 index 00000000..ab9c17d2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_sendSms.md @@ -0,0 +1,38 @@ +--- +title: auth_sendSms +description: auth_sendSms parameters, return type and example +--- +## Method: auth\_sendSms +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendSms(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_signIn.md b/docs/old/API_docs_v46/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/auth_signUp.md b/docs/old/API_docs_v46/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v46/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_checkUsername.md b/docs/old/API_docs_v46/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_createChannel.md b/docs/old/API_docs_v46/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_deleteChannel.md b/docs/old/API_docs_v46/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_deleteMessages.md b/docs/old/API_docs_v46/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v46/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_editAbout.md b/docs/old/API_docs_v46/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_editAdmin.md b/docs/old/API_docs_v46/methods/channels_editAdmin.md new file mode 100644 index 00000000..ec2492af --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_editPhoto.md b/docs/old/API_docs_v46/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_editTitle.md b/docs/old/API_docs_v46/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_exportInvite.md b/docs/old/API_docs_v46/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getChannels.md b/docs/old/API_docs_v46/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getDialogs.md b/docs/old/API_docs_v46/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getFullChannel.md b/docs/old/API_docs_v46/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getImportantHistory.md b/docs/old/API_docs_v46/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..2dc809ea --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getImportantHistory.md @@ -0,0 +1,42 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getMessages.md b/docs/old/API_docs_v46/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getParticipant.md b/docs/old/API_docs_v46/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_getParticipants.md b/docs/old/API_docs_v46/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_inviteToChannel.md b/docs/old/API_docs_v46/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_joinChannel.md b/docs/old/API_docs_v46/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_kickFromChannel.md b/docs/old/API_docs_v46/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_leaveChannel.md b/docs/old/API_docs_v46/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_readHistory.md b/docs/old/API_docs_v46/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_reportSpam.md b/docs/old/API_docs_v46/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_toggleComments.md b/docs/old/API_docs_v46/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/channels_updateUsername.md b/docs/old/API_docs_v46/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v46/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_block.md b/docs/old/API_docs_v46/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_deleteContact.md b/docs/old/API_docs_v46/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_deleteContacts.md b/docs/old/API_docs_v46/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_exportCard.md b/docs/old/API_docs_v46/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_getBlocked.md b/docs/old/API_docs_v46/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_getContacts.md b/docs/old/API_docs_v46/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_getStatuses.md b/docs/old/API_docs_v46/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_getSuggested.md b/docs/old/API_docs_v46/methods/contacts_getSuggested.md new file mode 100644 index 00000000..d7d57abe --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_getSuggested.md @@ -0,0 +1,37 @@ +--- +title: contacts_getSuggested +description: contacts_getSuggested parameters, return type and example +--- +## Method: contacts\_getSuggested +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Suggested](../types/contacts_Suggested.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Suggested = $MadelineProto->contacts->getSuggested(['limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_importCard.md b/docs/old/API_docs_v46/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_importContacts.md b/docs/old/API_docs_v46/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_resolveUsername.md b/docs/old/API_docs_v46/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_search.md b/docs/old/API_docs_v46/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/contacts_unblock.md b/docs/old/API_docs_v46/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v46/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getAppChangelog.md b/docs/old/API_docs_v46/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getAppUpdate.md b/docs/old/API_docs_v46/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getConfig.md b/docs/old/API_docs_v46/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getInviteText.md b/docs/old/API_docs_v46/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getNearestDc.md b/docs/old/API_docs_v46/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getSupport.md b/docs/old/API_docs_v46/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_getTermsOfService.md b/docs/old/API_docs_v46/methods/help_getTermsOfService.md new file mode 100644 index 00000000..e1b0034c --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_getTermsOfService.md @@ -0,0 +1,37 @@ +--- +title: help_getTermsOfService +description: help_getTermsOfService parameters, return type and example +--- +## Method: help\_getTermsOfService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/help_saveAppLog.md b/docs/old/API_docs_v46/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v46/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/index.md b/docs/old/API_docs_v46/methods/index.md new file mode 100644 index 00000000..23eb2871 --- /dev/null +++ b/docs/old/API_docs_v46/methods/index.md @@ -0,0 +1,342 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['phone_number' => [string](../types/string.md), \]) == [$account\_SentChangePhoneCode](../types/account_SentChangePhoneCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCall](auth_sendCall.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['phone_number' => [string](../types/string.md), 'sms_type' => [int](../types/int.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendSms](auth_sendSms.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getSuggested](contacts_getSuggested.md)(\['limit' => [int](../types/int.md), \]) == [$contacts\_Suggested](../types/contacts_Suggested.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_getTermsOfService](help_getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_TermsOfService](../types/help_TermsOfService.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['broadcast' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reorderStickerSets](messages_reorderStickerSets.md)(\['order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_search](messages_search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendInlineBotResult](messages_sendInlineBotResult.md)(\['broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v46/methods/initConnection.md b/docs/old/API_docs_v46/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v46/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/invokeAfterMsg.md b/docs/old/API_docs_v46/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v46/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/invokeAfterMsgs.md b/docs/old/API_docs_v46/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v46/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/invokeWithLayer.md b/docs/old/API_docs_v46/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v46/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v46/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v46/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_acceptEncryption.md b/docs/old/API_docs_v46/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_addChatUser.md b/docs/old/API_docs_v46/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_checkChatInvite.md b/docs/old/API_docs_v46/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_createChat.md b/docs/old/API_docs_v46/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_deleteChatUser.md b/docs/old/API_docs_v46/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_deleteHistory.md b/docs/old/API_docs_v46/methods/messages_deleteHistory.md new file mode 100644 index 00000000..1522b679 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_deleteMessages.md b/docs/old/API_docs_v46/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_discardEncryption.md b/docs/old/API_docs_v46/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_editChatAdmin.md b/docs/old/API_docs_v46/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_editChatPhoto.md b/docs/old/API_docs_v46/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_editChatTitle.md b/docs/old/API_docs_v46/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_exportChatInvite.md b/docs/old/API_docs_v46/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_forwardMessage.md b/docs/old/API_docs_v46/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_forwardMessages.md b/docs/old/API_docs_v46/methods/messages_forwardMessages.md new file mode 100644 index 00000000..80b13412 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_forwardMessages.md @@ -0,0 +1,40 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getAllStickers.md b/docs/old/API_docs_v46/methods/messages_getAllStickers.md new file mode 100644 index 00000000..a9a4d8c0 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getChats.md b/docs/old/API_docs_v46/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getDhConfig.md b/docs/old/API_docs_v46/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getDialogs.md b/docs/old/API_docs_v46/methods/messages_getDialogs.md new file mode 100644 index 00000000..85470cba --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getDialogs.md @@ -0,0 +1,40 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v46/methods/messages_getDocumentByHash.md new file mode 100644 index 00000000..9c379bae --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getDocumentByHash.md @@ -0,0 +1,39 @@ +--- +title: messages_getDocumentByHash +description: messages_getDocumentByHash parameters, return type and example +--- +## Method: messages\_getDocumentByHash +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sha256|[bytes](../types/bytes.md) | Required| +|size|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + +### Return type: [Document](../types/Document.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getFullChat.md b/docs/old/API_docs_v46/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getHistory.md b/docs/old/API_docs_v46/methods/messages_getHistory.md new file mode 100644 index 00000000..d3496140 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getHistory.md @@ -0,0 +1,42 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getInlineBotResults.md b/docs/old/API_docs_v46/methods/messages_getInlineBotResults.md new file mode 100644 index 00000000..832c74a4 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getInlineBotResults.md @@ -0,0 +1,39 @@ +--- +title: messages_getInlineBotResults +description: messages_getInlineBotResults parameters, return type and example +--- +## Method: messages\_getInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + +### Return type: [messages\_BotResults](../types/messages_BotResults.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'query' => string, 'offset' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getMessages.md b/docs/old/API_docs_v46/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getMessagesViews.md b/docs/old/API_docs_v46/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getSavedGifs.md b/docs/old/API_docs_v46/methods/messages_getSavedGifs.md similarity index 100% rename from docs/API_docs_55/methods/messages_getSavedGifs.md rename to docs/old/API_docs_v46/methods/messages_getSavedGifs.md diff --git a/docs/old/API_docs_v46/methods/messages_getStickerSet.md b/docs/old/API_docs_v46/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getStickers.md b/docs/old/API_docs_v46/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v46/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_importChatInvite.md b/docs/old/API_docs_v46/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_installStickerSet.md b/docs/old/API_docs_v46/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_migrateChat.md b/docs/old/API_docs_v46/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v46/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_readHistory.md b/docs/old/API_docs_v46/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_readMessageContents.md b/docs/old/API_docs_v46/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_receivedMessages.md b/docs/old/API_docs_v46/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_receivedQueue.md b/docs/old/API_docs_v46/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v46/methods/messages_reorderStickerSets.md new file mode 100644 index 00000000..5857c31b --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_reorderStickerSets.md @@ -0,0 +1,37 @@ +--- +title: messages_reorderStickerSets +description: messages_reorderStickerSets parameters, return type and example +--- +## Method: messages\_reorderStickerSets +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_reportSpam.md b/docs/old/API_docs_v46/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_requestEncryption.md b/docs/old/API_docs_v46/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_saveGif.md b/docs/old/API_docs_v46/methods/messages_saveGif.md similarity index 100% rename from docs/API_docs_55/methods/messages_saveGif.md rename to docs/old/API_docs_v46/methods/messages_saveGif.md diff --git a/docs/old/API_docs_v46/methods/messages_search.md b/docs/old/API_docs_v46/methods/messages_search.md new file mode 100644 index 00000000..82d49c55 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_search.md @@ -0,0 +1,45 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_searchGifs.md b/docs/old/API_docs_v46/methods/messages_searchGifs.md new file mode 100644 index 00000000..bef02816 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_searchGifs.md @@ -0,0 +1,38 @@ +--- +title: messages_searchGifs +description: messages_searchGifs parameters, return type and example +--- +## Method: messages\_searchGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_searchGlobal.md b/docs/old/API_docs_v46/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendBroadcast.md b/docs/old/API_docs_v46/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendEncrypted.md b/docs/old/API_docs_v46/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v46/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v46/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendInlineBotResult.md b/docs/old/API_docs_v46/methods/messages_sendInlineBotResult.md new file mode 100644 index 00000000..6a72c92f --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendInlineBotResult.md @@ -0,0 +1,41 @@ +--- +title: messages_sendInlineBotResult +description: messages_sendInlineBotResult parameters, return type and example +--- +## Method: messages\_sendInlineBotResult +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|id|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendMedia.md b/docs/old/API_docs_v46/methods/messages_sendMedia.md new file mode 100644 index 00000000..17061d9e --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendMedia.md @@ -0,0 +1,41 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_sendMessage.md b/docs/old/API_docs_v46/methods/messages_sendMessage.md new file mode 100644 index 00000000..6635df3e --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_sendMessage.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v46/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_setInlineBotResults.md b/docs/old/API_docs_v46/methods/messages_setInlineBotResults.md new file mode 100644 index 00000000..47142a9f --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_setInlineBotResults.md @@ -0,0 +1,42 @@ +--- +title: messages_setInlineBotResults +description: messages_setInlineBotResults parameters, return type and example +--- +## Method: messages\_setInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|private|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|results|Array of [InputBotInlineResult](../types/InputBotInlineResult.md) | Required| +|cache\_time|[int](../types/int.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_setTyping.md b/docs/old/API_docs_v46/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_startBot.md b/docs/old/API_docs_v46/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v46/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v46/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v46/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/photos_deletePhotos.md b/docs/old/API_docs_v46/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v46/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/photos_getUserPhotos.md b/docs/old/API_docs_v46/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v46/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v46/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v46/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v46/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v46/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/updates_getChannelDifference.md b/docs/old/API_docs_v46/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v46/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/updates_getDifference.md b/docs/old/API_docs_v46/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v46/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/updates_getState.md b/docs/old/API_docs_v46/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v46/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/upload_getFile.md b/docs/old/API_docs_v46/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v46/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v46/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v46/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/upload_saveFilePart.md b/docs/old/API_docs_v46/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v46/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/users_getFullUser.md b/docs/old/API_docs_v46/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v46/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/methods/users_getUsers.md b/docs/old/API_docs_v46/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v46/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/!X.md b/docs/old/API_docs_v46/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v46/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/AccountDaysTTL.md b/docs/old/API_docs_v46/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v46/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v46/types/Audio.md b/docs/old/API_docs_v46/types/Audio.md new file mode 100644 index 00000000..08e1bc2a --- /dev/null +++ b/docs/old/API_docs_v46/types/Audio.md @@ -0,0 +1,21 @@ +--- +title: Audio +description: constructors and methods of type Audio +--- +## Type: Audio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[audioEmpty](../constructors/audioEmpty.md) + +[audio](../constructors/audio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Authorization.md b/docs/old/API_docs_v46/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v46/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Bool.md b/docs/old/API_docs_v46/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v46/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/BotCommand.md b/docs/old/API_docs_v46/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v46/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/BotInfo.md b/docs/old/API_docs_v46/types/BotInfo.md new file mode 100644 index 00000000..a82b9b15 --- /dev/null +++ b/docs/old/API_docs_v46/types/BotInfo.md @@ -0,0 +1,21 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfoEmpty](../constructors/botInfoEmpty.md) + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/BotInlineMessage.md b/docs/old/API_docs_v46/types/BotInlineMessage.md new file mode 100644 index 00000000..d04a70f6 --- /dev/null +++ b/docs/old/API_docs_v46/types/BotInlineMessage.md @@ -0,0 +1,21 @@ +--- +title: BotInlineMessage +description: constructors and methods of type BotInlineMessage +--- +## Type: BotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) + +[botInlineMessageText](../constructors/botInlineMessageText.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/BotInlineResult.md b/docs/old/API_docs_v46/types/BotInlineResult.md new file mode 100644 index 00000000..3910b830 --- /dev/null +++ b/docs/old/API_docs_v46/types/BotInlineResult.md @@ -0,0 +1,23 @@ +--- +title: BotInlineResult +description: constructors and methods of type BotInlineResult +--- +## Type: BotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineMediaResultDocument](../constructors/botInlineMediaResultDocument.md) + +[botInlineMediaResultPhoto](../constructors/botInlineMediaResultPhoto.md) + +[botInlineResult](../constructors/botInlineResult.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChannelMessagesFilter.md b/docs/old/API_docs_v46/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v46/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChannelParticipant.md b/docs/old/API_docs_v46/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v46/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChannelParticipantRole.md b/docs/old/API_docs_v46/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v46/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v46/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v46/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Chat.md b/docs/old/API_docs_v46/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v46/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChatFull.md b/docs/old/API_docs_v46/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v46/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChatInvite.md b/docs/old/API_docs_v46/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v46/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v46/types/ChatParticipant.md b/docs/old/API_docs_v46/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v46/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChatParticipants.md b/docs/old/API_docs_v46/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v46/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ChatPhoto.md b/docs/old/API_docs_v46/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v46/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Config.md b/docs/old/API_docs_v46/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v46/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v46/types/Contact.md b/docs/old/API_docs_v46/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v46/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ContactBlocked.md b/docs/old/API_docs_v46/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v46/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ContactLink.md b/docs/old/API_docs_v46/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v46/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ContactStatus.md b/docs/old/API_docs_v46/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v46/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v46/types/ContactSuggested.md b/docs/old/API_docs_v46/types/ContactSuggested.md new file mode 100644 index 00000000..215d4a5a --- /dev/null +++ b/docs/old/API_docs_v46/types/ContactSuggested.md @@ -0,0 +1,19 @@ +--- +title: ContactSuggested +description: constructors and methods of type ContactSuggested +--- +## Type: ContactSuggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactSuggested](../constructors/contactSuggested.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/DcOption.md b/docs/old/API_docs_v46/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v46/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Dialog.md b/docs/old/API_docs_v46/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v46/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/DisabledFeature.md b/docs/old/API_docs_v46/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v46/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Document.md b/docs/old/API_docs_v46/types/Document.md new file mode 100644 index 00000000..52c3c5a9 --- /dev/null +++ b/docs/old/API_docs_v46/types/Document.md @@ -0,0 +1,23 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) + + + diff --git a/docs/old/API_docs_v46/types/DocumentAttribute.md b/docs/old/API_docs_v46/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v46/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/EncryptedChat.md b/docs/old/API_docs_v46/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v46/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v46/types/EncryptedFile.md b/docs/old/API_docs_v46/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v46/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/EncryptedMessage.md b/docs/old/API_docs_v46/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v46/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Error.md b/docs/old/API_docs_v46/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v46/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ExportedChatInvite.md b/docs/old/API_docs_v46/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v46/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v46/types/FileLocation.md b/docs/old/API_docs_v46/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v46/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/FoundGif.md b/docs/old/API_docs_v46/types/FoundGif.md similarity index 100% rename from docs/API_docs_55/types/FoundGif.md rename to docs/old/API_docs_v46/types/FoundGif.md diff --git a/docs/old/API_docs_v46/types/GeoPoint.md b/docs/old/API_docs_v46/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v46/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ImportedContact.md b/docs/old/API_docs_v46/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v46/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputAppEvent.md b/docs/old/API_docs_v46/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputAudio.md b/docs/old/API_docs_v46/types/InputAudio.md new file mode 100644 index 00000000..2a7270bf --- /dev/null +++ b/docs/old/API_docs_v46/types/InputAudio.md @@ -0,0 +1,21 @@ +--- +title: InputAudio +description: constructors and methods of type InputAudio +--- +## Type: InputAudio +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAudioEmpty](../constructors/inputAudioEmpty.md) + +[inputAudio](../constructors/inputAudio.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputBotInlineMessage.md b/docs/old/API_docs_v46/types/InputBotInlineMessage.md new file mode 100644 index 00000000..36d23e22 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputBotInlineMessage.md @@ -0,0 +1,21 @@ +--- +title: InputBotInlineMessage +description: constructors and methods of type InputBotInlineMessage +--- +## Type: InputBotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) + +[inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputBotInlineResult.md b/docs/old/API_docs_v46/types/InputBotInlineResult.md new file mode 100644 index 00000000..cd43712b --- /dev/null +++ b/docs/old/API_docs_v46/types/InputBotInlineResult.md @@ -0,0 +1,19 @@ +--- +title: InputBotInlineResult +description: constructors and methods of type InputBotInlineResult +--- +## Type: InputBotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineResult](../constructors/inputBotInlineResult.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputChannel.md b/docs/old/API_docs_v46/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v46/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputChatPhoto.md b/docs/old/API_docs_v46/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputContact.md b/docs/old/API_docs_v46/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputDocument.md b/docs/old/API_docs_v46/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputEncryptedChat.md b/docs/old/API_docs_v46/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputEncryptedFile.md b/docs/old/API_docs_v46/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputFile.md b/docs/old/API_docs_v46/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputFileLocation.md b/docs/old/API_docs_v46/types/InputFileLocation.md new file mode 100644 index 00000000..df7eba4f --- /dev/null +++ b/docs/old/API_docs_v46/types/InputFileLocation.md @@ -0,0 +1,27 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputVideoFileLocation](../constructors/inputVideoFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputAudioFileLocation](../constructors/inputAudioFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputGeoPoint.md b/docs/old/API_docs_v46/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputMedia.md b/docs/old/API_docs_v46/types/InputMedia.md new file mode 100644 index 00000000..7a5faa1c --- /dev/null +++ b/docs/old/API_docs_v46/types/InputMedia.md @@ -0,0 +1,47 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedVideo](../constructors/inputMediaUploadedVideo.md) + +[inputMediaUploadedThumbVideo](../constructors/inputMediaUploadedThumbVideo.md) + +[inputMediaVideo](../constructors/inputMediaVideo.md) + +[inputMediaUploadedAudio](../constructors/inputMediaUploadedAudio.md) + +[inputMediaAudio](../constructors/inputMediaAudio.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + +[inputMediaGifExternal](../constructors/inputMediaGifExternal.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputNotifyPeer.md b/docs/old/API_docs_v46/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v46/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPeer.md b/docs/old/API_docs_v46/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v46/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPeerNotifySettings.md b/docs/old/API_docs_v46/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPhoto.md b/docs/old/API_docs_v46/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPhotoCrop.md b/docs/old/API_docs_v46/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPrivacyKey.md b/docs/old/API_docs_v46/types/InputPrivacyKey.md new file mode 100644 index 00000000..ae651532 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputPrivacyRule.md b/docs/old/API_docs_v46/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v46/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputStickerSet.md b/docs/old/API_docs_v46/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v46/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputUser.md b/docs/old/API_docs_v46/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v46/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/InputVideo.md b/docs/old/API_docs_v46/types/InputVideo.md new file mode 100644 index 00000000..f69b2d6a --- /dev/null +++ b/docs/old/API_docs_v46/types/InputVideo.md @@ -0,0 +1,21 @@ +--- +title: InputVideo +description: constructors and methods of type InputVideo +--- +## Type: InputVideo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputVideoEmpty](../constructors/inputVideoEmpty.md) + +[inputVideo](../constructors/inputVideo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/KeyboardButton.md b/docs/old/API_docs_v46/types/KeyboardButton.md new file mode 100644 index 00000000..d6f12505 --- /dev/null +++ b/docs/old/API_docs_v46/types/KeyboardButton.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/KeyboardButtonRow.md b/docs/old/API_docs_v46/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v46/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/MTMessage.md b/docs/old/API_docs_v46/types/MTMessage.md similarity index 100% rename from docs/API_docs_46/types/MTMessage.md rename to docs/old/API_docs_v46/types/MTMessage.md diff --git a/docs/old/API_docs_v46/types/MessageAction.md b/docs/old/API_docs_v46/types/MessageAction.md new file mode 100644 index 00000000..7d9ab87f --- /dev/null +++ b/docs/old/API_docs_v46/types/MessageAction.md @@ -0,0 +1,39 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/MessageEntity.md b/docs/old/API_docs_v46/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v46/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/MessageGroup.md b/docs/old/API_docs_v46/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v46/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/MessageMedia.md b/docs/old/API_docs_v46/types/MessageMedia.md new file mode 100644 index 00000000..0e31bef0 --- /dev/null +++ b/docs/old/API_docs_v46/types/MessageMedia.md @@ -0,0 +1,39 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaVideo](../constructors/messageMediaVideo.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaAudio](../constructors/messageMediaAudio.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v46/types/MessageRange.md b/docs/old/API_docs_v46/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v46/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/MessagesFilter.md b/docs/old/API_docs_v46/types/MessagesFilter.md new file mode 100644 index 00000000..bf4b7801 --- /dev/null +++ b/docs/old/API_docs_v46/types/MessagesFilter.md @@ -0,0 +1,37 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterAudio](../constructors/inputMessagesFilterAudio.md) + +[inputMessagesFilterAudioDocuments](../constructors/inputMessagesFilterAudioDocuments.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + +[inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/NearestDc.md b/docs/old/API_docs_v46/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v46/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v46/types/NotifyPeer.md b/docs/old/API_docs_v46/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v46/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Null.md b/docs/old/API_docs_v46/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v46/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Peer.md b/docs/old/API_docs_v46/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v46/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/PeerNotifyEvents.md b/docs/old/API_docs_v46/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v46/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/PeerNotifySettings.md b/docs/old/API_docs_v46/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v46/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v46/types/Photo.md b/docs/old/API_docs_v46/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v46/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/PhotoSize.md b/docs/old/API_docs_v46/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v46/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/PrivacyKey.md b/docs/old/API_docs_v46/types/PrivacyKey.md new file mode 100644 index 00000000..77f9a3a3 --- /dev/null +++ b/docs/old/API_docs_v46/types/PrivacyKey.md @@ -0,0 +1,19 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/PrivacyRule.md b/docs/old/API_docs_v46/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v46/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v46/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v46/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v46/types/ReplyMarkup.md b/docs/old/API_docs_v46/types/ReplyMarkup.md new file mode 100644 index 00000000..d408cc43 --- /dev/null +++ b/docs/old/API_docs_v46/types/ReplyMarkup.md @@ -0,0 +1,23 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/ReportReason.md b/docs/old/API_docs_v46/types/ReportReason.md new file mode 100644 index 00000000..d04f6e1d --- /dev/null +++ b/docs/old/API_docs_v46/types/ReportReason.md @@ -0,0 +1,25 @@ +--- +title: ReportReason +description: constructors and methods of type ReportReason +--- +## Type: ReportReason +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/SendMessageAction.md b/docs/old/API_docs_v46/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v46/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/StickerPack.md b/docs/old/API_docs_v46/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v46/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/StickerSet.md b/docs/old/API_docs_v46/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v46/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/True.md b/docs/old/API_docs_v46/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v46/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_46/types/Update.md b/docs/old/API_docs_v46/types/Update.md similarity index 100% rename from docs/API_docs_46/types/Update.md rename to docs/old/API_docs_v46/types/Update.md diff --git a/docs/API_docs_46/types/Updates.md b/docs/old/API_docs_v46/types/Updates.md similarity index 100% rename from docs/API_docs_46/types/Updates.md rename to docs/old/API_docs_v46/types/Updates.md diff --git a/docs/API_docs_46/types/User.md b/docs/old/API_docs_v46/types/User.md similarity index 100% rename from docs/API_docs_46/types/User.md rename to docs/old/API_docs_v46/types/User.md diff --git a/docs/old/API_docs_v46/types/UserFull.md b/docs/old/API_docs_v46/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v46/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v46/types/UserProfilePhoto.md b/docs/old/API_docs_v46/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v46/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v46/types/UserStatus.md b/docs/old/API_docs_v46/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v46/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/Video.md b/docs/old/API_docs_v46/types/Video.md new file mode 100644 index 00000000..eebcb039 --- /dev/null +++ b/docs/old/API_docs_v46/types/Video.md @@ -0,0 +1,21 @@ +--- +title: Video +description: constructors and methods of type Video +--- +## Type: Video +[Back to types index](index.md) + + + +### Possible values (constructors): + +[videoEmpty](../constructors/videoEmpty.md) + +[video](../constructors/video.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/WallPaper.md b/docs/old/API_docs_v46/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v46/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v46/types/WebPage.md b/docs/old/API_docs_v46/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v46/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/X.md b/docs/old/API_docs_v46/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v46/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/account_Authorizations.md b/docs/old/API_docs_v46/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v46/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v46/types/account_Password.md b/docs/old/API_docs_v46/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v46/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v46/types/account_PasswordInputSettings.md b/docs/old/API_docs_v46/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v46/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/account_PasswordSettings.md b/docs/old/API_docs_v46/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v46/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v46/types/account_PrivacyRules.md b/docs/old/API_docs_v46/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v46/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v46/types/account_SentChangePhoneCode.md b/docs/old/API_docs_v46/types/account_SentChangePhoneCode.md new file mode 100644 index 00000000..03bfe53a --- /dev/null +++ b/docs/old/API_docs_v46/types/account_SentChangePhoneCode.md @@ -0,0 +1,21 @@ +--- +title: account_SentChangePhoneCode +description: constructors and methods of type account_SentChangePhoneCode +--- +## Type: account\_SentChangePhoneCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_sentChangePhoneCode](../constructors/account_sentChangePhoneCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + + + diff --git a/docs/old/API_docs_v46/types/auth_Authorization.md b/docs/old/API_docs_v46/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v46/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v46/types/auth_CheckedPhone.md b/docs/old/API_docs_v46/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v46/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v46/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v46/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v46/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v46/types/auth_PasswordRecovery.md b/docs/old/API_docs_v46/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v46/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v46/types/auth_SentCode.md b/docs/old/API_docs_v46/types/auth_SentCode.md new file mode 100644 index 00000000..a12a783a --- /dev/null +++ b/docs/old/API_docs_v46/types/auth_SentCode.md @@ -0,0 +1,23 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + +[auth\_sentAppCode](../constructors/auth_sentAppCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + + + diff --git a/docs/old/API_docs_v46/types/bytes.md b/docs/old/API_docs_v46/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v46/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/channels_ChannelParticipant.md b/docs/old/API_docs_v46/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v46/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v46/types/channels_ChannelParticipants.md b/docs/old/API_docs_v46/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v46/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_Blocked.md b/docs/old/API_docs_v46/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_Contacts.md b/docs/old/API_docs_v46/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_Found.md b/docs/old/API_docs_v46/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_ImportedContacts.md b/docs/old/API_docs_v46/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_Link.md b/docs/old/API_docs_v46/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v46/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v46/types/contacts_Suggested.md b/docs/old/API_docs_v46/types/contacts_Suggested.md new file mode 100644 index 00000000..c1eb86c8 --- /dev/null +++ b/docs/old/API_docs_v46/types/contacts_Suggested.md @@ -0,0 +1,21 @@ +--- +title: contacts_Suggested +description: constructors and methods of type contacts_Suggested +--- +## Type: contacts\_Suggested +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_suggested](../constructors/contacts_suggested.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getSuggested](../methods/contacts_getSuggested.md) + + + diff --git a/docs/old/API_docs_v46/types/double.md b/docs/old/API_docs_v46/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v46/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/help_AppChangelog.md b/docs/old/API_docs_v46/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v46/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v46/types/help_AppUpdate.md b/docs/old/API_docs_v46/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v46/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v46/types/help_InviteText.md b/docs/old/API_docs_v46/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v46/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v46/types/help_Support.md b/docs/old/API_docs_v46/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v46/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v46/types/help_TermsOfService.md b/docs/old/API_docs_v46/types/help_TermsOfService.md new file mode 100644 index 00000000..b57b19cc --- /dev/null +++ b/docs/old/API_docs_v46/types/help_TermsOfService.md @@ -0,0 +1,21 @@ +--- +title: help_TermsOfService +description: constructors and methods of type help_TermsOfService +--- +## Type: help\_TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_termsOfService](../constructors/help_termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) + + + diff --git a/docs/API_docs_46/types/index.md b/docs/old/API_docs_v46/types/index.md similarity index 100% rename from docs/API_docs_46/types/index.md rename to docs/old/API_docs_v46/types/index.md diff --git a/docs/old/API_docs_v46/types/int.md b/docs/old/API_docs_v46/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v46/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/int128.md b/docs/old/API_docs_v46/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v46/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/int256.md b/docs/old/API_docs_v46/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v46/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/int512.md b/docs/old/API_docs_v46/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v46/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/long.md b/docs/old/API_docs_v46/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v46/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/messages_AffectedHistory.md b/docs/old/API_docs_v46/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_AffectedMessages.md b/docs/old/API_docs_v46/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_AllStickers.md b/docs/old/API_docs_v46/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_55/types/messages_BotResults.md b/docs/old/API_docs_v46/types/messages_BotResults.md similarity index 100% rename from docs/API_docs_55/types/messages_BotResults.md rename to docs/old/API_docs_v46/types/messages_BotResults.md diff --git a/docs/old/API_docs_v46/types/messages_ChatFull.md b/docs/old/API_docs_v46/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_Chats.md b/docs/old/API_docs_v46/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_DhConfig.md b/docs/old/API_docs_v46/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_Dialogs.md b/docs/old/API_docs_v46/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_FoundGifs.md b/docs/old/API_docs_v46/types/messages_FoundGifs.md new file mode 100644 index 00000000..2992f9d7 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_FoundGifs.md @@ -0,0 +1,21 @@ +--- +title: messages_FoundGifs +description: constructors and methods of type messages_FoundGifs +--- +## Type: messages\_FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_foundGifs](../constructors/messages_foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) + + + diff --git a/docs/API_docs_46/types/messages_Messages.md b/docs/old/API_docs_v46/types/messages_Messages.md similarity index 100% rename from docs/API_docs_46/types/messages_Messages.md rename to docs/old/API_docs_v46/types/messages_Messages.md diff --git a/docs/API_docs_55/types/messages_SavedGifs.md b/docs/old/API_docs_v46/types/messages_SavedGifs.md similarity index 100% rename from docs/API_docs_55/types/messages_SavedGifs.md rename to docs/old/API_docs_v46/types/messages_SavedGifs.md diff --git a/docs/old/API_docs_v46/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v46/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_StickerSet.md b/docs/old/API_docs_v46/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v46/types/messages_Stickers.md b/docs/old/API_docs_v46/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v46/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v46/types/photos_Photo.md b/docs/old/API_docs_v46/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v46/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v46/types/photos_Photos.md b/docs/old/API_docs_v46/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v46/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v46/types/storage_FileType.md b/docs/old/API_docs_v46/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v46/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v46/types/string.md b/docs/old/API_docs_v46/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v46/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v46/types/updates_ChannelDifference.md b/docs/old/API_docs_v46/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v46/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v46/types/updates_Difference.md b/docs/old/API_docs_v46/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v46/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v46/types/updates_State.md b/docs/old/API_docs_v46/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v46/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v46/types/upload_File.md b/docs/old/API_docs_v46/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v46/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v51/constructors/accountDaysTTL.md b/docs/old/API_docs_v51/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_authorizations.md b/docs/old/API_docs_v51/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_noPassword.md b/docs/old/API_docs_v51/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_password.md b/docs/old/API_docs_v51/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v51/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_passwordSettings.md b/docs/old/API_docs_v51/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/account_privacyRules.md b/docs/old/API_docs_v51/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_authorization.md b/docs/old/API_docs_v51/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_checkedPhone.md b/docs/old/API_docs_v51/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_codeTypeCall.md b/docs/old/API_docs_v51/constructors/auth_codeTypeCall.md new file mode 100644 index 00000000..a87bfff1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_codeTypeCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeCall +description: auth_codeTypeCall attributes, type and example +--- +## Constructor: auth\_codeTypeCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeCall = ['_' => 'auth_codeTypeCall', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_codeTypeFlashCall.md b/docs/old/API_docs_v51/constructors/auth_codeTypeFlashCall.md new file mode 100644 index 00000000..9bc67f24 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_codeTypeFlashCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeFlashCall +description: auth_codeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_codeTypeFlashCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeFlashCall = ['_' => 'auth_codeTypeFlashCall', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_codeTypeSms.md b/docs/old/API_docs_v51/constructors/auth_codeTypeSms.md new file mode 100644 index 00000000..0d45357a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_codeTypeSms.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeSms +description: auth_codeTypeSms attributes, type and example +--- +## Constructor: auth\_codeTypeSms +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeSms = ['_' => 'auth_codeTypeSms', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v51/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v51/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_sentCode.md b/docs/old/API_docs_v51/constructors/auth_sentCode.md new file mode 100644 index 00000000..53b4d681 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_sentCode.md @@ -0,0 +1,30 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Optional| +|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_sentCodeTypeApp.md b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeApp.md new file mode 100644 index 00000000..2ee592b4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeApp.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeApp +description: auth_sentCodeTypeApp attributes, type and example +--- +## Constructor: auth\_sentCodeTypeApp +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeApp = ['_' => 'auth_sentCodeTypeApp', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_sentCodeTypeCall.md b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeCall.md new file mode 100644 index 00000000..d681883b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeCall +description: auth_sentCodeTypeCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeCall = ['_' => 'auth_sentCodeTypeCall', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md new file mode 100644 index 00000000..95efd88f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeFlashCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeFlashCall +description: auth_sentCodeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeFlashCall = ['_' => 'auth_sentCodeTypeFlashCall', 'pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/auth_sentCodeTypeSms.md b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeSms.md new file mode 100644 index 00000000..95899956 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/auth_sentCodeTypeSms.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeSms +description: auth_sentCodeTypeSms attributes, type and example +--- +## Constructor: auth\_sentCodeTypeSms +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeSms = ['_' => 'auth_sentCodeTypeSms', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/authorization.md b/docs/old/API_docs_v51/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/boolFalse.md b/docs/old/API_docs_v51/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/boolTrue.md b/docs/old/API_docs_v51/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/botCommand.md b/docs/old/API_docs_v51/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInfo.md b/docs/old/API_docs_v51/constructors/botInfo.md new file mode 100644 index 00000000..63be7e80 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInfo.md @@ -0,0 +1,28 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMediaResult.md b/docs/old/API_docs_v51/constructors/botInlineMediaResult.md new file mode 100644 index 00000000..ba366745 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMediaResult.md @@ -0,0 +1,32 @@ +--- +title: botInlineMediaResult +description: botInlineMediaResult attributes, type and example +--- +## Constructor: botInlineMediaResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Optional| +|document|[Document](../types/Document.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMessageMediaAuto.md b/docs/old/API_docs_v51/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..2e94b63f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaAuto +description: botInlineMessageMediaAuto attributes, type and example +--- +## Constructor: botInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMessageMediaContact.md b/docs/old/API_docs_v51/constructors/botInlineMessageMediaContact.md new file mode 100644 index 00000000..287d4826 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageMediaContact +description: botInlineMessageMediaContact attributes, type and example +--- +## Constructor: botInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMessageMediaGeo.md b/docs/old/API_docs_v51/constructors/botInlineMessageMediaGeo.md new file mode 100644 index 00000000..f59c902a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaGeo +description: botInlineMessageMediaGeo attributes, type and example +--- +## Constructor: botInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMessageMediaVenue.md b/docs/old/API_docs_v51/constructors/botInlineMessageMediaVenue.md new file mode 100644 index 00000000..e719bb56 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: botInlineMessageMediaVenue +description: botInlineMessageMediaVenue attributes, type and example +--- +## Constructor: botInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineMessageText.md b/docs/old/API_docs_v51/constructors/botInlineMessageText.md new file mode 100644 index 00000000..a0f45747 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageText +description: botInlineMessageText attributes, type and example +--- +## Constructor: botInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/botInlineResult.md b/docs/old/API_docs_v51/constructors/botInlineResult.md new file mode 100644 index 00000000..0ce5fe1e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/botInlineResult.md @@ -0,0 +1,37 @@ +--- +title: botInlineResult +description: botInlineResult attributes, type and example +--- +## Constructor: botInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channel.md b/docs/old/API_docs_v51/constructors/channel.md new file mode 100644 index 00000000..1b7ba64d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channel.md @@ -0,0 +1,58 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|democracy|[Bool](../types/Bool.md) | Optional| +|signatures|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/channelForbidden.md b/docs/old/API_docs_v51/constructors/channelForbidden.md new file mode 100644 index 00000000..c09f61fd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelForbidden.md @@ -0,0 +1,41 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/channelFull.md b/docs/old/API_docs_v51/constructors/channelFull.md new file mode 100644 index 00000000..d12989d8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelFull.md @@ -0,0 +1,42 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|can\_set\_username|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| +|pinned\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelMessagesFilter.md b/docs/old/API_docs_v51/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..3f04523e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelMessagesFilter.md @@ -0,0 +1,28 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelMessagesFilterCollapsed.md b/docs/old/API_docs_v51/constructors/channelMessagesFilterCollapsed.md new file mode 100644 index 00000000..85819759 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelMessagesFilterCollapsed.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterCollapsed +description: channelMessagesFilterCollapsed attributes, type and example +--- +## Constructor: channelMessagesFilterCollapsed +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterCollapsed = ['_' => 'channelMessagesFilterCollapsed', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v51/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipant.md b/docs/old/API_docs_v51/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantCreator.md b/docs/old/API_docs_v51/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantEditor.md b/docs/old/API_docs_v51/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantKicked.md b/docs/old/API_docs_v51/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantModerator.md b/docs/old/API_docs_v51/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantSelf.md b/docs/old/API_docs_v51/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v51/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantsBots.md b/docs/old/API_docs_v51/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v51/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v51/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelRoleEditor.md b/docs/old/API_docs_v51/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelRoleEmpty.md b/docs/old/API_docs_v51/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channelRoleModerator.md b/docs/old/API_docs_v51/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channels_channelParticipant.md b/docs/old/API_docs_v51/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/channels_channelParticipants.md b/docs/old/API_docs_v51/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chat.md b/docs/old/API_docs_v51/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/chatEmpty.md b/docs/old/API_docs_v51/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/chatForbidden.md b/docs/old/API_docs_v51/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/chatFull.md b/docs/old/API_docs_v51/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatInvite.md b/docs/old/API_docs_v51/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatInviteAlready.md b/docs/old/API_docs_v51/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatInviteEmpty.md b/docs/old/API_docs_v51/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatInviteExported.md b/docs/old/API_docs_v51/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatParticipant.md b/docs/old/API_docs_v51/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v51/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatParticipantCreator.md b/docs/old/API_docs_v51/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatParticipants.md b/docs/old/API_docs_v51/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v51/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatPhoto.md b/docs/old/API_docs_v51/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v51/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/config.md b/docs/old/API_docs_v51/constructors/config.md new file mode 100644 index 00000000..d9f0e914 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/config.md @@ -0,0 +1,45 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|edit\_time\_limit|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contact.md b/docs/old/API_docs_v51/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactBlocked.md b/docs/old/API_docs_v51/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactLinkContact.md b/docs/old/API_docs_v51/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v51/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactLinkNone.md b/docs/old/API_docs_v51/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactLinkUnknown.md b/docs/old/API_docs_v51/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contactStatus.md b/docs/old/API_docs_v51/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_blocked.md b/docs/old/API_docs_v51/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v51/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_contacts.md b/docs/old/API_docs_v51/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v51/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_found.md b/docs/old/API_docs_v51/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_importedContacts.md b/docs/old/API_docs_v51/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_link.md b/docs/old/API_docs_v51/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v51/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/dcOption.md b/docs/old/API_docs_v51/constructors/dcOption.md new file mode 100644 index 00000000..b588c1a4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/dcOption.md @@ -0,0 +1,31 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|tcpo\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/dialog.md b/docs/old/API_docs_v51/constructors/dialog.md new file mode 100644 index 00000000..4ed7a16e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/dialog.md @@ -0,0 +1,30 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/dialogChannel.md b/docs/old/API_docs_v51/constructors/dialogChannel.md new file mode 100644 index 00000000..7992e7dd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/dialogChannel.md @@ -0,0 +1,33 @@ +--- +title: dialogChannel +description: dialogChannel attributes, type and example +--- +## Constructor: dialogChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Required| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/disabledFeature.md b/docs/old/API_docs_v51/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/document.md b/docs/old/API_docs_v51/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v51/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeAudio.md b/docs/old/API_docs_v51/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..c4c0eebf --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeAudio.md @@ -0,0 +1,30 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|voice|[Bool](../types/Bool.md) | Optional| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Optional| +|performer|[string](../types/string.md) | Optional| +|waveform|[bytes](../types/bytes.md) | Optional| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeFilename.md b/docs/old/API_docs_v51/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v51/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeSticker.md b/docs/old/API_docs_v51/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentAttributeVideo.md b/docs/old/API_docs_v51/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/documentEmpty.md b/docs/old/API_docs_v51/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedChat.md b/docs/old/API_docs_v51/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v51/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v51/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedChatRequested.md b/docs/old/API_docs_v51/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v51/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedFile.md b/docs/old/API_docs_v51/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v51/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedMessage.md b/docs/old/API_docs_v51/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/encryptedMessageService.md b/docs/old/API_docs_v51/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/error.md b/docs/old/API_docs_v51/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/exportedMessageLink.md b/docs/old/API_docs_v51/constructors/exportedMessageLink.md new file mode 100644 index 00000000..95f91e02 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/exportedMessageLink.md @@ -0,0 +1,26 @@ +--- +title: exportedMessageLink +description: exportedMessageLink attributes, type and example +--- +## Constructor: exportedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedMessageLink](../types/ExportedMessageLink.md) + + +### Example: + +``` +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/fileLocation.md b/docs/old/API_docs_v51/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v51/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/foundGif.md b/docs/old/API_docs_v51/constructors/foundGif.md new file mode 100644 index 00000000..1db8cfd9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/foundGif.md @@ -0,0 +1,31 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/foundGifCached.md b/docs/old/API_docs_v51/constructors/foundGifCached.md new file mode 100644 index 00000000..93b3f4bd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/foundGifCached.md @@ -0,0 +1,28 @@ +--- +title: foundGifCached +description: foundGifCached attributes, type and example +--- +## Constructor: foundGifCached +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/geoPoint.md b/docs/old/API_docs_v51/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/geoPointEmpty.md b/docs/old/API_docs_v51/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_appChangelog.md b/docs/old/API_docs_v51/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v51/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_appUpdate.md b/docs/old/API_docs_v51/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_inviteText.md b/docs/old/API_docs_v51/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_noAppUpdate.md b/docs/old/API_docs_v51/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_support.md b/docs/old/API_docs_v51/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/help_termsOfService.md b/docs/old/API_docs_v51/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/importedContact.md b/docs/old/API_docs_v51/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/index.md b/docs/old/API_docs_v51/constructors/index.md new file mode 100644 index 00000000..7ef77675 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/index.md @@ -0,0 +1,1172 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; + +[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; + +[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth\_SentCodeType](../types/auth_SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth\_CodeType](../types/auth_CodeType.md), 'timeout' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; + +[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInlineMediaResult](../constructors/botInlineMediaResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageText](../constructors/botInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineResult](../constructors/botInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['important_only' => [Bool](../types/Bool.md), 'exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) = \[\]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$dialogChannel](../constructors/dialogChannel.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['voice' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), 'waveform' => [bytes](../types/bytes.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$exportedMessageLink](../constructors/exportedMessageLink.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$foundGif](../constructors/foundGif.md) = \['url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inlineBotSwitchPM](../constructors/inlineBotSwitchPM.md) = \['text' => [string](../types/string.md), 'start_param' => [string](../types/string.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputBotInlineMessageID](../constructors/inputBotInlineMessageID.md) = \['dc_id' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineResult](../constructors/inputBotInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'document' => [InputDocument](../types/InputDocument.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputBotInlineResultPhoto](../constructors/inputBotInlineResultPhoto.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [InputPhoto](../types/InputPhoto.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaGifExternal](../constructors/inputMediaGifExternal.md) = \['url' => [string](../types/string.md), 'q' => [string](../types/string.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\]; + +*** +

[$inputMessagesFilterMusic](../constructors/inputMessagesFilterMusic.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputReportReasonOther](../constructors/inputReportReasonOther.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$inputReportReasonPornography](../constructors/inputReportReasonPornography.md) = \[\]; + +*** +

[$inputReportReasonSpam](../constructors/inputReportReasonSpam.md) = \[\]; + +*** +

[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonCallback](../constructors/keyboardButtonCallback.md) = \['text' => [string](../types/string.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$keyboardButtonRequestGeoLocation](../constructors/keyboardButtonRequestGeoLocation.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRequestPhone](../constructors/keyboardButtonRequestPhone.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$keyboardButtonSwitchInline](../constructors/keyboardButtonSwitchInline.md) = \['text' => [string](../types/string.md), 'query' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonUrl](../constructors/keyboardButtonUrl.md) = \['text' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; + +*** +

[$message](../constructors/message.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageActionPinMessage](../constructors/messageActionPinMessage.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), \]; + +*** +

[$messageGroup](../constructors/messageGroup.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; + +[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'collapsed' => \[[MessageGroup](../types/MessageGroup.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; + +[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; + +[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerSettings](../constructors/peerSettings.md) = \['report_spam' => [Bool](../types/Bool.md), \]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyInlineMarkup](../constructors/replyInlineMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateBotCallbackQuery](../constructors/updateBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$updateBotInlineQuery](../constructors/updateBotInlineQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'offset' => [string](../types/string.md), \]; + +*** +

[$updateBotInlineSend](../constructors/updateBotInlineSend.md) = \['user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'id' => [string](../types/string.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), \]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelGroup](../constructors/updateChannelGroup.md) = \['channel_id' => [int](../types/int.md), 'group' => [MessageGroup](../types/MessageGroup.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelPinnedMessage](../constructors/updateChannelPinnedMessage.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEditChannelMessage](../constructors/updateEditChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEditMessage](../constructors/updateEditMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewStickerSet](../constructors/updateNewStickerSet.md) = \['stickerset' => [messages\_StickerSet](../types/messages_StickerSet.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateSavedGifs](../constructors/updateSavedGifs.md) = \[\]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['unread' => [Bool](../types/Bool.md), 'out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateStickerSets](../constructors/updateStickerSets.md) = \[\]; + +*** +

[$updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) = \['order' => \[[long](../types/long.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'top_important_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_important_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['blocked' => [Bool](../types/Bool.md), 'user' => [User](../types/User.md), 'about' => [string](../types/string.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v51/constructors/inlineBotSwitchPM.md b/docs/old/API_docs_v51/constructors/inlineBotSwitchPM.md new file mode 100644 index 00000000..ec1c28d7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inlineBotSwitchPM.md @@ -0,0 +1,27 @@ +--- +title: inlineBotSwitchPM +description: inlineBotSwitchPM attributes, type and example +--- +## Constructor: inlineBotSwitchPM +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + + +### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md) + + +### Example: + +``` +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputAppEvent.md b/docs/old/API_docs_v51/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageID.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageID.md new file mode 100644 index 00000000..bea4bf54 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageID.md @@ -0,0 +1,28 @@ +--- +title: inputBotInlineMessageID +description: inputBotInlineMessageID attributes, type and example +--- +## Constructor: inputBotInlineMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputBotInlineMessageID](../types/InputBotInlineMessageID.md) + + +### Example: + +``` +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..25d1dded --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaAuto +description: inputBotInlineMessageMediaAuto attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md new file mode 100644 index 00000000..cd54d6a6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageMediaContact +description: inputBotInlineMessageMediaContact attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md new file mode 100644 index 00000000..41079f0b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaGeo +description: inputBotInlineMessageMediaGeo attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md new file mode 100644 index 00000000..966237ad --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineMessageMediaVenue +description: inputBotInlineMessageMediaVenue attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineMessageText.md b/docs/old/API_docs_v51/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..2e3ce923 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageText +description: inputBotInlineMessageText attributes, type and example +--- +## Constructor: inputBotInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineResult.md b/docs/old/API_docs_v51/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..a597fa4d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineResult.md @@ -0,0 +1,37 @@ +--- +title: inputBotInlineResult +description: inputBotInlineResult attributes, type and example +--- +## Constructor: inputBotInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineResultDocument.md b/docs/old/API_docs_v51/constructors/inputBotInlineResultDocument.md new file mode 100644 index 00000000..d9e88d1b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineResultDocument.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineResultDocument +description: inputBotInlineResultDocument attributes, type and example +--- +## Constructor: inputBotInlineResultDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|document|[InputDocument](../types/InputDocument.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputBotInlineResultPhoto.md b/docs/old/API_docs_v51/constructors/inputBotInlineResultPhoto.md new file mode 100644 index 00000000..defe0a4b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputBotInlineResultPhoto.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineResultPhoto +description: inputBotInlineResultPhoto attributes, type and example +--- +## Constructor: inputBotInlineResultPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[InputPhoto](../types/InputPhoto.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputChannel.md b/docs/old/API_docs_v51/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputChannelEmpty.md b/docs/old/API_docs_v51/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputChatPhoto.md b/docs/old/API_docs_v51/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v51/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v51/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputDocument.md b/docs/old/API_docs_v51/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v51/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v51/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedChat.md b/docs/old/API_docs_v51/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedFile.md b/docs/old/API_docs_v51/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v51/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v51/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v51/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputFile.md b/docs/old/API_docs_v51/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputFileBig.md b/docs/old/API_docs_v51/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputFileLocation.md b/docs/old/API_docs_v51/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputGeoPoint.md b/docs/old/API_docs_v51/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v51/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaContact.md b/docs/old/API_docs_v51/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaDocument.md b/docs/old/API_docs_v51/constructors/inputMediaDocument.md new file mode 100644 index 00000000..60ac6ff4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaEmpty.md b/docs/old/API_docs_v51/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v51/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v51/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaPhoto.md b/docs/old/API_docs_v51/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v51/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..c23fcaec --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v51/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..7f78172c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMediaVenue.md b/docs/old/API_docs_v51/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterMusic.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterMusic.md new file mode 100644 index 00000000..dfe18385 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterMusic.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterMusic +description: inputMessagesFilterMusic attributes, type and example +--- +## Constructor: inputMessagesFilterMusic +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputMessagesFilterVoice.md b/docs/old/API_docs_v51/constructors/inputMessagesFilterVoice.md new file mode 100644 index 00000000..e12004d7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputMessagesFilterVoice.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVoice +description: inputMessagesFilterVoice attributes, type and example +--- +## Constructor: inputMessagesFilterVoice +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputNotifyAll.md b/docs/old/API_docs_v51/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputNotifyChats.md b/docs/old/API_docs_v51/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputNotifyPeer.md b/docs/old/API_docs_v51/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputNotifyUsers.md b/docs/old/API_docs_v51/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPeerChannel.md b/docs/old/API_docs_v51/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputPeerChat.md b/docs/old/API_docs_v51/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputPeerEmpty.md b/docs/old/API_docs_v51/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v51/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..a8cb2491 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPeerSelf.md b/docs/old/API_docs_v51/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputPeerUser.md b/docs/old/API_docs_v51/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputPhoneContact.md b/docs/old/API_docs_v51/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPhoto.md b/docs/old/API_docs_v51/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPhotoCrop.md b/docs/old/API_docs_v51/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v51/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v51/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md b/docs/old/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md new file mode 100644 index 00000000..4ddea8d6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyChatInvite +description: inputPrivacyKeyChatInvite attributes, type and example +--- +## Constructor: inputPrivacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputReportReasonOther.md b/docs/old/API_docs_v51/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v51/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v51/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v51/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v51/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputStickerSetID.md b/docs/old/API_docs_v51/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v51/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/inputUser.md b/docs/old/API_docs_v51/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputUserEmpty.md b/docs/old/API_docs_v51/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/inputUserSelf.md b/docs/old/API_docs_v51/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/keyboardButton.md b/docs/old/API_docs_v51/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonCallback.md b/docs/old/API_docs_v51/constructors/keyboardButtonCallback.md new file mode 100644 index 00000000..58add404 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonCallback.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonCallback +description: keyboardButtonCallback attributes, type and example +--- +## Constructor: keyboardButtonCallback +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md b/docs/old/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md new file mode 100644 index 00000000..c31e3194 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonRequestGeoLocation.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestGeoLocation +description: keyboardButtonRequestGeoLocation attributes, type and example +--- +## Constructor: keyboardButtonRequestGeoLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonRequestPhone.md b/docs/old/API_docs_v51/constructors/keyboardButtonRequestPhone.md new file mode 100644 index 00000000..734b8f41 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonRequestPhone.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestPhone +description: keyboardButtonRequestPhone attributes, type and example +--- +## Constructor: keyboardButtonRequestPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonRow.md b/docs/old/API_docs_v51/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonSwitchInline.md b/docs/old/API_docs_v51/constructors/keyboardButtonSwitchInline.md new file mode 100644 index 00000000..a944ebab --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonSwitchInline.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonSwitchInline +description: keyboardButtonSwitchInline attributes, type and example +--- +## Constructor: keyboardButtonSwitchInline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|query|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/keyboardButtonUrl.md b/docs/old/API_docs_v51/constructors/keyboardButtonUrl.md new file mode 100644 index 00000000..82b36411 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/keyboardButtonUrl.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonUrl +description: keyboardButtonUrl attributes, type and example +--- +## Constructor: keyboardButtonUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/message.md b/docs/old/API_docs_v51/constructors/message.md new file mode 100644 index 00000000..168194c8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/message.md @@ -0,0 +1,44 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| +|edit\_date|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, 'edit_date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v51/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v51/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v51/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatCreate.md b/docs/old/API_docs_v51/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v51/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v51/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v51/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v51/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v51/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v51/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionEmpty.md b/docs/old/API_docs_v51/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageActionPinMessage.md b/docs/old/API_docs_v51/constructors/messageActionPinMessage.md new file mode 100644 index 00000000..43318433 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageActionPinMessage.md @@ -0,0 +1,21 @@ +--- +title: messageActionPinMessage +description: messageActionPinMessage attributes, type and example +--- +## Constructor: messageActionPinMessage +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEmpty.md b/docs/old/API_docs_v51/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityBold.md b/docs/old/API_docs_v51/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v51/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityCode.md b/docs/old/API_docs_v51/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityEmail.md b/docs/old/API_docs_v51/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityHashtag.md b/docs/old/API_docs_v51/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityItalic.md b/docs/old/API_docs_v51/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityMention.md b/docs/old/API_docs_v51/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityPre.md b/docs/old/API_docs_v51/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v51/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityUnknown.md b/docs/old/API_docs_v51/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageEntityUrl.md b/docs/old/API_docs_v51/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageFwdHeader.md b/docs/old/API_docs_v51/constructors/messageFwdHeader.md new file mode 100644 index 00000000..9f732de1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageFwdHeader.md @@ -0,0 +1,29 @@ +--- +title: messageFwdHeader +description: messageFwdHeader attributes, type and example +--- +## Constructor: messageFwdHeader +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|from\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|channel\_id|[int](../types/int.md) | Optional| +|channel\_post|[int](../types/int.md) | Optional| + + + +### Type: [MessageFwdHeader](../types/MessageFwdHeader.md) + + +### Example: + +``` +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageGroup.md b/docs/old/API_docs_v51/constructors/messageGroup.md new file mode 100644 index 00000000..dc036c4c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageGroup.md @@ -0,0 +1,29 @@ +--- +title: messageGroup +description: messageGroup attributes, type and example +--- +## Constructor: messageGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [MessageGroup](../types/MessageGroup.md) + + +### Example: + +``` +$messageGroup = ['_' => 'messageGroup', 'min_id' => int, 'max_id' => int, 'count' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaContact.md b/docs/old/API_docs_v51/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaDocument.md b/docs/old/API_docs_v51/constructors/messageMediaDocument.md new file mode 100644 index 00000000..a4f3ee23 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaEmpty.md b/docs/old/API_docs_v51/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaGeo.md b/docs/old/API_docs_v51/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaPhoto.md b/docs/old/API_docs_v51/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v51/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaVenue.md b/docs/old/API_docs_v51/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageMediaWebPage.md b/docs/old/API_docs_v51/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageRange.md b/docs/old/API_docs_v51/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messageService.md b/docs/old/API_docs_v51/constructors/messageService.md new file mode 100644 index 00000000..63e7f2d0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messageService.md @@ -0,0 +1,37 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_affectedHistory.md b/docs/old/API_docs_v51/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_affectedMessages.md b/docs/old/API_docs_v51/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_allStickers.md b/docs/old/API_docs_v51/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v51/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_botCallbackAnswer.md b/docs/old/API_docs_v51/constructors/messages_botCallbackAnswer.md new file mode 100644 index 00000000..cb715662 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_botCallbackAnswer.md @@ -0,0 +1,27 @@ +--- +title: messages_botCallbackAnswer +description: messages_botCallbackAnswer attributes, type and example +--- +## Constructor: messages\_botCallbackAnswer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Optional| + + + +### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + + +### Example: + +``` +$messages_botCallbackAnswer = ['_' => 'messages_botCallbackAnswer', 'alert' => true, 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_botResults.md b/docs/old/API_docs_v51/constructors/messages_botResults.md new file mode 100644 index 00000000..6bed266c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_botResults.md @@ -0,0 +1,30 @@ +--- +title: messages_botResults +description: messages_botResults attributes, type and example +--- +## Constructor: messages\_botResults +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + + +### Type: [messages\_BotResults](../types/messages_BotResults.md) + + +### Example: + +``` +$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_channelMessages.md b/docs/old/API_docs_v51/constructors/messages_channelMessages.md new file mode 100644 index 00000000..6156679a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_channelMessages.md @@ -0,0 +1,31 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|collapsed|Array of [MessageGroup](../types/MessageGroup.md) | Optional| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'collapsed' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_chatFull.md b/docs/old/API_docs_v51/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_chats.md b/docs/old/API_docs_v51/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_dhConfig.md b/docs/old/API_docs_v51/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v51/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_dialogs.md b/docs/old/API_docs_v51/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v51/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_foundGifs.md b/docs/old/API_docs_v51/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_messageEditData.md b/docs/old/API_docs_v51/constructors/messages_messageEditData.md new file mode 100644 index 00000000..5e80341c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_messageEditData.md @@ -0,0 +1,26 @@ +--- +title: messages_messageEditData +description: messages_messageEditData attributes, type and example +--- +## Constructor: messages\_messageEditData +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[Bool](../types/Bool.md) | Optional| + + + +### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) + + +### Example: + +``` +$messages_messageEditData = ['_' => 'messages_messageEditData', 'caption' => true, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_messages.md b/docs/old/API_docs_v51/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_messagesSlice.md b/docs/old/API_docs_v51/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_savedGifs.md b/docs/old/API_docs_v51/constructors/messages_savedGifs.md new file mode 100644 index 00000000..57b887ed --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_savedGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_savedGifs +description: messages_savedGifs attributes, type and example +--- +## Constructor: messages\_savedGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|gifs|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_savedGifsNotModified.md b/docs/old/API_docs_v51/constructors/messages_savedGifsNotModified.md new file mode 100644 index 00000000..4f2f604a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_savedGifsNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_savedGifsNotModified +description: messages_savedGifsNotModified attributes, type and example +--- +## Constructor: messages\_savedGifsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v51/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v51/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_stickerSet.md b/docs/old/API_docs_v51/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_stickers.md b/docs/old/API_docs_v51/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v51/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v51/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/nearestDc.md b/docs/old/API_docs_v51/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/notifyAll.md b/docs/old/API_docs_v51/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/notifyChats.md b/docs/old/API_docs_v51/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/notifyPeer.md b/docs/old/API_docs_v51/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/notifyUsers.md b/docs/old/API_docs_v51/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v51/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/null.md b/docs/old/API_docs_v51/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/peerChannel.md b/docs/old/API_docs_v51/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/peerChat.md b/docs/old/API_docs_v51/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v51/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v51/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/peerNotifySettings.md b/docs/old/API_docs_v51/constructors/peerNotifySettings.md new file mode 100644 index 00000000..4834238c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v51/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/peerSettings.md b/docs/old/API_docs_v51/constructors/peerSettings.md new file mode 100644 index 00000000..28041caf --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerSettings.md @@ -0,0 +1,26 @@ +--- +title: peerSettings +description: peerSettings attributes, type and example +--- +## Constructor: peerSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|report\_spam|[Bool](../types/Bool.md) | Optional| + + + +### Type: [PeerSettings](../types/PeerSettings.md) + + +### Example: + +``` +$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/peerUser.md b/docs/old/API_docs_v51/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/photo.md b/docs/old/API_docs_v51/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photoCachedSize.md b/docs/old/API_docs_v51/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photoEmpty.md b/docs/old/API_docs_v51/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photoSize.md b/docs/old/API_docs_v51/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photoSizeEmpty.md b/docs/old/API_docs_v51/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photos_photo.md b/docs/old/API_docs_v51/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photos_photos.md b/docs/old/API_docs_v51/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/photos_photosSlice.md b/docs/old/API_docs_v51/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyKeyChatInvite.md b/docs/old/API_docs_v51/constructors/privacyKeyChatInvite.md new file mode 100644 index 00000000..b7fd53b0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyChatInvite +description: privacyKeyChatInvite attributes, type and example +--- +## Constructor: privacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v51/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v51/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v51/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v51/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v51/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v51/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v51/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v51/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/replyInlineMarkup.md b/docs/old/API_docs_v51/constructors/replyInlineMarkup.md new file mode 100644 index 00000000..e4453700 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/replyInlineMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyInlineMarkup +description: replyInlineMarkup attributes, type and example +--- +## Constructor: replyInlineMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v51/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/replyKeyboardHide.md b/docs/old/API_docs_v51/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v51/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v51/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v51/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v51/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v51/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v51/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v51/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v51/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v51/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v51/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v51/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/stickerPack.md b/docs/old/API_docs_v51/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/stickerSet.md b/docs/old/API_docs_v51/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileGif.md b/docs/old/API_docs_v51/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileJpeg.md b/docs/old/API_docs_v51/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileMov.md b/docs/old/API_docs_v51/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileMp3.md b/docs/old/API_docs_v51/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileMp4.md b/docs/old/API_docs_v51/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_filePartial.md b/docs/old/API_docs_v51/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_filePdf.md b/docs/old/API_docs_v51/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_filePng.md b/docs/old/API_docs_v51/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileUnknown.md b/docs/old/API_docs_v51/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/storage_fileWebp.md b/docs/old/API_docs_v51/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/true.md b/docs/old/API_docs_v51/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateBotCallbackQuery.md b/docs/old/API_docs_v51/constructors/updateBotCallbackQuery.md new file mode 100644 index 00000000..f5ec2720 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateBotCallbackQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotCallbackQuery +description: updateBotCallbackQuery attributes, type and example +--- +## Constructor: updateBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|peer|[Peer](../types/Peer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateBotInlineQuery.md b/docs/old/API_docs_v51/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..78bbff4f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateBotInlineQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineQuery +description: updateBotInlineQuery attributes, type and example +--- +## Constructor: updateBotInlineQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|offset|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateBotInlineSend.md b/docs/old/API_docs_v51/constructors/updateBotInlineSend.md new file mode 100644 index 00000000..846f8978 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateBotInlineSend.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineSend +description: updateBotInlineSend attributes, type and example +--- +## Constructor: updateBotInlineSend +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|id|[string](../types/string.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChannel.md b/docs/old/API_docs_v51/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChannelGroup.md b/docs/old/API_docs_v51/constructors/updateChannelGroup.md new file mode 100644 index 00000000..c2361f9b --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChannelGroup.md @@ -0,0 +1,27 @@ +--- +title: updateChannelGroup +description: updateChannelGroup attributes, type and example +--- +## Constructor: updateChannelGroup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|group|[MessageGroup](../types/MessageGroup.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelGroup = ['_' => 'updateChannelGroup', 'channel_id' => int, 'group' => MessageGroup, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v51/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChannelPinnedMessage.md b/docs/old/API_docs_v51/constructors/updateChannelPinnedMessage.md new file mode 100644 index 00000000..b00702c1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChannelPinnedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateChannelPinnedMessage +description: updateChannelPinnedMessage attributes, type and example +--- +## Constructor: updateChannelPinnedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChannelTooLong.md b/docs/old/API_docs_v51/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..0e6c5f49 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChannelTooLong.md @@ -0,0 +1,27 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatAdmins.md b/docs/old/API_docs_v51/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v51/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v51/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v51/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatParticipants.md b/docs/old/API_docs_v51/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateChatUserTyping.md b/docs/old/API_docs_v51/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateContactLink.md b/docs/old/API_docs_v51/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateContactRegistered.md b/docs/old/API_docs_v51/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateDcOptions.md b/docs/old/API_docs_v51/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v51/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateDeleteMessages.md b/docs/old/API_docs_v51/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateEditChannelMessage.md b/docs/old/API_docs_v51/constructors/updateEditChannelMessage.md new file mode 100644 index 00000000..30f9ad2e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateEditChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditChannelMessage +description: updateEditChannelMessage attributes, type and example +--- +## Constructor: updateEditChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateEditMessage.md b/docs/old/API_docs_v51/constructors/updateEditMessage.md new file mode 100644 index 00000000..cda9fb4c --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateEditMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditMessage +description: updateEditMessage attributes, type and example +--- +## Constructor: updateEditMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v51/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v51/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateEncryption.md b/docs/old/API_docs_v51/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateInlineBotCallbackQuery.md b/docs/old/API_docs_v51/constructors/updateInlineBotCallbackQuery.md new file mode 100644 index 00000000..47df8db5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateInlineBotCallbackQuery.md @@ -0,0 +1,29 @@ +--- +title: updateInlineBotCallbackQuery +description: updateInlineBotCallbackQuery attributes, type and example +--- +## Constructor: updateInlineBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateMessageID.md b/docs/old/API_docs_v51/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNewAuthorization.md b/docs/old/API_docs_v51/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v51/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v51/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNewMessage.md b/docs/old/API_docs_v51/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNewStickerSet.md b/docs/old/API_docs_v51/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateNotifySettings.md b/docs/old/API_docs_v51/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updatePrivacy.md b/docs/old/API_docs_v51/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v51/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v51/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v51/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v51/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateSavedGifs.md b/docs/old/API_docs_v51/constructors/updateSavedGifs.md new file mode 100644 index 00000000..dd610b16 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateSavedGifs.md @@ -0,0 +1,21 @@ +--- +title: updateSavedGifs +description: updateSavedGifs attributes, type and example +--- +## Constructor: updateSavedGifs +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateServiceNotification.md b/docs/old/API_docs_v51/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateShort.md b/docs/old/API_docs_v51/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateShortChatMessage.md b/docs/old/API_docs_v51/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..da6ccd32 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateShortChatMessage.md @@ -0,0 +1,41 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateShortMessage.md b/docs/old/API_docs_v51/constructors/updateShortMessage.md new file mode 100644 index 00000000..9ff35b33 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateShortMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateShortSentMessage.md b/docs/old/API_docs_v51/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..473cfdb7 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateShortSentMessage.md @@ -0,0 +1,33 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|unread|[Bool](../types/Bool.md) | Optional| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateStickerSets.md b/docs/old/API_docs_v51/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v51/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserBlocked.md b/docs/old/API_docs_v51/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserName.md b/docs/old/API_docs_v51/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserPhone.md b/docs/old/API_docs_v51/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserPhoto.md b/docs/old/API_docs_v51/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserStatus.md b/docs/old/API_docs_v51/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateUserTyping.md b/docs/old/API_docs_v51/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updateWebPage.md b/docs/old/API_docs_v51/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates.md b/docs/old/API_docs_v51/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updatesCombined.md b/docs/old/API_docs_v51/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updatesTooLong.md b/docs/old/API_docs_v51/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_channelDifference.md b/docs/old/API_docs_v51/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v51/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v51/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..6737c525 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,36 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|top\_important\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|unread\_important\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_difference.md b/docs/old/API_docs_v51/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v51/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_differenceSlice.md b/docs/old/API_docs_v51/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/updates_state.md b/docs/old/API_docs_v51/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v51/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/upload_file.md b/docs/old/API_docs_v51/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v51/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/user.md b/docs/old/API_docs_v51/constructors/user.md new file mode 100644 index 00000000..efd0a934 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/user.md @@ -0,0 +1,60 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/userEmpty.md b/docs/old/API_docs_v51/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/constructors/userFull.md b/docs/old/API_docs_v51/constructors/userFull.md new file mode 100644 index 00000000..d6a020a5 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|[Bool](../types/Bool.md) | Optional| +|user|[User](../types/User.md) | Required| +|about|[string](../types/string.md) | Optional| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Optional| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Optional| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userProfilePhoto.md b/docs/old/API_docs_v51/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v51/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusEmpty.md b/docs/old/API_docs_v51/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusLastMonth.md b/docs/old/API_docs_v51/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusLastWeek.md b/docs/old/API_docs_v51/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusOffline.md b/docs/old/API_docs_v51/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusOnline.md b/docs/old/API_docs_v51/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/userStatusRecently.md b/docs/old/API_docs_v51/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/vector.md b/docs/old/API_docs_v51/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/wallPaper.md b/docs/old/API_docs_v51/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v51/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/wallPaperSolid.md b/docs/old/API_docs_v51/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v51/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/webPage.md b/docs/old/API_docs_v51/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/webPageEmpty.md b/docs/old/API_docs_v51/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v51/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v51/constructors/webPagePending.md b/docs/old/API_docs_v51/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v51/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v51/index.md b/docs/old/API_docs_v51/index.md new file mode 100644 index 00000000..a1e660c8 --- /dev/null +++ b/docs/old/API_docs_v51/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v51) +description: MadelineProto API documentation (layer v51) +--- +# MadelineProto API documentation (layer v51) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v51/methods/account_changePhone.md b/docs/old/API_docs_v51/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_checkUsername.md b/docs/old/API_docs_v51/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_deleteAccount.md b/docs/old/API_docs_v51/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getAccountTTL.md b/docs/old/API_docs_v51/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getAuthorizations.md b/docs/old/API_docs_v51/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getNotifySettings.md b/docs/old/API_docs_v51/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getPassword.md b/docs/old/API_docs_v51/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getPasswordSettings.md b/docs/old/API_docs_v51/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getPrivacy.md b/docs/old/API_docs_v51/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_getWallPapers.md b/docs/old/API_docs_v51/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_registerDevice.md b/docs/old/API_docs_v51/methods/account_registerDevice.md new file mode 100644 index 00000000..a2f43005 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_registerDevice.md @@ -0,0 +1,43 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|app\_sandbox|[Bool](../types/Bool.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'app_sandbox' => Bool, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_reportPeer.md b/docs/old/API_docs_v51/methods/account_reportPeer.md new file mode 100644 index 00000000..ec2a3db1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_reportPeer.md @@ -0,0 +1,38 @@ +--- +title: account_reportPeer +description: account_reportPeer parameters, return type and example +--- +## Method: account\_reportPeer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_resetAuthorization.md b/docs/old/API_docs_v51/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_resetNotifySettings.md b/docs/old/API_docs_v51/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v51/methods/account_sendChangePhoneCode.md similarity index 100% rename from docs/API_docs_55/methods/account_sendChangePhoneCode.md rename to docs/old/API_docs_v51/methods/account_sendChangePhoneCode.md diff --git a/docs/old/API_docs_v51/methods/account_setAccountTTL.md b/docs/old/API_docs_v51/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_setPrivacy.md b/docs/old/API_docs_v51/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_unregisterDevice.md b/docs/old/API_docs_v51/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v51/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_updateNotifySettings.md b/docs/old/API_docs_v51/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v51/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_updateProfile.md b/docs/old/API_docs_v51/methods/account_updateProfile.md similarity index 100% rename from docs/API_docs_55/methods/account_updateProfile.md rename to docs/old/API_docs_v51/methods/account_updateProfile.md diff --git a/docs/old/API_docs_v51/methods/account_updateStatus.md b/docs/old/API_docs_v51/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/account_updateUsername.md b/docs/old/API_docs_v51/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v51/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v51/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_cancelCode.md b/docs/old/API_docs_v51/methods/auth_cancelCode.md similarity index 100% rename from docs/API_docs_55/methods/auth_cancelCode.md rename to docs/old/API_docs_v51/methods/auth_cancelCode.md diff --git a/docs/old/API_docs_v51/methods/auth_checkPassword.md b/docs/old/API_docs_v51/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_checkPhone.md b/docs/old/API_docs_v51/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_exportAuthorization.md b/docs/old/API_docs_v51/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_importAuthorization.md b/docs/old/API_docs_v51/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v51/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_logOut.md b/docs/old/API_docs_v51/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_recoverPassword.md b/docs/old/API_docs_v51/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v51/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_resendCode.md b/docs/old/API_docs_v51/methods/auth_resendCode.md similarity index 100% rename from docs/API_docs_55/methods/auth_resendCode.md rename to docs/old/API_docs_v51/methods/auth_resendCode.md diff --git a/docs/old/API_docs_v51/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v51/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_sendCode.md b/docs/old/API_docs_v51/methods/auth_sendCode.md new file mode 100644 index 00000000..e3e96527 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_sendCode.md @@ -0,0 +1,42 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_sendInvites.md b/docs/old/API_docs_v51/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_signIn.md b/docs/old/API_docs_v51/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/auth_signUp.md b/docs/old/API_docs_v51/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v51/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_checkUsername.md b/docs/old/API_docs_v51/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_createChannel.md b/docs/old/API_docs_v51/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_deleteChannel.md b/docs/old/API_docs_v51/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_deleteMessages.md b/docs/old/API_docs_v51/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v51/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_editAbout.md b/docs/old/API_docs_v51/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_editAdmin.md b/docs/old/API_docs_v51/methods/channels_editAdmin.md new file mode 100644 index 00000000..ec2492af --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_editPhoto.md b/docs/old/API_docs_v51/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_editTitle.md b/docs/old/API_docs_v51/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_exportInvite.md b/docs/old/API_docs_v51/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_exportMessageLink.md b/docs/old/API_docs_v51/methods/channels_exportMessageLink.md similarity index 100% rename from docs/API_docs_55/methods/channels_exportMessageLink.md rename to docs/old/API_docs_v51/methods/channels_exportMessageLink.md diff --git a/docs/old/API_docs_v51/methods/channels_getChannels.md b/docs/old/API_docs_v51/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getDialogs.md b/docs/old/API_docs_v51/methods/channels_getDialogs.md new file mode 100644 index 00000000..0229088f --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getDialogs.md @@ -0,0 +1,38 @@ +--- +title: channels_getDialogs +description: channels_getDialogs parameters, return type and example +--- +## Method: channels\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->channels->getDialogs(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getFullChannel.md b/docs/old/API_docs_v51/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getImportantHistory.md b/docs/old/API_docs_v51/methods/channels_getImportantHistory.md new file mode 100644 index 00000000..d165db7c --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getImportantHistory.md @@ -0,0 +1,43 @@ +--- +title: channels_getImportantHistory +description: channels_getImportantHistory parameters, return type and example +--- +## Method: channels\_getImportantHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getImportantHistory(['channel' => InputChannel, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getMessages.md b/docs/old/API_docs_v51/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getParticipant.md b/docs/old/API_docs_v51/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_getParticipants.md b/docs/old/API_docs_v51/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_inviteToChannel.md b/docs/old/API_docs_v51/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_joinChannel.md b/docs/old/API_docs_v51/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_kickFromChannel.md b/docs/old/API_docs_v51/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_leaveChannel.md b/docs/old/API_docs_v51/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_readHistory.md b/docs/old/API_docs_v51/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_reportSpam.md b/docs/old/API_docs_v51/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/channels_toggleComments.md b/docs/old/API_docs_v51/methods/channels_toggleComments.md new file mode 100644 index 00000000..aa4493f2 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_toggleComments.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleComments +description: channels_toggleComments parameters, return type and example +--- +## Method: channels\_toggleComments +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleComments(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/channels_toggleInvites.md b/docs/old/API_docs_v51/methods/channels_toggleInvites.md similarity index 100% rename from docs/API_docs_55/methods/channels_toggleInvites.md rename to docs/old/API_docs_v51/methods/channels_toggleInvites.md diff --git a/docs/API_docs_55/methods/channels_toggleSignatures.md b/docs/old/API_docs_v51/methods/channels_toggleSignatures.md similarity index 100% rename from docs/API_docs_55/methods/channels_toggleSignatures.md rename to docs/old/API_docs_v51/methods/channels_toggleSignatures.md diff --git a/docs/API_docs_55/methods/channels_updatePinnedMessage.md b/docs/old/API_docs_v51/methods/channels_updatePinnedMessage.md similarity index 100% rename from docs/API_docs_55/methods/channels_updatePinnedMessage.md rename to docs/old/API_docs_v51/methods/channels_updatePinnedMessage.md diff --git a/docs/old/API_docs_v51/methods/channels_updateUsername.md b/docs/old/API_docs_v51/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v51/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_block.md b/docs/old/API_docs_v51/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_deleteContact.md b/docs/old/API_docs_v51/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_deleteContacts.md b/docs/old/API_docs_v51/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_exportCard.md b/docs/old/API_docs_v51/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_getBlocked.md b/docs/old/API_docs_v51/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_getContacts.md b/docs/old/API_docs_v51/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_getStatuses.md b/docs/old/API_docs_v51/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_importCard.md b/docs/old/API_docs_v51/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_importContacts.md b/docs/old/API_docs_v51/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_resolveUsername.md b/docs/old/API_docs_v51/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_search.md b/docs/old/API_docs_v51/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/contacts_unblock.md b/docs/old/API_docs_v51/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v51/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getAppChangelog.md b/docs/old/API_docs_v51/methods/help_getAppChangelog.md new file mode 100644 index 00000000..01b2fd71 --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getAppChangelog.md @@ -0,0 +1,40 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getAppUpdate.md b/docs/old/API_docs_v51/methods/help_getAppUpdate.md new file mode 100644 index 00000000..759e3d38 --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getAppUpdate.md @@ -0,0 +1,40 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(['device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getConfig.md b/docs/old/API_docs_v51/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getInviteText.md b/docs/old/API_docs_v51/methods/help_getInviteText.md new file mode 100644 index 00000000..e9526bc7 --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getInviteText.md @@ -0,0 +1,37 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getNearestDc.md b/docs/old/API_docs_v51/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getSupport.md b/docs/old/API_docs_v51/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_getTermsOfService.md b/docs/old/API_docs_v51/methods/help_getTermsOfService.md new file mode 100644 index 00000000..e1b0034c --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_getTermsOfService.md @@ -0,0 +1,37 @@ +--- +title: help_getTermsOfService +description: help_getTermsOfService parameters, return type and example +--- +## Method: help\_getTermsOfService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lang\_code|[string](../types/string.md) | Required| + + +### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_TermsOfService = $MadelineProto->help->getTermsOfService(['lang_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/help_saveAppLog.md b/docs/old/API_docs_v51/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v51/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/index.md b/docs/old/API_docs_v51/methods/index.md new file mode 100644 index 00000000..cd3b3d69 --- /dev/null +++ b/docs/old/API_docs_v51/methods/index.md @@ -0,0 +1,362 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'lang_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resendCode](auth_resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getDialogs](channels_getDialogs.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getImportantHistory](channels_getImportantHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleComments](channels_toggleComments.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\['device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_getTermsOfService](help_getTermsOfService.md)(\['lang_code' => [string](../types/string.md), \]) == [$help\_TermsOfService](../types/help_TermsOfService.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['broadcast' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getBotCallbackAnswer](messages_getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md) + +$MadelineProto->[messages_getMessageEditData](messages_getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md) + +$MadelineProto->[messages_getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_hideReportSpam](messages_hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reorderStickerSets](messages_reorderStickerSets.md)(\['order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_search](messages_search.md)(\['important_only' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendInlineBotResult](messages_sendInlineBotResult.md)(\['broadcast' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['broadcast' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v51/methods/initConnection.md b/docs/old/API_docs_v51/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v51/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/invokeAfterMsg.md b/docs/old/API_docs_v51/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v51/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/invokeAfterMsgs.md b/docs/old/API_docs_v51/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v51/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/invokeWithLayer.md b/docs/old/API_docs_v51/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v51/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v51/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v51/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_acceptEncryption.md b/docs/old/API_docs_v51/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_addChatUser.md b/docs/old/API_docs_v51/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_checkChatInvite.md b/docs/old/API_docs_v51/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_createChat.md b/docs/old/API_docs_v51/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_deleteChatUser.md b/docs/old/API_docs_v51/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_deleteHistory.md b/docs/old/API_docs_v51/methods/messages_deleteHistory.md new file mode 100644 index 00000000..1522b679 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_deleteHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_deleteMessages.md b/docs/old/API_docs_v51/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_discardEncryption.md b/docs/old/API_docs_v51/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_editChatAdmin.md b/docs/old/API_docs_v51/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_editChatPhoto.md b/docs/old/API_docs_v51/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_editChatTitle.md b/docs/old/API_docs_v51/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_editInlineBotMessage.md b/docs/old/API_docs_v51/methods/messages_editInlineBotMessage.md similarity index 100% rename from docs/API_docs_55/methods/messages_editInlineBotMessage.md rename to docs/old/API_docs_v51/methods/messages_editInlineBotMessage.md diff --git a/docs/API_docs_55/methods/messages_editMessage.md b/docs/old/API_docs_v51/methods/messages_editMessage.md similarity index 100% rename from docs/API_docs_55/methods/messages_editMessage.md rename to docs/old/API_docs_v51/methods/messages_editMessage.md diff --git a/docs/old/API_docs_v51/methods/messages_exportChatInvite.md b/docs/old/API_docs_v51/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_forwardMessage.md b/docs/old/API_docs_v51/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_forwardMessages.md b/docs/old/API_docs_v51/methods/messages_forwardMessages.md new file mode 100644 index 00000000..8241f07c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_forwardMessages.md @@ -0,0 +1,42 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getAllStickers.md b/docs/old/API_docs_v51/methods/messages_getAllStickers.md new file mode 100644 index 00000000..a9a4d8c0 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getBotCallbackAnswer.md b/docs/old/API_docs_v51/methods/messages_getBotCallbackAnswer.md similarity index 100% rename from docs/API_docs_55/methods/messages_getBotCallbackAnswer.md rename to docs/old/API_docs_v51/methods/messages_getBotCallbackAnswer.md diff --git a/docs/old/API_docs_v51/methods/messages_getChats.md b/docs/old/API_docs_v51/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getDhConfig.md b/docs/old/API_docs_v51/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getDialogs.md b/docs/old/API_docs_v51/methods/messages_getDialogs.md new file mode 100644 index 00000000..85470cba --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getDialogs.md @@ -0,0 +1,40 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v51/methods/messages_getDocumentByHash.md new file mode 100644 index 00000000..9c379bae --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getDocumentByHash.md @@ -0,0 +1,39 @@ +--- +title: messages_getDocumentByHash +description: messages_getDocumentByHash parameters, return type and example +--- +## Method: messages\_getDocumentByHash +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sha256|[bytes](../types/bytes.md) | Required| +|size|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + +### Return type: [Document](../types/Document.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getFullChat.md b/docs/old/API_docs_v51/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getHistory.md b/docs/old/API_docs_v51/methods/messages_getHistory.md similarity index 100% rename from docs/API_docs_55/methods/messages_getHistory.md rename to docs/old/API_docs_v51/methods/messages_getHistory.md diff --git a/docs/API_docs_55/methods/messages_getInlineBotResults.md b/docs/old/API_docs_v51/methods/messages_getInlineBotResults.md similarity index 100% rename from docs/API_docs_55/methods/messages_getInlineBotResults.md rename to docs/old/API_docs_v51/methods/messages_getInlineBotResults.md diff --git a/docs/API_docs_55/methods/messages_getMessageEditData.md b/docs/old/API_docs_v51/methods/messages_getMessageEditData.md similarity index 100% rename from docs/API_docs_55/methods/messages_getMessageEditData.md rename to docs/old/API_docs_v51/methods/messages_getMessageEditData.md diff --git a/docs/old/API_docs_v51/methods/messages_getMessages.md b/docs/old/API_docs_v51/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getMessagesViews.md b/docs/old/API_docs_v51/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getPeerSettings.md b/docs/old/API_docs_v51/methods/messages_getPeerSettings.md similarity index 100% rename from docs/API_docs_55/methods/messages_getPeerSettings.md rename to docs/old/API_docs_v51/methods/messages_getPeerSettings.md diff --git a/docs/old/API_docs_v51/methods/messages_getSavedGifs.md b/docs/old/API_docs_v51/methods/messages_getSavedGifs.md new file mode 100644 index 00000000..29aab1d1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getSavedGifs.md @@ -0,0 +1,37 @@ +--- +title: messages_getSavedGifs +description: messages_getSavedGifs parameters, return type and example +--- +## Method: messages\_getSavedGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getStickerSet.md b/docs/old/API_docs_v51/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getStickers.md b/docs/old/API_docs_v51/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v51/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_hideReportSpam.md b/docs/old/API_docs_v51/methods/messages_hideReportSpam.md similarity index 100% rename from docs/API_docs_55/methods/messages_hideReportSpam.md rename to docs/old/API_docs_v51/methods/messages_hideReportSpam.md diff --git a/docs/old/API_docs_v51/methods/messages_importChatInvite.md b/docs/old/API_docs_v51/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_installStickerSet.md b/docs/old/API_docs_v51/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_migrateChat.md b/docs/old/API_docs_v51/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v51/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_readHistory.md b/docs/old/API_docs_v51/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_readMessageContents.md b/docs/old/API_docs_v51/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_receivedMessages.md b/docs/old/API_docs_v51/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_receivedQueue.md b/docs/old/API_docs_v51/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v51/methods/messages_reorderStickerSets.md new file mode 100644 index 00000000..5857c31b --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_reorderStickerSets.md @@ -0,0 +1,37 @@ +--- +title: messages_reorderStickerSets +description: messages_reorderStickerSets parameters, return type and example +--- +## Method: messages\_reorderStickerSets +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_reportSpam.md b/docs/old/API_docs_v51/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_requestEncryption.md b/docs/old/API_docs_v51/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_saveGif.md b/docs/old/API_docs_v51/methods/messages_saveGif.md new file mode 100644 index 00000000..e006a9d6 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_saveGif.md @@ -0,0 +1,38 @@ +--- +title: messages_saveGif +description: messages_saveGif parameters, return type and example +--- +## Method: messages\_saveGif +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|unsave|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_search.md b/docs/old/API_docs_v51/methods/messages_search.md new file mode 100644 index 00000000..82d49c55 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_search.md @@ -0,0 +1,45 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|important\_only|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['important_only' => Bool, 'peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_searchGifs.md b/docs/old/API_docs_v51/methods/messages_searchGifs.md new file mode 100644 index 00000000..bef02816 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_searchGifs.md @@ -0,0 +1,38 @@ +--- +title: messages_searchGifs +description: messages_searchGifs parameters, return type and example +--- +## Method: messages\_searchGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_searchGlobal.md b/docs/old/API_docs_v51/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendBroadcast.md b/docs/old/API_docs_v51/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendEncrypted.md b/docs/old/API_docs_v51/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v51/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v51/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendInlineBotResult.md b/docs/old/API_docs_v51/methods/messages_sendInlineBotResult.md new file mode 100644 index 00000000..e155982b --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendInlineBotResult.md @@ -0,0 +1,43 @@ +--- +title: messages_sendInlineBotResult +description: messages_sendInlineBotResult parameters, return type and example +--- +## Method: messages\_sendInlineBotResult +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|id|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendInlineBotResult(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendMedia.md b/docs/old/API_docs_v51/methods/messages_sendMedia.md new file mode 100644 index 00000000..2a704dab --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendMedia.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_sendMessage.md b/docs/old/API_docs_v51/methods/messages_sendMessage.md new file mode 100644 index 00000000..16fe7b2c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_sendMessage.md @@ -0,0 +1,45 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'broadcast' => Bool, 'silent' => Bool, 'background' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_setBotCallbackAnswer.md b/docs/old/API_docs_v51/methods/messages_setBotCallbackAnswer.md new file mode 100644 index 00000000..297f721d --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_setBotCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages_setBotCallbackAnswer +description: messages_setBotCallbackAnswer parameters, return type and example +--- +## Method: messages\_setBotCallbackAnswer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|message|[string](../types/string.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v51/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_setInlineBotResults.md b/docs/old/API_docs_v51/methods/messages_setInlineBotResults.md similarity index 100% rename from docs/API_docs_55/methods/messages_setInlineBotResults.md rename to docs/old/API_docs_v51/methods/messages_setInlineBotResults.md diff --git a/docs/old/API_docs_v51/methods/messages_setTyping.md b/docs/old/API_docs_v51/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_startBot.md b/docs/old/API_docs_v51/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v51/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v51/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v51/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/photos_deletePhotos.md b/docs/old/API_docs_v51/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v51/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/photos_getUserPhotos.md b/docs/old/API_docs_v51/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v51/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v51/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v51/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v51/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v51/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/updates_getChannelDifference.md b/docs/old/API_docs_v51/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v51/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/updates_getDifference.md b/docs/old/API_docs_v51/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v51/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/updates_getState.md b/docs/old/API_docs_v51/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v51/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/upload_getFile.md b/docs/old/API_docs_v51/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v51/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v51/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v51/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/upload_saveFilePart.md b/docs/old/API_docs_v51/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v51/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/users_getFullUser.md b/docs/old/API_docs_v51/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v51/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/methods/users_getUsers.md b/docs/old/API_docs_v51/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v51/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/!X.md b/docs/old/API_docs_v51/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v51/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/AccountDaysTTL.md b/docs/old/API_docs_v51/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v51/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v51/types/Authorization.md b/docs/old/API_docs_v51/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v51/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Bool.md b/docs/old/API_docs_v51/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v51/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/BotCommand.md b/docs/old/API_docs_v51/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v51/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/BotInfo.md b/docs/old/API_docs_v51/types/BotInfo.md similarity index 100% rename from docs/API_docs_55/types/BotInfo.md rename to docs/old/API_docs_v51/types/BotInfo.md diff --git a/docs/API_docs_55/types/BotInlineMessage.md b/docs/old/API_docs_v51/types/BotInlineMessage.md similarity index 100% rename from docs/API_docs_55/types/BotInlineMessage.md rename to docs/old/API_docs_v51/types/BotInlineMessage.md diff --git a/docs/API_docs_55/types/BotInlineResult.md b/docs/old/API_docs_v51/types/BotInlineResult.md similarity index 100% rename from docs/API_docs_55/types/BotInlineResult.md rename to docs/old/API_docs_v51/types/BotInlineResult.md diff --git a/docs/old/API_docs_v51/types/ChannelMessagesFilter.md b/docs/old/API_docs_v51/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..9d3f41c2 --- /dev/null +++ b/docs/old/API_docs_v51/types/ChannelMessagesFilter.md @@ -0,0 +1,23 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + +[channelMessagesFilterCollapsed](../constructors/channelMessagesFilterCollapsed.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChannelParticipant.md b/docs/old/API_docs_v51/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v51/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChannelParticipantRole.md b/docs/old/API_docs_v51/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v51/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v51/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v51/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Chat.md b/docs/old/API_docs_v51/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v51/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChatFull.md b/docs/old/API_docs_v51/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v51/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChatInvite.md b/docs/old/API_docs_v51/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v51/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v51/types/ChatParticipant.md b/docs/old/API_docs_v51/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v51/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChatParticipants.md b/docs/old/API_docs_v51/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v51/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ChatPhoto.md b/docs/old/API_docs_v51/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v51/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Config.md b/docs/old/API_docs_v51/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v51/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v51/types/Contact.md b/docs/old/API_docs_v51/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v51/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ContactBlocked.md b/docs/old/API_docs_v51/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v51/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ContactLink.md b/docs/old/API_docs_v51/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v51/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ContactStatus.md b/docs/old/API_docs_v51/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v51/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v51/types/DcOption.md b/docs/old/API_docs_v51/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v51/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Dialog.md b/docs/old/API_docs_v51/types/Dialog.md new file mode 100644 index 00000000..b3f591bb --- /dev/null +++ b/docs/old/API_docs_v51/types/Dialog.md @@ -0,0 +1,21 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + +[dialogChannel](../constructors/dialogChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/DisabledFeature.md b/docs/old/API_docs_v51/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v51/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Document.md b/docs/old/API_docs_v51/types/Document.md new file mode 100644 index 00000000..52c3c5a9 --- /dev/null +++ b/docs/old/API_docs_v51/types/Document.md @@ -0,0 +1,23 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) + + + diff --git a/docs/old/API_docs_v51/types/DocumentAttribute.md b/docs/old/API_docs_v51/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v51/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/EncryptedChat.md b/docs/old/API_docs_v51/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v51/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v51/types/EncryptedFile.md b/docs/old/API_docs_v51/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v51/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/EncryptedMessage.md b/docs/old/API_docs_v51/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v51/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Error.md b/docs/old/API_docs_v51/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v51/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ExportedChatInvite.md b/docs/old/API_docs_v51/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v51/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/API_docs_55/types/ExportedMessageLink.md b/docs/old/API_docs_v51/types/ExportedMessageLink.md similarity index 100% rename from docs/API_docs_55/types/ExportedMessageLink.md rename to docs/old/API_docs_v51/types/ExportedMessageLink.md diff --git a/docs/old/API_docs_v51/types/FileLocation.md b/docs/old/API_docs_v51/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v51/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/FoundGif.md b/docs/old/API_docs_v51/types/FoundGif.md new file mode 100644 index 00000000..e366c303 --- /dev/null +++ b/docs/old/API_docs_v51/types/FoundGif.md @@ -0,0 +1,21 @@ +--- +title: FoundGif +description: constructors and methods of type FoundGif +--- +## Type: FoundGif +[Back to types index](index.md) + + + +### Possible values (constructors): + +[foundGif](../constructors/foundGif.md) + +[foundGifCached](../constructors/foundGifCached.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/GeoPoint.md b/docs/old/API_docs_v51/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v51/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ImportedContact.md b/docs/old/API_docs_v51/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v51/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InlineBotSwitchPM.md b/docs/old/API_docs_v51/types/InlineBotSwitchPM.md similarity index 100% rename from docs/API_docs_55/types/InlineBotSwitchPM.md rename to docs/old/API_docs_v51/types/InlineBotSwitchPM.md diff --git a/docs/old/API_docs_v51/types/InputAppEvent.md b/docs/old/API_docs_v51/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputBotInlineMessage.md b/docs/old/API_docs_v51/types/InputBotInlineMessage.md similarity index 100% rename from docs/API_docs_55/types/InputBotInlineMessage.md rename to docs/old/API_docs_v51/types/InputBotInlineMessage.md diff --git a/docs/API_docs_55/types/InputBotInlineMessageID.md b/docs/old/API_docs_v51/types/InputBotInlineMessageID.md similarity index 100% rename from docs/API_docs_55/types/InputBotInlineMessageID.md rename to docs/old/API_docs_v51/types/InputBotInlineMessageID.md diff --git a/docs/API_docs_55/types/InputBotInlineResult.md b/docs/old/API_docs_v51/types/InputBotInlineResult.md similarity index 100% rename from docs/API_docs_55/types/InputBotInlineResult.md rename to docs/old/API_docs_v51/types/InputBotInlineResult.md diff --git a/docs/old/API_docs_v51/types/InputChannel.md b/docs/old/API_docs_v51/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v51/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputChatPhoto.md b/docs/old/API_docs_v51/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputContact.md b/docs/old/API_docs_v51/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputDocument.md b/docs/old/API_docs_v51/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputEncryptedChat.md b/docs/old/API_docs_v51/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputEncryptedFile.md b/docs/old/API_docs_v51/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputFile.md b/docs/old/API_docs_v51/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputFileLocation.md b/docs/old/API_docs_v51/types/InputFileLocation.md similarity index 100% rename from docs/API_docs_55/types/InputFileLocation.md rename to docs/old/API_docs_v51/types/InputFileLocation.md diff --git a/docs/old/API_docs_v51/types/InputGeoPoint.md b/docs/old/API_docs_v51/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputMedia.md b/docs/old/API_docs_v51/types/InputMedia.md similarity index 100% rename from docs/API_docs_55/types/InputMedia.md rename to docs/old/API_docs_v51/types/InputMedia.md diff --git a/docs/old/API_docs_v51/types/InputNotifyPeer.md b/docs/old/API_docs_v51/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v51/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputPeer.md b/docs/old/API_docs_v51/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v51/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputPeerNotifySettings.md b/docs/old/API_docs_v51/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputPhoto.md b/docs/old/API_docs_v51/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputPhotoCrop.md b/docs/old/API_docs_v51/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/InputPrivacyKey.md b/docs/old/API_docs_v51/types/InputPrivacyKey.md similarity index 100% rename from docs/API_docs_55/types/InputPrivacyKey.md rename to docs/old/API_docs_v51/types/InputPrivacyKey.md diff --git a/docs/old/API_docs_v51/types/InputPrivacyRule.md b/docs/old/API_docs_v51/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v51/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputStickerSet.md b/docs/old/API_docs_v51/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v51/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/InputUser.md b/docs/old/API_docs_v51/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v51/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/KeyboardButton.md b/docs/old/API_docs_v51/types/KeyboardButton.md similarity index 100% rename from docs/API_docs_55/types/KeyboardButton.md rename to docs/old/API_docs_v51/types/KeyboardButton.md diff --git a/docs/old/API_docs_v51/types/KeyboardButtonRow.md b/docs/old/API_docs_v51/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v51/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Message.md b/docs/old/API_docs_v51/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v51/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/MessageAction.md b/docs/old/API_docs_v51/types/MessageAction.md new file mode 100644 index 00000000..76f7d76f --- /dev/null +++ b/docs/old/API_docs_v51/types/MessageAction.md @@ -0,0 +1,41 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + +[messageActionPinMessage](../constructors/messageActionPinMessage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/MessageEntity.md b/docs/old/API_docs_v51/types/MessageEntity.md new file mode 100644 index 00000000..7a0eab25 --- /dev/null +++ b/docs/old/API_docs_v51/types/MessageEntity.md @@ -0,0 +1,39 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/MessageFwdHeader.md b/docs/old/API_docs_v51/types/MessageFwdHeader.md similarity index 100% rename from docs/API_docs_55/types/MessageFwdHeader.md rename to docs/old/API_docs_v51/types/MessageFwdHeader.md diff --git a/docs/old/API_docs_v51/types/MessageGroup.md b/docs/old/API_docs_v51/types/MessageGroup.md new file mode 100644 index 00000000..ac55c826 --- /dev/null +++ b/docs/old/API_docs_v51/types/MessageGroup.md @@ -0,0 +1,19 @@ +--- +title: MessageGroup +description: constructors and methods of type MessageGroup +--- +## Type: MessageGroup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageGroup](../constructors/messageGroup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/MessageMedia.md b/docs/old/API_docs_v51/types/MessageMedia.md similarity index 100% rename from docs/API_docs_55/types/MessageMedia.md rename to docs/old/API_docs_v51/types/MessageMedia.md diff --git a/docs/old/API_docs_v51/types/MessageRange.md b/docs/old/API_docs_v51/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v51/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/MessagesFilter.md b/docs/old/API_docs_v51/types/MessagesFilter.md new file mode 100644 index 00000000..7053e63c --- /dev/null +++ b/docs/old/API_docs_v51/types/MessagesFilter.md @@ -0,0 +1,37 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + +[inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) + +[inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) + +[inputMessagesFilterMusic](../constructors/inputMessagesFilterMusic.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/NearestDc.md b/docs/old/API_docs_v51/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v51/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v51/types/NotifyPeer.md b/docs/old/API_docs_v51/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v51/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Null.md b/docs/old/API_docs_v51/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v51/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Peer.md b/docs/old/API_docs_v51/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v51/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/PeerNotifyEvents.md b/docs/old/API_docs_v51/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v51/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/PeerNotifySettings.md b/docs/old/API_docs_v51/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v51/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/API_docs_55/types/PeerSettings.md b/docs/old/API_docs_v51/types/PeerSettings.md similarity index 100% rename from docs/API_docs_55/types/PeerSettings.md rename to docs/old/API_docs_v51/types/PeerSettings.md diff --git a/docs/old/API_docs_v51/types/Photo.md b/docs/old/API_docs_v51/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v51/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/PhotoSize.md b/docs/old/API_docs_v51/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v51/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/PrivacyKey.md b/docs/old/API_docs_v51/types/PrivacyKey.md similarity index 100% rename from docs/API_docs_55/types/PrivacyKey.md rename to docs/old/API_docs_v51/types/PrivacyKey.md diff --git a/docs/old/API_docs_v51/types/PrivacyRule.md b/docs/old/API_docs_v51/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v51/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v51/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v51/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/API_docs_55/types/ReplyMarkup.md b/docs/old/API_docs_v51/types/ReplyMarkup.md similarity index 100% rename from docs/API_docs_55/types/ReplyMarkup.md rename to docs/old/API_docs_v51/types/ReplyMarkup.md diff --git a/docs/old/API_docs_v51/types/ReportReason.md b/docs/old/API_docs_v51/types/ReportReason.md new file mode 100644 index 00000000..d04f6e1d --- /dev/null +++ b/docs/old/API_docs_v51/types/ReportReason.md @@ -0,0 +1,25 @@ +--- +title: ReportReason +description: constructors and methods of type ReportReason +--- +## Type: ReportReason +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/SendMessageAction.md b/docs/old/API_docs_v51/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v51/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/StickerPack.md b/docs/old/API_docs_v51/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v51/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/StickerSet.md b/docs/old/API_docs_v51/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v51/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/True.md b/docs/old/API_docs_v51/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v51/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Update.md b/docs/old/API_docs_v51/types/Update.md new file mode 100644 index 00000000..74809f33 --- /dev/null +++ b/docs/old/API_docs_v51/types/Update.md @@ -0,0 +1,113 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateChannelGroup](../constructors/updateChannelGroup.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + +[updateNewStickerSet](../constructors/updateNewStickerSet.md) + +[updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) + +[updateStickerSets](../constructors/updateStickerSets.md) + +[updateSavedGifs](../constructors/updateSavedGifs.md) + +[updateBotInlineQuery](../constructors/updateBotInlineQuery.md) + +[updateBotInlineSend](../constructors/updateBotInlineSend.md) + +[updateEditChannelMessage](../constructors/updateEditChannelMessage.md) + +[updateChannelPinnedMessage](../constructors/updateChannelPinnedMessage.md) + +[updateBotCallbackQuery](../constructors/updateBotCallbackQuery.md) + +[updateEditMessage](../constructors/updateEditMessage.md) + +[updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Updates.md b/docs/old/API_docs_v51/types/Updates.md new file mode 100644 index 00000000..c798d23c --- /dev/null +++ b/docs/old/API_docs_v51/types/Updates.md @@ -0,0 +1,89 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->toggleComments](../methods/channels_toggleComments.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + +[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) + +[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) + +[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) + +[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) + +[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) + + + diff --git a/docs/old/API_docs_v51/types/User.md b/docs/old/API_docs_v51/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v51/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v51/types/UserFull.md b/docs/old/API_docs_v51/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v51/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v51/types/UserProfilePhoto.md b/docs/old/API_docs_v51/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v51/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v51/types/UserStatus.md b/docs/old/API_docs_v51/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v51/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/Vector t.md b/docs/old/API_docs_v51/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v51/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/WallPaper.md b/docs/old/API_docs_v51/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v51/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v51/types/WebPage.md b/docs/old/API_docs_v51/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v51/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/X.md b/docs/old/API_docs_v51/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v51/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/account_Authorizations.md b/docs/old/API_docs_v51/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v51/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v51/types/account_Password.md b/docs/old/API_docs_v51/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v51/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v51/types/account_PasswordInputSettings.md b/docs/old/API_docs_v51/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v51/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/account_PasswordSettings.md b/docs/old/API_docs_v51/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v51/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v51/types/account_PrivacyRules.md b/docs/old/API_docs_v51/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v51/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v51/types/auth_Authorization.md b/docs/old/API_docs_v51/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v51/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v51/types/auth_CheckedPhone.md b/docs/old/API_docs_v51/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v51/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/API_docs_55/types/auth_CodeType.md b/docs/old/API_docs_v51/types/auth_CodeType.md similarity index 100% rename from docs/API_docs_55/types/auth_CodeType.md rename to docs/old/API_docs_v51/types/auth_CodeType.md diff --git a/docs/old/API_docs_v51/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v51/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v51/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v51/types/auth_PasswordRecovery.md b/docs/old/API_docs_v51/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v51/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v51/types/auth_SentCode.md b/docs/old/API_docs_v51/types/auth_SentCode.md new file mode 100644 index 00000000..8fcf7337 --- /dev/null +++ b/docs/old/API_docs_v51/types/auth_SentCode.md @@ -0,0 +1,25 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) + + + diff --git a/docs/API_docs_55/types/auth_SentCodeType.md b/docs/old/API_docs_v51/types/auth_SentCodeType.md similarity index 100% rename from docs/API_docs_55/types/auth_SentCodeType.md rename to docs/old/API_docs_v51/types/auth_SentCodeType.md diff --git a/docs/old/API_docs_v51/types/bytes.md b/docs/old/API_docs_v51/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v51/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/channels_ChannelParticipant.md b/docs/old/API_docs_v51/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v51/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v51/types/channels_ChannelParticipants.md b/docs/old/API_docs_v51/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v51/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_Blocked.md b/docs/old/API_docs_v51/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_Contacts.md b/docs/old/API_docs_v51/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_Found.md b/docs/old/API_docs_v51/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_ImportedContacts.md b/docs/old/API_docs_v51/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_Link.md b/docs/old/API_docs_v51/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v51/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v51/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v51/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v51/types/double.md b/docs/old/API_docs_v51/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v51/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/help_AppChangelog.md b/docs/old/API_docs_v51/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v51/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v51/types/help_AppUpdate.md b/docs/old/API_docs_v51/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v51/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v51/types/help_InviteText.md b/docs/old/API_docs_v51/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v51/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v51/types/help_Support.md b/docs/old/API_docs_v51/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v51/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v51/types/help_TermsOfService.md b/docs/old/API_docs_v51/types/help_TermsOfService.md new file mode 100644 index 00000000..b57b19cc --- /dev/null +++ b/docs/old/API_docs_v51/types/help_TermsOfService.md @@ -0,0 +1,21 @@ +--- +title: help_TermsOfService +description: constructors and methods of type help_TermsOfService +--- +## Type: help\_TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_termsOfService](../constructors/help_termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) + + + diff --git a/docs/old/API_docs_v51/types/index.md b/docs/old/API_docs_v51/types/index.md new file mode 100644 index 00000000..3b9890ae --- /dev/null +++ b/docs/old/API_docs_v51/types/index.md @@ -0,0 +1,308 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[BotInlineMessage](BotInlineMessage.md) + +[BotInlineResult](BotInlineResult.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[ExportedMessageLink](ExportedMessageLink.md) + +[FileLocation](FileLocation.md) + +[FoundGif](FoundGif.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InlineBotSwitchPM](InlineBotSwitchPM.md) + +[InputAppEvent](InputAppEvent.md) + +[InputBotInlineMessage](InputBotInlineMessage.md) + +[InputBotInlineMessageID](InputBotInlineMessageID.md) + +[InputBotInlineResult](InputBotInlineResult.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageFwdHeader](MessageFwdHeader.md) + +[MessageGroup](MessageGroup.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[PeerSettings](PeerSettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_CodeType](auth_CodeType.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[auth\_SentCodeType](auth_SentCodeType.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[help\_TermsOfService](help_TermsOfService.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) + +[messages\_BotResults](messages_BotResults.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_FoundGifs](messages_FoundGifs.md) + +[messages\_MessageEditData](messages_MessageEditData.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_SavedGifs](messages_SavedGifs.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v51/types/int.md b/docs/old/API_docs_v51/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v51/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/int128.md b/docs/old/API_docs_v51/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v51/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/int256.md b/docs/old/API_docs_v51/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v51/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/int512.md b/docs/old/API_docs_v51/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v51/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/long.md b/docs/old/API_docs_v51/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v51/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/messages_AffectedHistory.md b/docs/old/API_docs_v51/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_AffectedMessages.md b/docs/old/API_docs_v51/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_AllStickers.md b/docs/old/API_docs_v51/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_55/types/messages_BotCallbackAnswer.md b/docs/old/API_docs_v51/types/messages_BotCallbackAnswer.md similarity index 100% rename from docs/API_docs_55/types/messages_BotCallbackAnswer.md rename to docs/old/API_docs_v51/types/messages_BotCallbackAnswer.md diff --git a/docs/old/API_docs_v51/types/messages_BotResults.md b/docs/old/API_docs_v51/types/messages_BotResults.md new file mode 100644 index 00000000..e07a2e57 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_BotResults.md @@ -0,0 +1,21 @@ +--- +title: messages_BotResults +description: constructors and methods of type messages_BotResults +--- +## Type: messages\_BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_botResults](../constructors/messages_botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_ChatFull.md b/docs/old/API_docs_v51/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_Chats.md b/docs/old/API_docs_v51/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_DhConfig.md b/docs/old/API_docs_v51/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_Dialogs.md b/docs/old/API_docs_v51/types/messages_Dialogs.md new file mode 100644 index 00000000..01689e86 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_Dialogs.md @@ -0,0 +1,25 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + +[$MadelineProto->channels->getDialogs](../methods/channels_getDialogs.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_FoundGifs.md b/docs/old/API_docs_v51/types/messages_FoundGifs.md new file mode 100644 index 00000000..2992f9d7 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_FoundGifs.md @@ -0,0 +1,21 @@ +--- +title: messages_FoundGifs +description: constructors and methods of type messages_FoundGifs +--- +## Type: messages\_FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_foundGifs](../constructors/messages_foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) + + + diff --git a/docs/API_docs_55/types/messages_MessageEditData.md b/docs/old/API_docs_v51/types/messages_MessageEditData.md similarity index 100% rename from docs/API_docs_55/types/messages_MessageEditData.md rename to docs/old/API_docs_v51/types/messages_MessageEditData.md diff --git a/docs/old/API_docs_v51/types/messages_Messages.md b/docs/old/API_docs_v51/types/messages_Messages.md new file mode 100644 index 00000000..89cedf06 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_Messages.md @@ -0,0 +1,35 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getImportantHistory](../methods/channels_getImportantHistory.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_SavedGifs.md b/docs/old/API_docs_v51/types/messages_SavedGifs.md new file mode 100644 index 00000000..0aa766ec --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_SavedGifs.md @@ -0,0 +1,23 @@ +--- +title: messages_SavedGifs +description: constructors and methods of type messages_SavedGifs +--- +## Type: messages\_SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) + +[messages\_savedGifs](../constructors/messages_savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v51/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_StickerSet.md b/docs/old/API_docs_v51/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v51/types/messages_Stickers.md b/docs/old/API_docs_v51/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v51/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v51/types/photos_Photo.md b/docs/old/API_docs_v51/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v51/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v51/types/photos_Photos.md b/docs/old/API_docs_v51/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v51/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v51/types/storage_FileType.md b/docs/old/API_docs_v51/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v51/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v51/types/string.md b/docs/old/API_docs_v51/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v51/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v51/types/updates_ChannelDifference.md b/docs/old/API_docs_v51/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v51/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v51/types/updates_Difference.md b/docs/old/API_docs_v51/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v51/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v51/types/updates_State.md b/docs/old/API_docs_v51/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v51/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v51/types/upload_File.md b/docs/old/API_docs_v51/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v51/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v53/constructors/accountDaysTTL.md b/docs/old/API_docs_v53/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_authorizations.md b/docs/old/API_docs_v53/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_noPassword.md b/docs/old/API_docs_v53/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_password.md b/docs/old/API_docs_v53/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v53/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_passwordSettings.md b/docs/old/API_docs_v53/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/account_privacyRules.md b/docs/old/API_docs_v53/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_authorization.md b/docs/old/API_docs_v53/constructors/auth_authorization.md new file mode 100644 index 00000000..929d6231 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_authorization.md @@ -0,0 +1,26 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_checkedPhone.md b/docs/old/API_docs_v53/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_codeTypeCall.md b/docs/old/API_docs_v53/constructors/auth_codeTypeCall.md new file mode 100644 index 00000000..a87bfff1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_codeTypeCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeCall +description: auth_codeTypeCall attributes, type and example +--- +## Constructor: auth\_codeTypeCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeCall = ['_' => 'auth_codeTypeCall', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_codeTypeFlashCall.md b/docs/old/API_docs_v53/constructors/auth_codeTypeFlashCall.md new file mode 100644 index 00000000..9bc67f24 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_codeTypeFlashCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeFlashCall +description: auth_codeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_codeTypeFlashCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeFlashCall = ['_' => 'auth_codeTypeFlashCall', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_codeTypeSms.md b/docs/old/API_docs_v53/constructors/auth_codeTypeSms.md new file mode 100644 index 00000000..0d45357a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_codeTypeSms.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeSms +description: auth_codeTypeSms attributes, type and example +--- +## Constructor: auth\_codeTypeSms +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeSms = ['_' => 'auth_codeTypeSms', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v53/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v53/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_sentCode.md b/docs/old/API_docs_v53/constructors/auth_sentCode.md new file mode 100644 index 00000000..53b4d681 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_sentCode.md @@ -0,0 +1,30 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Optional| +|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_sentCodeTypeApp.md b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeApp.md new file mode 100644 index 00000000..2ee592b4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeApp.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeApp +description: auth_sentCodeTypeApp attributes, type and example +--- +## Constructor: auth\_sentCodeTypeApp +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeApp = ['_' => 'auth_sentCodeTypeApp', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_sentCodeTypeCall.md b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeCall.md new file mode 100644 index 00000000..d681883b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeCall +description: auth_sentCodeTypeCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeCall = ['_' => 'auth_sentCodeTypeCall', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md new file mode 100644 index 00000000..95efd88f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeFlashCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeFlashCall +description: auth_sentCodeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeFlashCall = ['_' => 'auth_sentCodeTypeFlashCall', 'pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/auth_sentCodeTypeSms.md b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeSms.md new file mode 100644 index 00000000..95899956 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/auth_sentCodeTypeSms.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeSms +description: auth_sentCodeTypeSms attributes, type and example +--- +## Constructor: auth\_sentCodeTypeSms +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeSms = ['_' => 'auth_sentCodeTypeSms', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/authorization.md b/docs/old/API_docs_v53/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/boolFalse.md b/docs/old/API_docs_v53/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/boolTrue.md b/docs/old/API_docs_v53/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/botCommand.md b/docs/old/API_docs_v53/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInfo.md b/docs/old/API_docs_v53/constructors/botInfo.md new file mode 100644 index 00000000..63be7e80 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInfo.md @@ -0,0 +1,28 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMediaResult.md b/docs/old/API_docs_v53/constructors/botInlineMediaResult.md new file mode 100644 index 00000000..ba366745 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMediaResult.md @@ -0,0 +1,32 @@ +--- +title: botInlineMediaResult +description: botInlineMediaResult attributes, type and example +--- +## Constructor: botInlineMediaResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Optional| +|document|[Document](../types/Document.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMessageMediaAuto.md b/docs/old/API_docs_v53/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..2e94b63f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaAuto +description: botInlineMessageMediaAuto attributes, type and example +--- +## Constructor: botInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMessageMediaContact.md b/docs/old/API_docs_v53/constructors/botInlineMessageMediaContact.md new file mode 100644 index 00000000..287d4826 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageMediaContact +description: botInlineMessageMediaContact attributes, type and example +--- +## Constructor: botInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMessageMediaGeo.md b/docs/old/API_docs_v53/constructors/botInlineMessageMediaGeo.md new file mode 100644 index 00000000..f59c902a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaGeo +description: botInlineMessageMediaGeo attributes, type and example +--- +## Constructor: botInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMessageMediaVenue.md b/docs/old/API_docs_v53/constructors/botInlineMessageMediaVenue.md new file mode 100644 index 00000000..e719bb56 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: botInlineMessageMediaVenue +description: botInlineMessageMediaVenue attributes, type and example +--- +## Constructor: botInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineMessageText.md b/docs/old/API_docs_v53/constructors/botInlineMessageText.md new file mode 100644 index 00000000..a0f45747 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageText +description: botInlineMessageText attributes, type and example +--- +## Constructor: botInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/botInlineResult.md b/docs/old/API_docs_v53/constructors/botInlineResult.md new file mode 100644 index 00000000..0ce5fe1e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/botInlineResult.md @@ -0,0 +1,37 @@ +--- +title: botInlineResult +description: botInlineResult attributes, type and example +--- +## Constructor: botInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channel.md b/docs/old/API_docs_v53/constructors/channel.md new file mode 100644 index 00000000..1b7ba64d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channel.md @@ -0,0 +1,58 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|democracy|[Bool](../types/Bool.md) | Optional| +|signatures|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/channelForbidden.md b/docs/old/API_docs_v53/constructors/channelForbidden.md new file mode 100644 index 00000000..36b7ac28 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelForbidden.md @@ -0,0 +1,43 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/channelFull.md b/docs/old/API_docs_v53/constructors/channelFull.md new file mode 100644 index 00000000..33c11b23 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelFull.md @@ -0,0 +1,42 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|can\_set\_username|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| +|pinned\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelMessagesFilter.md b/docs/old/API_docs_v53/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..4b908c3b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelMessagesFilter.md @@ -0,0 +1,27 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v53/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipant.md b/docs/old/API_docs_v53/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantCreator.md b/docs/old/API_docs_v53/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantEditor.md b/docs/old/API_docs_v53/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantKicked.md b/docs/old/API_docs_v53/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantModerator.md b/docs/old/API_docs_v53/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantSelf.md b/docs/old/API_docs_v53/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v53/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantsBots.md b/docs/old/API_docs_v53/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v53/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v53/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelRoleEditor.md b/docs/old/API_docs_v53/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelRoleEmpty.md b/docs/old/API_docs_v53/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channelRoleModerator.md b/docs/old/API_docs_v53/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channels_channelParticipant.md b/docs/old/API_docs_v53/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/channels_channelParticipants.md b/docs/old/API_docs_v53/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chat.md b/docs/old/API_docs_v53/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/chatEmpty.md b/docs/old/API_docs_v53/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/chatForbidden.md b/docs/old/API_docs_v53/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/chatFull.md b/docs/old/API_docs_v53/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatInvite.md b/docs/old/API_docs_v53/constructors/chatInvite.md new file mode 100644 index 00000000..74ee4281 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatInvite.md @@ -0,0 +1,30 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatInviteAlready.md b/docs/old/API_docs_v53/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatInviteEmpty.md b/docs/old/API_docs_v53/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatInviteExported.md b/docs/old/API_docs_v53/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatParticipant.md b/docs/old/API_docs_v53/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v53/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatParticipantCreator.md b/docs/old/API_docs_v53/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatParticipants.md b/docs/old/API_docs_v53/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v53/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatPhoto.md b/docs/old/API_docs_v53/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v53/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/config.md b/docs/old/API_docs_v53/constructors/config.md new file mode 100644 index 00000000..4c09809f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/config.md @@ -0,0 +1,46 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|edit\_time\_limit|[int](../types/int.md) | Required| +|rating\_e\_decay|[int](../types/int.md) | Required| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contact.md b/docs/old/API_docs_v53/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactBlocked.md b/docs/old/API_docs_v53/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactLinkContact.md b/docs/old/API_docs_v53/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v53/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactLinkNone.md b/docs/old/API_docs_v53/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactLinkUnknown.md b/docs/old/API_docs_v53/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contactStatus.md b/docs/old/API_docs_v53/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_blocked.md b/docs/old/API_docs_v53/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v53/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_contacts.md b/docs/old/API_docs_v53/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v53/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_found.md b/docs/old/API_docs_v53/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_importedContacts.md b/docs/old/API_docs_v53/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_link.md b/docs/old/API_docs_v53/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v53/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_topPeers.md b/docs/old/API_docs_v53/constructors/contacts_topPeers.md new file mode 100644 index 00000000..d0e93d2d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_topPeers.md @@ -0,0 +1,28 @@ +--- +title: contacts_topPeers +description: contacts_topPeers attributes, type and example +--- +## Constructor: contacts\_topPeers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) + + +### Example: + +``` +$contacts_topPeers = ['_' => 'contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/contacts_topPeersNotModified.md b/docs/old/API_docs_v53/constructors/contacts_topPeersNotModified.md new file mode 100644 index 00000000..2e5c6292 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/contacts_topPeersNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_topPeersNotModified +description: contacts_topPeersNotModified attributes, type and example +--- +## Constructor: contacts\_topPeersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) + + +### Example: + +``` +$contacts_topPeersNotModified = ['_' => 'contacts_topPeersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/dcOption.md b/docs/old/API_docs_v53/constructors/dcOption.md new file mode 100644 index 00000000..b588c1a4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/dcOption.md @@ -0,0 +1,31 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|tcpo\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/dialog.md b/docs/old/API_docs_v53/constructors/dialog.md new file mode 100644 index 00000000..540b3667 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/dialog.md @@ -0,0 +1,33 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Optional| +|draft|[DraftMessage](../types/DraftMessage.md) | Optional| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/disabledFeature.md b/docs/old/API_docs_v53/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/document.md b/docs/old/API_docs_v53/constructors/document.md new file mode 100644 index 00000000..f05cbaa3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/document.md @@ -0,0 +1,33 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v53/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeAudio.md b/docs/old/API_docs_v53/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..c4c0eebf --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeAudio.md @@ -0,0 +1,30 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|voice|[Bool](../types/Bool.md) | Optional| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Optional| +|performer|[string](../types/string.md) | Optional| +|waveform|[bytes](../types/bytes.md) | Optional| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeFilename.md b/docs/old/API_docs_v53/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v53/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeSticker.md b/docs/old/API_docs_v53/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentAttributeVideo.md b/docs/old/API_docs_v53/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/documentEmpty.md b/docs/old/API_docs_v53/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/draftMessage.md b/docs/old/API_docs_v53/constructors/draftMessage.md new file mode 100644 index 00000000..f094b0df --- /dev/null +++ b/docs/old/API_docs_v53/constructors/draftMessage.md @@ -0,0 +1,30 @@ +--- +title: draftMessage +description: draftMessage attributes, type and example +--- +## Constructor: draftMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|date|[int](../types/int.md) | Required| + + + +### Type: [DraftMessage](../types/DraftMessage.md) + + +### Example: + +``` +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [Vector t], 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/draftMessageEmpty.md b/docs/old/API_docs_v53/constructors/draftMessageEmpty.md new file mode 100644 index 00000000..bb51b163 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/draftMessageEmpty.md @@ -0,0 +1,21 @@ +--- +title: draftMessageEmpty +description: draftMessageEmpty attributes, type and example +--- +## Constructor: draftMessageEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [DraftMessage](../types/DraftMessage.md) + + +### Example: + +``` +$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedChat.md b/docs/old/API_docs_v53/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v53/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v53/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedChatRequested.md b/docs/old/API_docs_v53/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v53/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedFile.md b/docs/old/API_docs_v53/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v53/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedMessage.md b/docs/old/API_docs_v53/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/encryptedMessageService.md b/docs/old/API_docs_v53/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/error.md b/docs/old/API_docs_v53/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/exportedMessageLink.md b/docs/old/API_docs_v53/constructors/exportedMessageLink.md new file mode 100644 index 00000000..95f91e02 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/exportedMessageLink.md @@ -0,0 +1,26 @@ +--- +title: exportedMessageLink +description: exportedMessageLink attributes, type and example +--- +## Constructor: exportedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedMessageLink](../types/ExportedMessageLink.md) + + +### Example: + +``` +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/fileLocation.md b/docs/old/API_docs_v53/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v53/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/foundGif.md b/docs/old/API_docs_v53/constructors/foundGif.md new file mode 100644 index 00000000..1db8cfd9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/foundGif.md @@ -0,0 +1,31 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/foundGifCached.md b/docs/old/API_docs_v53/constructors/foundGifCached.md new file mode 100644 index 00000000..93b3f4bd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/foundGifCached.md @@ -0,0 +1,28 @@ +--- +title: foundGifCached +description: foundGifCached attributes, type and example +--- +## Constructor: foundGifCached +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/geoPoint.md b/docs/old/API_docs_v53/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/geoPointEmpty.md b/docs/old/API_docs_v53/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_appChangelog.md b/docs/old/API_docs_v53/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v53/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_appUpdate.md b/docs/old/API_docs_v53/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_inviteText.md b/docs/old/API_docs_v53/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_noAppUpdate.md b/docs/old/API_docs_v53/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_support.md b/docs/old/API_docs_v53/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/help_termsOfService.md b/docs/old/API_docs_v53/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/importedContact.md b/docs/old/API_docs_v53/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/index.md b/docs/old/API_docs_v53/constructors/index.md new file mode 100644 index 00000000..77da7156 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/index.md @@ -0,0 +1,1211 @@ +--- +title: Constructors +description: List of constructors +--- +# Constructors +[Back to API documentation index](..) + + + +*** +

[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \]; + +*** +

[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \]; + +[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \]; + +[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \]; + +[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \]; + +[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$auth\_authorization](../constructors/auth_authorization.md) = \['user' => [User](../types/User.md), \]; + +[$auth\_checkedPhone](../constructors/auth_checkedPhone.md) = \['phone_registered' => [Bool](../types/Bool.md), \]; + +[$auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) = \[\]; + +[$auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) = \[\]; + +[$auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) = \[\]; + +[$auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) = \['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \]; + +[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth\_SentCodeType](../types/auth_SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth\_CodeType](../types/auth_CodeType.md), 'timeout' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) = \['length' => [int](../types/int.md), \]; + +[$auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) = \['pattern' => [string](../types/string.md), \]; + +[$auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) = \['length' => [int](../types/int.md), \]; + +*** +

[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \]; + +*** +

[$boolFalse](../constructors/boolFalse.md) = \[\]; + +*** +

[$boolTrue](../constructors/boolTrue.md) = \[\]; + +*** +

[$botCommand](../constructors/botCommand.md) = \['command' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$botInfo](../constructors/botInfo.md) = \['user_id' => [int](../types/int.md), 'description' => [string](../types/string.md), 'commands' => \[[BotCommand](../types/BotCommand.md)\], \]; + +*** +

[$botInlineMediaResult](../constructors/botInlineMediaResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineMessageText](../constructors/botInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$botInlineResult](../constructors/botInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \]; + +*** +

[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), \]; + +*** +

[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), \]; + +*** +

[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), \]; + +*** +

[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \]; + +*** +

[$channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) = \[\]; + +*** +

[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\]; + +*** +

[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\]; + +*** +

[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\]; + +*** +

[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\]; + +*** +

[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\]; + +*** +

[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\]; + +*** +

[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\]; + +*** +

[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \]; + +[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \]; + +*** +

[$chatEmpty](../constructors/chatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatFull](../constructors/chatFull.md) = \['id' => [int](../types/int.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], \]; + +*** +

[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), \]; + +*** +

[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \]; + +*** +

[$chatInviteEmpty](../constructors/chatInviteEmpty.md) = \[\]; + +*** +

[$chatInviteExported](../constructors/chatInviteExported.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$chatParticipant](../constructors/chatParticipant.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantAdmin](../constructors/chatParticipantAdmin.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$chatParticipantCreator](../constructors/chatParticipantCreator.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$chatParticipants](../constructors/chatParticipants.md) = \['chat_id' => [int](../types/int.md), 'participants' => \[[ChatParticipant](../types/ChatParticipant.md)\], 'version' => [int](../types/int.md), \]; + +*** +

[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \]; + +*** +

[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\]; + +*** +

[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \]; + +*** +

[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \]; + +*** +

[$contactBlocked](../constructors/contactBlocked.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$contactLinkContact](../constructors/contactLinkContact.md) = \[\]; + +*** +

[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\]; + +*** +

[$contactLinkNone](../constructors/contactLinkNone.md) = \[\]; + +*** +

[$contactLinkUnknown](../constructors/contactLinkUnknown.md) = \[\]; + +*** +

[$contactStatus](../constructors/contactStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$contacts\_blocked](../constructors/contacts_blocked.md) = \['blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) = \['count' => [int](../types/int.md), 'blocked' => \[[ContactBlocked](../types/ContactBlocked.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contacts](../constructors/contacts_contacts.md) = \['contacts' => \[[Contact](../types/Contact.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) = \[\]; + +[$contacts\_found](../constructors/contacts_found.md) = \['results' => \[[Peer](../types/Peer.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_importedContacts](../constructors/contacts_importedContacts.md) = \['imported' => \[[ImportedContact](../types/ImportedContact.md)\], 'retry_contacts' => \[[long](../types/long.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_link](../constructors/contacts_link.md) = \['my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), 'user' => [User](../types/User.md), \]; + +[$contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) = \['peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_topPeers](../constructors/contacts_topPeers.md) = \['categories' => \[[TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) = \[\]; + +*** +

[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \]; + +*** +

[$dialog](../constructors/dialog.md) = \['peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \]; + +*** +

[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \]; + +*** +

[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \]; + +*** +

[$documentAttributeAnimated](../constructors/documentAttributeAnimated.md) = \[\]; + +*** +

[$documentAttributeAudio](../constructors/documentAttributeAudio.md) = \['voice' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), 'waveform' => [bytes](../types/bytes.md), \]; + +*** +

[$documentAttributeFilename](../constructors/documentAttributeFilename.md) = \['file_name' => [string](../types/string.md), \]; + +*** +

[$documentAttributeImageSize](../constructors/documentAttributeImageSize.md) = \['w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentAttributeSticker](../constructors/documentAttributeSticker.md) = \['alt' => [string](../types/string.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]; + +*** +

[$documentAttributeVideo](../constructors/documentAttributeVideo.md) = \['duration' => [int](../types/int.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$documentEmpty](../constructors/documentEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$draftMessage](../constructors/draftMessage.md) = \['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'date' => [int](../types/int.md), \]; + +*** +

[$draftMessageEmpty](../constructors/draftMessageEmpty.md) = \[\]; + +*** +

[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]; + +*** +

[$encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatEmpty](../constructors/encryptedChatEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$encryptedChatRequested](../constructors/encryptedChatRequested.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]; + +*** +

[$encryptedChatWaiting](../constructors/encryptedChatWaiting.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), \]; + +*** +

[$encryptedFile](../constructors/encryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$encryptedFileEmpty](../constructors/encryptedFileEmpty.md) = \[\]; + +*** +

[$encryptedMessage](../constructors/encryptedMessage.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +*** +

[$encryptedMessageService](../constructors/encryptedMessageService.md) = \['chat_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$error](../constructors/error.md) = \['code' => [int](../types/int.md), 'text' => [string](../types/string.md), \]; + +*** +

[$exportedMessageLink](../constructors/exportedMessageLink.md) = \['link' => [string](../types/string.md), \]; + +*** +

[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$foundGif](../constructors/foundGif.md) = \['url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \]; + +*** +

[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$geoPoint](../constructors/geoPoint.md) = \['long' => [double](../types/double.md), 'lat' => [double](../types/double.md), \]; + +*** +

[$geoPointEmpty](../constructors/geoPointEmpty.md) = \[\]; + +*** +

[$help\_appChangelog](../constructors/help_appChangelog.md) = \['text' => [string](../types/string.md), \]; + +[$help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) = \[\]; + +[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \]; + +[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \]; + +[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\]; + +[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \]; + +[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \]; + +*** +

[$inlineBotSwitchPM](../constructors/inlineBotSwitchPM.md) = \['text' => [string](../types/string.md), 'start_param' => [string](../types/string.md), \]; + +*** +

[$inputAppEvent](../constructors/inputAppEvent.md) = \['time' => [double](../types/double.md), 'type' => [string](../types/string.md), 'peer' => [long](../types/long.md), 'data' => [string](../types/string.md), \]; + +*** +

[$inputBotInlineMessageID](../constructors/inputBotInlineMessageID.md) = \['dc_id' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) = \['caption' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]; + +*** +

[$inputBotInlineResult](../constructors/inputBotInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'document' => [InputDocument](../types/InputDocument.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputBotInlineResultPhoto](../constructors/inputBotInlineResultPhoto.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'photo' => [InputPhoto](../types/InputPhoto.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \]; + +*** +

[$inputChannel](../constructors/inputChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\]; + +*** +

[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) = \[\]; + +*** +

[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]; + +*** +

[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\]; + +*** +

[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFile](../constructors/inputEncryptedFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) = \[\]; + +*** +

[$inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'key_fingerprint' => [int](../types/int.md), \]; + +*** +

[$inputFile](../constructors/inputFile.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), 'md5_checksum' => [string](../types/string.md), \]; + +*** +

[$inputFileBig](../constructors/inputFileBig.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'name' => [string](../types/string.md), \]; + +*** +

[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \]; + +*** +

[$inputGeoPoint](../constructors/inputGeoPoint.md) = \['lat' => [double](../types/double.md), 'long' => [double](../types/double.md), \]; + +*** +

[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\]; + +*** +

[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaEmpty](../constructors/inputMediaEmpty.md) = \[\]; + +*** +

[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]; + +*** +

[$inputMediaGifExternal](../constructors/inputMediaGifExternal.md) = \['url' => [string](../types/string.md), 'q' => [string](../types/string.md), \]; + +*** +

[$inputMediaPhoto](../constructors/inputMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), \]; + +*** +

[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$inputMessageEntityMentionName](../constructors/inputMessageEntityMentionName.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]; + +*** +

[$inputMessagesFilterChatPhotos](../constructors/inputMessagesFilterChatPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\]; + +*** +

[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\]; + +*** +

[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\]; + +*** +

[$inputMessagesFilterMusic](../constructors/inputMessagesFilterMusic.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) = \[\]; + +*** +

[$inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) = \[\]; + +*** +

[$inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) = \[\]; + +*** +

[$inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) = \[\]; + +*** +

[$inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) = \[\]; + +*** +

[$inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) = \[\]; + +*** +

[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\]; + +*** +

[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\]; + +*** +

[$inputNotifyPeer](../constructors/inputNotifyPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \]; + +*** +

[$inputNotifyUsers](../constructors/inputNotifyUsers.md) = \[\]; + +*** +

[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\]; + +*** +

[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\]; + +*** +

[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\]; + +*** +

[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \]; + +*** +

[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\]; + +*** +

[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhoneContact](../constructors/inputPhoneContact.md) = \['client_id' => [long](../types/long.md), 'phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]; + +*** +

[$inputPhoto](../constructors/inputPhoto.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputPhotoCrop](../constructors/inputPhotoCrop.md) = \['crop_left' => [double](../types/double.md), 'crop_top' => [double](../types/double.md), 'crop_width' => [double](../types/double.md), \]; + +*** +

[$inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) = \[\]; + +*** +

[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\]; + +*** +

[$inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) = \[\]; + +*** +

[$inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\]; + +*** +

[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\]; + +*** +

[$inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) = \['users' => \[[InputUser](../types/InputUser.md)\], \]; + +*** +

[$inputReportReasonOther](../constructors/inputReportReasonOther.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$inputReportReasonPornography](../constructors/inputReportReasonPornography.md) = \[\]; + +*** +

[$inputReportReasonSpam](../constructors/inputReportReasonSpam.md) = \[\]; + +*** +

[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\]; + +*** +

[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\]; + +*** +

[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \]; + +*** +

[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \]; + +*** +

[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\]; + +*** +

[$inputUserSelf](../constructors/inputUserSelf.md) = \[\]; + +*** +

[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonCallback](../constructors/keyboardButtonCallback.md) = \['text' => [string](../types/string.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$keyboardButtonRequestGeoLocation](../constructors/keyboardButtonRequestGeoLocation.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRequestPhone](../constructors/keyboardButtonRequestPhone.md) = \['text' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonRow](../constructors/keyboardButtonRow.md) = \['buttons' => \[[KeyboardButton](../types/KeyboardButton.md)\], \]; + +*** +

[$keyboardButtonSwitchInline](../constructors/keyboardButtonSwitchInline.md) = \['text' => [string](../types/string.md), 'query' => [string](../types/string.md), \]; + +*** +

[$keyboardButtonUrl](../constructors/keyboardButtonUrl.md) = \['text' => [string](../types/string.md), 'url' => [string](../types/string.md), \]; + +*** +

[$message](../constructors/message.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), \]; + +*** +

[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) = \['title' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatAddUser](../constructors/messageActionChatAddUser.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatCreate](../constructors/messageActionChatCreate.md) = \['title' => [string](../types/string.md), 'users' => \[[int](../types/int.md)\], \]; + +*** +

[$messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) = \[\]; + +*** +

[$messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) = \['photo' => [Photo](../types/Photo.md), \]; + +*** +

[$messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) = \['title' => [string](../types/string.md), \]; + +*** +

[$messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) = \['inviter_id' => [int](../types/int.md), \]; + +*** +

[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\]; + +*** +

[$messageActionHistoryClear](../constructors/messageActionHistoryClear.md) = \[\]; + +*** +

[$messageActionPinMessage](../constructors/messageActionPinMessage.md) = \[\]; + +*** +

[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$messageEntityBold](../constructors/messageEntityBold.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityEmail](../constructors/messageEntityEmail.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityHashtag](../constructors/messageEntityHashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityItalic](../constructors/messageEntityItalic.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMention](../constructors/messageEntityMention.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityMentionName](../constructors/messageEntityMentionName.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \]; + +*** +

[$messageEntityTextUrl](../constructors/messageEntityTextUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'url' => [string](../types/string.md), \]; + +*** +

[$messageEntityUnknown](../constructors/messageEntityUnknown.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \]; + +*** +

[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), \]; + +*** +

[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]; + +*** +

[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaEmpty](../constructors/messageMediaEmpty.md) = \[\]; + +*** +

[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \]; + +*** +

[$messageMediaPhoto](../constructors/messageMediaPhoto.md) = \['photo' => [Photo](../types/Photo.md), 'caption' => [string](../types/string.md), \]; + +*** +

[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\]; + +*** +

[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \]; + +*** +

[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \]; + +*** +

[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \]; + +*** +

[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \]; + +[$messages\_affectedMessages](../constructors/messages_affectedMessages.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +[$messages\_allStickers](../constructors/messages_allStickers.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSet](../types/StickerSet.md)\], \]; + +[$messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) = \[\]; + +[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), \]; + +[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], \]; + +[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chatFull](../constructors/messages_chatFull.md) = \['full_chat' => [ChatFull](../types/ChatFull.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_chats](../constructors/messages_chats.md) = \['chats' => \[[Chat](../types/Chat.md)\], \]; + +[$messages\_dhConfig](../constructors/messages_dhConfig.md) = \['g' => [int](../types/int.md), 'p' => [bytes](../types/bytes.md), 'version' => [int](../types/int.md), 'random' => [bytes](../types/bytes.md), \]; + +[$messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) = \['random' => [bytes](../types/bytes.md), \]; + +[$messages\_dialogs](../constructors/messages_dialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) = \['count' => [int](../types/int.md), 'dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \]; + +[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \]; + +[$messages\_messages](../constructors/messages_messages.md) = \['messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$messages\_savedGifs](../constructors/messages_savedGifs.md) = \['hash' => [int](../types/int.md), 'gifs' => \[[Document](../types/Document.md)\], \]; + +[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\]; + +[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \]; + +[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \]; + +[$messages\_stickerSet](../constructors/messages_stickerSet.md) = \['set' => [StickerSet](../types/StickerSet.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'documents' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \]; + +[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\]; + +*** +

[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \]; + +*** +

[$notifyAll](../constructors/notifyAll.md) = \[\]; + +*** +

[$notifyChats](../constructors/notifyChats.md) = \[\]; + +*** +

[$notifyPeer](../constructors/notifyPeer.md) = \['peer' => [Peer](../types/Peer.md), \]; + +*** +

[$notifyUsers](../constructors/notifyUsers.md) = \[\]; + +*** +

[$null](../constructors/null.md) = \[\]; + +*** +

[$peerChannel](../constructors/peerChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\]; + +*** +

[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\]; + +*** +

[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \]; + +*** +

[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\]; + +*** +

[$peerSettings](../constructors/peerSettings.md) = \['report_spam' => [Bool](../types/Bool.md), \]; + +*** +

[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \]; + +*** +

[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \]; + +*** +

[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$photoEmpty](../constructors/photoEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'size' => [int](../types/int.md), \]; + +*** +

[$photoSizeEmpty](../constructors/photoSizeEmpty.md) = \['type' => [string](../types/string.md), \]; + +*** +

[$photos\_photo](../constructors/photos_photo.md) = \['photo' => [Photo](../types/Photo.md), 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photos](../constructors/photos_photos.md) = \['photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \]; + +*** +

[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\]; + +*** +

[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\]; + +*** +

[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\]; + +*** +

[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\]; + +*** +

[$privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\]; + +*** +

[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\]; + +*** +

[$privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) = \['users' => \[[int](../types/int.md)\], \]; + +*** +

[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$replyInlineMarkup](../constructors/replyInlineMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) = \['single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardHide](../constructors/replyKeyboardHide.md) = \['selective' => [Bool](../types/Bool.md), \]; + +*** +

[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \]; + +*** +

[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\]; + +*** +

[$sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) = \[\]; + +*** +

[$sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) = \[\]; + +*** +

[$sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) = \[\]; + +*** +

[$sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) = \[\]; + +*** +

[$sendMessageTypingAction](../constructors/sendMessageTypingAction.md) = \[\]; + +*** +

[$sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) = \['progress' => [int](../types/int.md), \]; + +*** +

[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \]; + +*** +

[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'disabled' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]; + +*** +

[$storage\_fileGif](../constructors/storage_fileGif.md) = \[\]; + +[$storage\_fileJpeg](../constructors/storage_fileJpeg.md) = \[\]; + +[$storage\_fileMov](../constructors/storage_fileMov.md) = \[\]; + +[$storage\_fileMp3](../constructors/storage_fileMp3.md) = \[\]; + +[$storage\_fileMp4](../constructors/storage_fileMp4.md) = \[\]; + +[$storage\_filePartial](../constructors/storage_filePartial.md) = \[\]; + +[$storage\_filePdf](../constructors/storage_filePdf.md) = \[\]; + +[$storage\_filePng](../constructors/storage_filePng.md) = \[\]; + +[$storage\_fileUnknown](../constructors/storage_fileUnknown.md) = \[\]; + +[$storage\_fileWebp](../constructors/storage_fileWebp.md) = \[\]; + +*** +

[$topPeer](../constructors/topPeer.md) = \['peer' => [Peer](../types/Peer.md), 'rating' => [double](../types/double.md), \]; + +*** +

[$topPeerCategoryBotsInline](../constructors/topPeerCategoryBotsInline.md) = \[\]; + +*** +

[$topPeerCategoryBotsPM](../constructors/topPeerCategoryBotsPM.md) = \[\]; + +*** +

[$topPeerCategoryChannels](../constructors/topPeerCategoryChannels.md) = \[\]; + +*** +

[$topPeerCategoryCorrespondents](../constructors/topPeerCategoryCorrespondents.md) = \[\]; + +*** +

[$topPeerCategoryGroups](../constructors/topPeerCategoryGroups.md) = \[\]; + +*** +

[$topPeerCategoryPeers](../constructors/topPeerCategoryPeers.md) = \['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'count' => [int](../types/int.md), 'peers' => \[[TopPeer](../types/TopPeer.md)\], \]; + +*** +

[$true](../constructors/true.md) = \[\]; + +*** +

[$updateBotCallbackQuery](../constructors/updateBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$updateBotInlineQuery](../constructors/updateBotInlineQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'offset' => [string](../types/string.md), \]; + +*** +

[$updateBotInlineSend](../constructors/updateBotInlineSend.md) = \['user_id' => [int](../types/int.md), 'query' => [string](../types/string.md), 'geo' => [GeoPoint](../types/GeoPoint.md), 'id' => [string](../types/string.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), \]; + +*** +

[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \]; + +*** +

[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \]; + +*** +

[$updateChannelPinnedMessage](../constructors/updateChannelPinnedMessage.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \]; + +*** +

[$updateChannelTooLong](../constructors/updateChannelTooLong.md) = \['channel_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), \]; + +*** +

[$updateChatAdmins](../constructors/updateChatAdmins.md) = \['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_admin' => [Bool](../types/Bool.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'version' => [int](../types/int.md), \]; + +*** +

[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \]; + +*** +

[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateContactLink](../constructors/updateContactLink.md) = \['user_id' => [int](../types/int.md), 'my_link' => [ContactLink](../types/ContactLink.md), 'foreign_link' => [ContactLink](../types/ContactLink.md), \]; + +*** +

[$updateContactRegistered](../constructors/updateContactRegistered.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateDcOptions](../constructors/updateDcOptions.md) = \['dc_options' => \[[DcOption](../types/DcOption.md)\], \]; + +*** +

[$updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) = \['channel_id' => [int](../types/int.md), 'messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateDraftMessage](../constructors/updateDraftMessage.md) = \['peer' => [Peer](../types/Peer.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \]; + +*** +

[$updateEditChannelMessage](../constructors/updateEditChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEditMessage](../constructors/updateEditMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) = \['chat_id' => [int](../types/int.md), \]; + +*** +

[$updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) = \['chat_id' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateEncryption](../constructors/updateEncryption.md) = \['chat' => [EncryptedChat](../types/EncryptedChat.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'data' => [bytes](../types/bytes.md), \]; + +*** +

[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$updateNewAuthorization](../constructors/updateNewAuthorization.md) = \['auth_key_id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'device' => [string](../types/string.md), 'location' => [string](../types/string.md), \]; + +*** +

[$updateNewChannelMessage](../constructors/updateNewChannelMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) = \['message' => [EncryptedMessage](../types/EncryptedMessage.md), 'qts' => [int](../types/int.md), \]; + +*** +

[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [Message](../types/Message.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateNewStickerSet](../constructors/updateNewStickerSet.md) = \['stickerset' => [messages\_StickerSet](../types/messages_StickerSet.md), \]; + +*** +

[$updateNotifySettings](../constructors/updateNotifySettings.md) = \['peer' => [NotifyPeer](../types/NotifyPeer.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), \]; + +*** +

[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \]; + +*** +

[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadChannelOutbox](../constructors/updateReadChannelOutbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateReadMessagesContents](../constructors/updateReadMessagesContents.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updateSavedGifs](../constructors/updateSavedGifs.md) = \[\]; + +*** +

[$updateServiceNotification](../constructors/updateServiceNotification.md) = \['type' => [string](../types/string.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'popup' => [Bool](../types/Bool.md), \]; + +*** +

[$updateShort](../constructors/updateShort.md) = \['update' => [Update](../types/Update.md), 'date' => [int](../types/int.md), \]; + +*** +

[$updateShortChatMessage](../constructors/updateShortChatMessage.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'chat_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortMessage](../constructors/updateShortMessage.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateShortSentMessage](../constructors/updateShortSentMessage.md) = \['out' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]; + +*** +

[$updateStickerSets](../constructors/updateStickerSets.md) = \[\]; + +*** +

[$updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) = \['order' => \[[long](../types/long.md)\], \]; + +*** +

[$updateUserBlocked](../constructors/updateUserBlocked.md) = \['user_id' => [int](../types/int.md), 'blocked' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserName](../constructors/updateUserName.md) = \['user_id' => [int](../types/int.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), \]; + +*** +

[$updateUserPhone](../constructors/updateUserPhone.md) = \['user_id' => [int](../types/int.md), 'phone' => [string](../types/string.md), \]; + +*** +

[$updateUserPhoto](../constructors/updateUserPhoto.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'previous' => [Bool](../types/Bool.md), \]; + +*** +

[$updateUserStatus](../constructors/updateUserStatus.md) = \['user_id' => [int](../types/int.md), 'status' => [UserStatus](../types/UserStatus.md), \]; + +*** +

[$updateUserTyping](../constructors/updateUserTyping.md) = \['user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]; + +*** +

[$updateWebPage](../constructors/updateWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \]; + +*** +

[$updates](../constructors/updates.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesCombined](../constructors/updatesCombined.md) = \['updates' => \[[Update](../types/Update.md)\], 'users' => \[[User](../types/User.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'date' => [int](../types/int.md), 'seq_start' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +*** +

[$updatesTooLong](../constructors/updatesTooLong.md) = \[\]; + +*** +

[$updates\_channelDifference](../constructors/updates_channelDifference.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'new_messages' => \[[Message](../types/Message.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \]; + +[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \]; + +[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) = \['date' => [int](../types/int.md), 'seq' => [int](../types/int.md), \]; + +[$updates\_differenceSlice](../constructors/updates_differenceSlice.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'intermediate_state' => [updates\_State](../types/updates_State.md), \]; + +[$updates\_state](../constructors/updates_state.md) = \['pts' => [int](../types/int.md), 'qts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'seq' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), \]; + +*** +

[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]; + +*** +

[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), \]; + +*** +

[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \]; + +*** +

[$userFull](../constructors/userFull.md) = \['blocked' => [Bool](../types/Bool.md), 'user' => [User](../types/User.md), 'about' => [string](../types/string.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'bot_info' => [BotInfo](../types/BotInfo.md), \]; + +*** +

[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \]; + +*** +

[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\]; + +*** +

[$userStatusEmpty](../constructors/userStatusEmpty.md) = \[\]; + +*** +

[$userStatusLastMonth](../constructors/userStatusLastMonth.md) = \[\]; + +*** +

[$userStatusLastWeek](../constructors/userStatusLastWeek.md) = \[\]; + +*** +

[$userStatusOffline](../constructors/userStatusOffline.md) = \['was_online' => [int](../types/int.md), \]; + +*** +

[$userStatusOnline](../constructors/userStatusOnline.md) = \['expires' => [int](../types/int.md), \]; + +*** +

[$userStatusRecently](../constructors/userStatusRecently.md) = \[\]; + +*** +

[$vector](../constructors/vector.md) = \[\]; + +*** +

[$wallPaper](../constructors/wallPaper.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'color' => [int](../types/int.md), \]; + +*** +

[$wallPaperSolid](../constructors/wallPaperSolid.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'bg_color' => [int](../types/int.md), 'color' => [int](../types/int.md), \]; + +*** +

[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), \]; + +*** +

[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \]; + +*** +

[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \]; + diff --git a/docs/old/API_docs_v53/constructors/inlineBotSwitchPM.md b/docs/old/API_docs_v53/constructors/inlineBotSwitchPM.md new file mode 100644 index 00000000..ec1c28d7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inlineBotSwitchPM.md @@ -0,0 +1,27 @@ +--- +title: inlineBotSwitchPM +description: inlineBotSwitchPM attributes, type and example +--- +## Constructor: inlineBotSwitchPM +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + + +### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md) + + +### Example: + +``` +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputAppEvent.md b/docs/old/API_docs_v53/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageID.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageID.md new file mode 100644 index 00000000..bea4bf54 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageID.md @@ -0,0 +1,28 @@ +--- +title: inputBotInlineMessageID +description: inputBotInlineMessageID attributes, type and example +--- +## Constructor: inputBotInlineMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputBotInlineMessageID](../types/InputBotInlineMessageID.md) + + +### Example: + +``` +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..25d1dded --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaAuto +description: inputBotInlineMessageMediaAuto attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md new file mode 100644 index 00000000..cd54d6a6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageMediaContact +description: inputBotInlineMessageMediaContact attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md new file mode 100644 index 00000000..41079f0b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaGeo +description: inputBotInlineMessageMediaGeo attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md new file mode 100644 index 00000000..966237ad --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineMessageMediaVenue +description: inputBotInlineMessageMediaVenue attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineMessageText.md b/docs/old/API_docs_v53/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..2e3ce923 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageText +description: inputBotInlineMessageText attributes, type and example +--- +## Constructor: inputBotInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineResult.md b/docs/old/API_docs_v53/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..a597fa4d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineResult.md @@ -0,0 +1,37 @@ +--- +title: inputBotInlineResult +description: inputBotInlineResult attributes, type and example +--- +## Constructor: inputBotInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineResultDocument.md b/docs/old/API_docs_v53/constructors/inputBotInlineResultDocument.md new file mode 100644 index 00000000..d9e88d1b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineResultDocument.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineResultDocument +description: inputBotInlineResultDocument attributes, type and example +--- +## Constructor: inputBotInlineResultDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|document|[InputDocument](../types/InputDocument.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputBotInlineResultPhoto.md b/docs/old/API_docs_v53/constructors/inputBotInlineResultPhoto.md new file mode 100644 index 00000000..defe0a4b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputBotInlineResultPhoto.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineResultPhoto +description: inputBotInlineResultPhoto attributes, type and example +--- +## Constructor: inputBotInlineResultPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[InputPhoto](../types/InputPhoto.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputChannel.md b/docs/old/API_docs_v53/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputChannelEmpty.md b/docs/old/API_docs_v53/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputChatPhoto.md b/docs/old/API_docs_v53/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v53/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v53/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputDocument.md b/docs/old/API_docs_v53/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v53/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v53/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b1d6ce99 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputDocumentFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedChat.md b/docs/old/API_docs_v53/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedFile.md b/docs/old/API_docs_v53/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v53/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v53/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v53/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputFile.md b/docs/old/API_docs_v53/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputFileBig.md b/docs/old/API_docs_v53/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputFileLocation.md b/docs/old/API_docs_v53/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputGeoPoint.md b/docs/old/API_docs_v53/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v53/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaContact.md b/docs/old/API_docs_v53/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaDocument.md b/docs/old/API_docs_v53/constructors/inputMediaDocument.md new file mode 100644 index 00000000..60ac6ff4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaEmpty.md b/docs/old/API_docs_v53/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v53/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v53/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaPhoto.md b/docs/old/API_docs_v53/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v53/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..c23fcaec --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v53/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..7f78172c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMediaVenue.md b/docs/old/API_docs_v53/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessageEntityMentionName.md b/docs/old/API_docs_v53/constructors/inputMessageEntityMentionName.md new file mode 100644 index 00000000..ef83a8cb --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessageEntityMentionName.md @@ -0,0 +1,28 @@ +--- +title: inputMessageEntityMentionName +description: inputMessageEntityMentionName attributes, type and example +--- +## Constructor: inputMessageEntityMentionName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md new file mode 100644 index 00000000..98d20dbb --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterChatPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterChatPhotos +description: inputMessagesFilterChatPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterChatPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterMusic.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterMusic.md new file mode 100644 index 00000000..dfe18385 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterMusic.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterMusic +description: inputMessagesFilterMusic attributes, type and example +--- +## Constructor: inputMessagesFilterMusic +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputMessagesFilterVoice.md b/docs/old/API_docs_v53/constructors/inputMessagesFilterVoice.md new file mode 100644 index 00000000..e12004d7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputMessagesFilterVoice.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVoice +description: inputMessagesFilterVoice attributes, type and example +--- +## Constructor: inputMessagesFilterVoice +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputNotifyAll.md b/docs/old/API_docs_v53/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputNotifyChats.md b/docs/old/API_docs_v53/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputNotifyPeer.md b/docs/old/API_docs_v53/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputNotifyUsers.md b/docs/old/API_docs_v53/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPeerChannel.md b/docs/old/API_docs_v53/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputPeerChat.md b/docs/old/API_docs_v53/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputPeerEmpty.md b/docs/old/API_docs_v53/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v53/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..a8cb2491 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPeerSelf.md b/docs/old/API_docs_v53/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputPeerUser.md b/docs/old/API_docs_v53/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputPhoneContact.md b/docs/old/API_docs_v53/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPhoto.md b/docs/old/API_docs_v53/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPhotoCrop.md b/docs/old/API_docs_v53/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v53/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v53/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md b/docs/old/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md new file mode 100644 index 00000000..4ddea8d6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyChatInvite +description: inputPrivacyKeyChatInvite attributes, type and example +--- +## Constructor: inputPrivacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputReportReasonOther.md b/docs/old/API_docs_v53/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v53/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v53/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v53/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v53/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputStickerSetID.md b/docs/old/API_docs_v53/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v53/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/inputUser.md b/docs/old/API_docs_v53/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputUserEmpty.md b/docs/old/API_docs_v53/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/inputUserSelf.md b/docs/old/API_docs_v53/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/keyboardButton.md b/docs/old/API_docs_v53/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonCallback.md b/docs/old/API_docs_v53/constructors/keyboardButtonCallback.md new file mode 100644 index 00000000..58add404 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonCallback.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonCallback +description: keyboardButtonCallback attributes, type and example +--- +## Constructor: keyboardButtonCallback +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md b/docs/old/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md new file mode 100644 index 00000000..c31e3194 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonRequestGeoLocation.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestGeoLocation +description: keyboardButtonRequestGeoLocation attributes, type and example +--- +## Constructor: keyboardButtonRequestGeoLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonRequestPhone.md b/docs/old/API_docs_v53/constructors/keyboardButtonRequestPhone.md new file mode 100644 index 00000000..734b8f41 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonRequestPhone.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestPhone +description: keyboardButtonRequestPhone attributes, type and example +--- +## Constructor: keyboardButtonRequestPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonRow.md b/docs/old/API_docs_v53/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonSwitchInline.md b/docs/old/API_docs_v53/constructors/keyboardButtonSwitchInline.md new file mode 100644 index 00000000..a944ebab --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonSwitchInline.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonSwitchInline +description: keyboardButtonSwitchInline attributes, type and example +--- +## Constructor: keyboardButtonSwitchInline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|query|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/keyboardButtonUrl.md b/docs/old/API_docs_v53/constructors/keyboardButtonUrl.md new file mode 100644 index 00000000..82b36411 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/keyboardButtonUrl.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonUrl +description: keyboardButtonUrl attributes, type and example +--- +## Constructor: keyboardButtonUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/message.md b/docs/old/API_docs_v53/constructors/message.md new file mode 100644 index 00000000..23c292a7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/message.md @@ -0,0 +1,43 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| +|edit\_date|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, 'edit_date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v53/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v53/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v53/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatCreate.md b/docs/old/API_docs_v53/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v53/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v53/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v53/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v53/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v53/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v53/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionEmpty.md b/docs/old/API_docs_v53/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionHistoryClear.md b/docs/old/API_docs_v53/constructors/messageActionHistoryClear.md new file mode 100644 index 00000000..2025dd89 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionHistoryClear.md @@ -0,0 +1,21 @@ +--- +title: messageActionHistoryClear +description: messageActionHistoryClear attributes, type and example +--- +## Constructor: messageActionHistoryClear +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageActionPinMessage.md b/docs/old/API_docs_v53/constructors/messageActionPinMessage.md new file mode 100644 index 00000000..43318433 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageActionPinMessage.md @@ -0,0 +1,21 @@ +--- +title: messageActionPinMessage +description: messageActionPinMessage attributes, type and example +--- +## Constructor: messageActionPinMessage +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEmpty.md b/docs/old/API_docs_v53/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityBold.md b/docs/old/API_docs_v53/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v53/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityCode.md b/docs/old/API_docs_v53/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityEmail.md b/docs/old/API_docs_v53/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityHashtag.md b/docs/old/API_docs_v53/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityItalic.md b/docs/old/API_docs_v53/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityMention.md b/docs/old/API_docs_v53/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityMentionName.md b/docs/old/API_docs_v53/constructors/messageEntityMentionName.md new file mode 100644 index 00000000..2d402b6e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityMentionName.md @@ -0,0 +1,28 @@ +--- +title: messageEntityMentionName +description: messageEntityMentionName attributes, type and example +--- +## Constructor: messageEntityMentionName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityPre.md b/docs/old/API_docs_v53/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v53/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityUnknown.md b/docs/old/API_docs_v53/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageEntityUrl.md b/docs/old/API_docs_v53/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageFwdHeader.md b/docs/old/API_docs_v53/constructors/messageFwdHeader.md new file mode 100644 index 00000000..9f732de1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageFwdHeader.md @@ -0,0 +1,29 @@ +--- +title: messageFwdHeader +description: messageFwdHeader attributes, type and example +--- +## Constructor: messageFwdHeader +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|from\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|channel\_id|[int](../types/int.md) | Optional| +|channel\_post|[int](../types/int.md) | Optional| + + + +### Type: [MessageFwdHeader](../types/MessageFwdHeader.md) + + +### Example: + +``` +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaContact.md b/docs/old/API_docs_v53/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaDocument.md b/docs/old/API_docs_v53/constructors/messageMediaDocument.md new file mode 100644 index 00000000..a4f3ee23 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaEmpty.md b/docs/old/API_docs_v53/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaGeo.md b/docs/old/API_docs_v53/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaPhoto.md b/docs/old/API_docs_v53/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v53/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaVenue.md b/docs/old/API_docs_v53/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageMediaWebPage.md b/docs/old/API_docs_v53/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageRange.md b/docs/old/API_docs_v53/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messageService.md b/docs/old/API_docs_v53/constructors/messageService.md new file mode 100644 index 00000000..c50ba21d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messageService.md @@ -0,0 +1,36 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_affectedHistory.md b/docs/old/API_docs_v53/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_affectedMessages.md b/docs/old/API_docs_v53/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_allStickers.md b/docs/old/API_docs_v53/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v53/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_botCallbackAnswer.md b/docs/old/API_docs_v53/constructors/messages_botCallbackAnswer.md new file mode 100644 index 00000000..cb715662 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_botCallbackAnswer.md @@ -0,0 +1,27 @@ +--- +title: messages_botCallbackAnswer +description: messages_botCallbackAnswer attributes, type and example +--- +## Constructor: messages\_botCallbackAnswer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Optional| + + + +### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + + +### Example: + +``` +$messages_botCallbackAnswer = ['_' => 'messages_botCallbackAnswer', 'alert' => true, 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_botResults.md b/docs/old/API_docs_v53/constructors/messages_botResults.md new file mode 100644 index 00000000..6bed266c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_botResults.md @@ -0,0 +1,30 @@ +--- +title: messages_botResults +description: messages_botResults attributes, type and example +--- +## Constructor: messages\_botResults +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + + +### Type: [messages\_BotResults](../types/messages_BotResults.md) + + +### Example: + +``` +$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_channelMessages.md b/docs/old/API_docs_v53/constructors/messages_channelMessages.md new file mode 100644 index 00000000..2651dd40 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_channelMessages.md @@ -0,0 +1,30 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_chatFull.md b/docs/old/API_docs_v53/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_chats.md b/docs/old/API_docs_v53/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_dhConfig.md b/docs/old/API_docs_v53/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v53/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_dialogs.md b/docs/old/API_docs_v53/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v53/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_foundGifs.md b/docs/old/API_docs_v53/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_messageEditData.md b/docs/old/API_docs_v53/constructors/messages_messageEditData.md new file mode 100644 index 00000000..5e80341c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_messageEditData.md @@ -0,0 +1,26 @@ +--- +title: messages_messageEditData +description: messages_messageEditData attributes, type and example +--- +## Constructor: messages\_messageEditData +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[Bool](../types/Bool.md) | Optional| + + + +### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) + + +### Example: + +``` +$messages_messageEditData = ['_' => 'messages_messageEditData', 'caption' => true, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_messages.md b/docs/old/API_docs_v53/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_messagesSlice.md b/docs/old/API_docs_v53/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_peerDialogs.md b/docs/old/API_docs_v53/constructors/messages_peerDialogs.md new file mode 100644 index 00000000..822cfa32 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_peerDialogs.md @@ -0,0 +1,30 @@ +--- +title: messages_peerDialogs +description: messages_peerDialogs attributes, type and example +--- +## Constructor: messages\_peerDialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) + + +### Example: + +``` +$messages_peerDialogs = ['_' => 'messages_peerDialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_savedGifs.md b/docs/old/API_docs_v53/constructors/messages_savedGifs.md new file mode 100644 index 00000000..57b887ed --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_savedGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_savedGifs +description: messages_savedGifs attributes, type and example +--- +## Constructor: messages\_savedGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|gifs|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_savedGifsNotModified.md b/docs/old/API_docs_v53/constructors/messages_savedGifsNotModified.md new file mode 100644 index 00000000..4f2f604a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_savedGifsNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_savedGifsNotModified +description: messages_savedGifsNotModified attributes, type and example +--- +## Constructor: messages\_savedGifsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v53/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v53/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_stickerSet.md b/docs/old/API_docs_v53/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_stickers.md b/docs/old/API_docs_v53/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v53/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v53/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/nearestDc.md b/docs/old/API_docs_v53/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/notifyAll.md b/docs/old/API_docs_v53/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/notifyChats.md b/docs/old/API_docs_v53/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/notifyPeer.md b/docs/old/API_docs_v53/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/notifyUsers.md b/docs/old/API_docs_v53/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v53/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/null.md b/docs/old/API_docs_v53/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/peerChannel.md b/docs/old/API_docs_v53/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/peerChat.md b/docs/old/API_docs_v53/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v53/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v53/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/peerNotifySettings.md b/docs/old/API_docs_v53/constructors/peerNotifySettings.md new file mode 100644 index 00000000..4834238c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v53/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/peerSettings.md b/docs/old/API_docs_v53/constructors/peerSettings.md new file mode 100644 index 00000000..28041caf --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerSettings.md @@ -0,0 +1,26 @@ +--- +title: peerSettings +description: peerSettings attributes, type and example +--- +## Constructor: peerSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|report\_spam|[Bool](../types/Bool.md) | Optional| + + + +### Type: [PeerSettings](../types/PeerSettings.md) + + +### Example: + +``` +$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/peerUser.md b/docs/old/API_docs_v53/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/photo.md b/docs/old/API_docs_v53/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photoCachedSize.md b/docs/old/API_docs_v53/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photoEmpty.md b/docs/old/API_docs_v53/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photoSize.md b/docs/old/API_docs_v53/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photoSizeEmpty.md b/docs/old/API_docs_v53/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photos_photo.md b/docs/old/API_docs_v53/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photos_photos.md b/docs/old/API_docs_v53/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/photos_photosSlice.md b/docs/old/API_docs_v53/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyKeyChatInvite.md b/docs/old/API_docs_v53/constructors/privacyKeyChatInvite.md new file mode 100644 index 00000000..b7fd53b0 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyChatInvite +description: privacyKeyChatInvite attributes, type and example +--- +## Constructor: privacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v53/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v53/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v53/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v53/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v53/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v53/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v53/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v53/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/replyInlineMarkup.md b/docs/old/API_docs_v53/constructors/replyInlineMarkup.md new file mode 100644 index 00000000..e4453700 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/replyInlineMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyInlineMarkup +description: replyInlineMarkup attributes, type and example +--- +## Constructor: replyInlineMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v53/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/replyKeyboardHide.md b/docs/old/API_docs_v53/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v53/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v53/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v53/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v53/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v53/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v53/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v53/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v53/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v53/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v53/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v53/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/stickerPack.md b/docs/old/API_docs_v53/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/stickerSet.md b/docs/old/API_docs_v53/constructors/stickerSet.md new file mode 100644 index 00000000..c5e4eefd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|disabled|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileGif.md b/docs/old/API_docs_v53/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileJpeg.md b/docs/old/API_docs_v53/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileMov.md b/docs/old/API_docs_v53/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileMp3.md b/docs/old/API_docs_v53/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileMp4.md b/docs/old/API_docs_v53/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_filePartial.md b/docs/old/API_docs_v53/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_filePdf.md b/docs/old/API_docs_v53/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_filePng.md b/docs/old/API_docs_v53/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileUnknown.md b/docs/old/API_docs_v53/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/storage_fileWebp.md b/docs/old/API_docs_v53/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeer.md b/docs/old/API_docs_v53/constructors/topPeer.md new file mode 100644 index 00000000..a2916c90 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeer.md @@ -0,0 +1,27 @@ +--- +title: topPeer +description: topPeer attributes, type and example +--- +## Constructor: topPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|rating|[double](../types/double.md) | Required| + + + +### Type: [TopPeer](../types/TopPeer.md) + + +### Example: + +``` +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryBotsInline.md b/docs/old/API_docs_v53/constructors/topPeerCategoryBotsInline.md new file mode 100644 index 00000000..085b2345 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryBotsInline.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryBotsInline +description: topPeerCategoryBotsInline attributes, type and example +--- +## Constructor: topPeerCategoryBotsInline +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryBotsPM.md b/docs/old/API_docs_v53/constructors/topPeerCategoryBotsPM.md new file mode 100644 index 00000000..27b3b2aa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryBotsPM.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryBotsPM +description: topPeerCategoryBotsPM attributes, type and example +--- +## Constructor: topPeerCategoryBotsPM +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryChannels.md b/docs/old/API_docs_v53/constructors/topPeerCategoryChannels.md new file mode 100644 index 00000000..f3e2cb35 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryChannels.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryChannels +description: topPeerCategoryChannels attributes, type and example +--- +## Constructor: topPeerCategoryChannels +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryCorrespondents.md b/docs/old/API_docs_v53/constructors/topPeerCategoryCorrespondents.md new file mode 100644 index 00000000..179ecbca --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryCorrespondents.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryCorrespondents +description: topPeerCategoryCorrespondents attributes, type and example +--- +## Constructor: topPeerCategoryCorrespondents +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryGroups.md b/docs/old/API_docs_v53/constructors/topPeerCategoryGroups.md new file mode 100644 index 00000000..3b1a38d9 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryGroups.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryGroups +description: topPeerCategoryGroups attributes, type and example +--- +## Constructor: topPeerCategoryGroups +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/topPeerCategoryPeers.md b/docs/old/API_docs_v53/constructors/topPeerCategoryPeers.md new file mode 100644 index 00000000..bd7e7a90 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/topPeerCategoryPeers.md @@ -0,0 +1,28 @@ +--- +title: topPeerCategoryPeers +description: topPeerCategoryPeers attributes, type and example +--- +## Constructor: topPeerCategoryPeers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| +|count|[int](../types/int.md) | Required| +|peers|Array of [TopPeer](../types/TopPeer.md) | Required| + + + +### Type: [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) + + +### Example: + +``` +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/true.md b/docs/old/API_docs_v53/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateBotCallbackQuery.md b/docs/old/API_docs_v53/constructors/updateBotCallbackQuery.md new file mode 100644 index 00000000..f5ec2720 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateBotCallbackQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotCallbackQuery +description: updateBotCallbackQuery attributes, type and example +--- +## Constructor: updateBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|peer|[Peer](../types/Peer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateBotInlineQuery.md b/docs/old/API_docs_v53/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..78bbff4f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateBotInlineQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineQuery +description: updateBotInlineQuery attributes, type and example +--- +## Constructor: updateBotInlineQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|offset|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateBotInlineSend.md b/docs/old/API_docs_v53/constructors/updateBotInlineSend.md new file mode 100644 index 00000000..846f8978 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateBotInlineSend.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineSend +description: updateBotInlineSend attributes, type and example +--- +## Constructor: updateBotInlineSend +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|id|[string](../types/string.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChannel.md b/docs/old/API_docs_v53/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v53/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChannelPinnedMessage.md b/docs/old/API_docs_v53/constructors/updateChannelPinnedMessage.md new file mode 100644 index 00000000..b00702c1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChannelPinnedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateChannelPinnedMessage +description: updateChannelPinnedMessage attributes, type and example +--- +## Constructor: updateChannelPinnedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChannelTooLong.md b/docs/old/API_docs_v53/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..0e6c5f49 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChannelTooLong.md @@ -0,0 +1,27 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatAdmins.md b/docs/old/API_docs_v53/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v53/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v53/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v53/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatParticipants.md b/docs/old/API_docs_v53/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateChatUserTyping.md b/docs/old/API_docs_v53/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateContactLink.md b/docs/old/API_docs_v53/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateContactRegistered.md b/docs/old/API_docs_v53/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateDcOptions.md b/docs/old/API_docs_v53/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v53/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateDeleteMessages.md b/docs/old/API_docs_v53/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateDraftMessage.md b/docs/old/API_docs_v53/constructors/updateDraftMessage.md new file mode 100644 index 00000000..42cda353 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateDraftMessage.md @@ -0,0 +1,27 @@ +--- +title: updateDraftMessage +description: updateDraftMessage attributes, type and example +--- +## Constructor: updateDraftMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|draft|[DraftMessage](../types/DraftMessage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateEditChannelMessage.md b/docs/old/API_docs_v53/constructors/updateEditChannelMessage.md new file mode 100644 index 00000000..30f9ad2e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateEditChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditChannelMessage +description: updateEditChannelMessage attributes, type and example +--- +## Constructor: updateEditChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateEditMessage.md b/docs/old/API_docs_v53/constructors/updateEditMessage.md new file mode 100644 index 00000000..cda9fb4c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateEditMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditMessage +description: updateEditMessage attributes, type and example +--- +## Constructor: updateEditMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v53/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v53/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateEncryption.md b/docs/old/API_docs_v53/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateInlineBotCallbackQuery.md b/docs/old/API_docs_v53/constructors/updateInlineBotCallbackQuery.md new file mode 100644 index 00000000..47df8db5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateInlineBotCallbackQuery.md @@ -0,0 +1,29 @@ +--- +title: updateInlineBotCallbackQuery +description: updateInlineBotCallbackQuery attributes, type and example +--- +## Constructor: updateInlineBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateMessageID.md b/docs/old/API_docs_v53/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNewAuthorization.md b/docs/old/API_docs_v53/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v53/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v53/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNewMessage.md b/docs/old/API_docs_v53/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNewStickerSet.md b/docs/old/API_docs_v53/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateNotifySettings.md b/docs/old/API_docs_v53/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updatePrivacy.md b/docs/old/API_docs_v53/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v53/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateReadChannelOutbox.md b/docs/old/API_docs_v53/constructors/updateReadChannelOutbox.md new file mode 100644 index 00000000..624edd55 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateReadChannelOutbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelOutbox +description: updateReadChannelOutbox attributes, type and example +--- +## Constructor: updateReadChannelOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v53/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v53/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v53/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateSavedGifs.md b/docs/old/API_docs_v53/constructors/updateSavedGifs.md new file mode 100644 index 00000000..dd610b16 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateSavedGifs.md @@ -0,0 +1,21 @@ +--- +title: updateSavedGifs +description: updateSavedGifs attributes, type and example +--- +## Constructor: updateSavedGifs +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateServiceNotification.md b/docs/old/API_docs_v53/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateShort.md b/docs/old/API_docs_v53/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateShortChatMessage.md b/docs/old/API_docs_v53/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..2cd966b5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateShortChatMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateShortMessage.md b/docs/old/API_docs_v53/constructors/updateShortMessage.md new file mode 100644 index 00000000..e51a4a57 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateShortMessage.md @@ -0,0 +1,39 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateShortSentMessage.md b/docs/old/API_docs_v53/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..b783723c --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateShortSentMessage.md @@ -0,0 +1,32 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateStickerSets.md b/docs/old/API_docs_v53/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v53/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserBlocked.md b/docs/old/API_docs_v53/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserName.md b/docs/old/API_docs_v53/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserPhone.md b/docs/old/API_docs_v53/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserPhoto.md b/docs/old/API_docs_v53/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserStatus.md b/docs/old/API_docs_v53/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateUserTyping.md b/docs/old/API_docs_v53/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updateWebPage.md b/docs/old/API_docs_v53/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates.md b/docs/old/API_docs_v53/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updatesCombined.md b/docs/old/API_docs_v53/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updatesTooLong.md b/docs/old/API_docs_v53/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_channelDifference.md b/docs/old/API_docs_v53/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v53/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v53/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..42370bcd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,35 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_difference.md b/docs/old/API_docs_v53/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v53/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_differenceSlice.md b/docs/old/API_docs_v53/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/updates_state.md b/docs/old/API_docs_v53/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v53/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/upload_file.md b/docs/old/API_docs_v53/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v53/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/user.md b/docs/old/API_docs_v53/constructors/user.md new file mode 100644 index 00000000..efd0a934 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/user.md @@ -0,0 +1,60 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/userEmpty.md b/docs/old/API_docs_v53/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/constructors/userFull.md b/docs/old/API_docs_v53/constructors/userFull.md new file mode 100644 index 00000000..d6a020a5 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|[Bool](../types/Bool.md) | Optional| +|user|[User](../types/User.md) | Required| +|about|[string](../types/string.md) | Optional| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Optional| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Optional| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userProfilePhoto.md b/docs/old/API_docs_v53/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v53/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusEmpty.md b/docs/old/API_docs_v53/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusLastMonth.md b/docs/old/API_docs_v53/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusLastWeek.md b/docs/old/API_docs_v53/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusOffline.md b/docs/old/API_docs_v53/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusOnline.md b/docs/old/API_docs_v53/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/userStatusRecently.md b/docs/old/API_docs_v53/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/vector.md b/docs/old/API_docs_v53/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/wallPaper.md b/docs/old/API_docs_v53/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v53/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/wallPaperSolid.md b/docs/old/API_docs_v53/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v53/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/webPage.md b/docs/old/API_docs_v53/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/webPageEmpty.md b/docs/old/API_docs_v53/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v53/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v53/constructors/webPagePending.md b/docs/old/API_docs_v53/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v53/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v53/index.md b/docs/old/API_docs_v53/index.md new file mode 100644 index 00000000..7e3f1528 --- /dev/null +++ b/docs/old/API_docs_v53/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v53) +description: MadelineProto API documentation (layer v53) +--- +# MadelineProto API documentation (layer v53) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v53/methods/account_changePhone.md b/docs/old/API_docs_v53/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_checkUsername.md b/docs/old/API_docs_v53/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_deleteAccount.md b/docs/old/API_docs_v53/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getAccountTTL.md b/docs/old/API_docs_v53/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getAuthorizations.md b/docs/old/API_docs_v53/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getNotifySettings.md b/docs/old/API_docs_v53/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getPassword.md b/docs/old/API_docs_v53/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getPasswordSettings.md b/docs/old/API_docs_v53/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getPrivacy.md b/docs/old/API_docs_v53/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_getWallPapers.md b/docs/old/API_docs_v53/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_registerDevice.md b/docs/old/API_docs_v53/methods/account_registerDevice.md similarity index 100% rename from docs/API_docs_55/methods/account_registerDevice.md rename to docs/old/API_docs_v53/methods/account_registerDevice.md diff --git a/docs/old/API_docs_v53/methods/account_reportPeer.md b/docs/old/API_docs_v53/methods/account_reportPeer.md new file mode 100644 index 00000000..ec2a3db1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_reportPeer.md @@ -0,0 +1,38 @@ +--- +title: account_reportPeer +description: account_reportPeer parameters, return type and example +--- +## Method: account\_reportPeer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_resetAuthorization.md b/docs/old/API_docs_v53/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_resetNotifySettings.md b/docs/old/API_docs_v53/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v53/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..0d767c8b --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_sendChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_setAccountTTL.md b/docs/old/API_docs_v53/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_setPrivacy.md b/docs/old/API_docs_v53/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_unregisterDevice.md b/docs/old/API_docs_v53/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v53/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updateNotifySettings.md b/docs/old/API_docs_v53/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v53/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updateProfile.md b/docs/old/API_docs_v53/methods/account_updateProfile.md new file mode 100644 index 00000000..8076a484 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updateProfile.md @@ -0,0 +1,39 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|about|[string](../types/string.md) | Optional| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updateStatus.md b/docs/old/API_docs_v53/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/account_updateUsername.md b/docs/old/API_docs_v53/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v53/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v53/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_cancelCode.md b/docs/old/API_docs_v53/methods/auth_cancelCode.md new file mode 100644 index 00000000..090e1386 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_cancelCode.md @@ -0,0 +1,38 @@ +--- +title: auth_cancelCode +description: auth_cancelCode parameters, return type and example +--- +## Method: auth\_cancelCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_checkPassword.md b/docs/old/API_docs_v53/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_checkPhone.md b/docs/old/API_docs_v53/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_exportAuthorization.md b/docs/old/API_docs_v53/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_importAuthorization.md b/docs/old/API_docs_v53/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v53/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_logOut.md b/docs/old/API_docs_v53/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_recoverPassword.md b/docs/old/API_docs_v53/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v53/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_resendCode.md b/docs/old/API_docs_v53/methods/auth_resendCode.md new file mode 100644 index 00000000..ad47ec76 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_resendCode.md @@ -0,0 +1,38 @@ +--- +title: auth_resendCode +description: auth_resendCode parameters, return type and example +--- +## Method: auth\_resendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v53/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/auth_sendCode.md b/docs/old/API_docs_v53/methods/auth_sendCode.md similarity index 100% rename from docs/API_docs_55/methods/auth_sendCode.md rename to docs/old/API_docs_v53/methods/auth_sendCode.md diff --git a/docs/old/API_docs_v53/methods/auth_sendInvites.md b/docs/old/API_docs_v53/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_signIn.md b/docs/old/API_docs_v53/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/auth_signUp.md b/docs/old/API_docs_v53/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v53/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_checkUsername.md b/docs/old/API_docs_v53/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_createChannel.md b/docs/old/API_docs_v53/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_deleteChannel.md b/docs/old/API_docs_v53/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_deleteMessages.md b/docs/old/API_docs_v53/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v53/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_editAbout.md b/docs/old/API_docs_v53/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_editAdmin.md b/docs/old/API_docs_v53/methods/channels_editAdmin.md new file mode 100644 index 00000000..ec2492af --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_editPhoto.md b/docs/old/API_docs_v53/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_editTitle.md b/docs/old/API_docs_v53/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_exportInvite.md b/docs/old/API_docs_v53/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_exportMessageLink.md b/docs/old/API_docs_v53/methods/channels_exportMessageLink.md new file mode 100644 index 00000000..4c4d4b61 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_exportMessageLink.md @@ -0,0 +1,38 @@ +--- +title: channels_exportMessageLink +description: channels_exportMessageLink parameters, return type and example +--- +## Method: channels\_exportMessageLink +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [ExportedMessageLink](../types/ExportedMessageLink.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_getChannels.md b/docs/old/API_docs_v53/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_getFullChannel.md b/docs/old/API_docs_v53/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_getMessages.md b/docs/old/API_docs_v53/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_getParticipant.md b/docs/old/API_docs_v53/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_getParticipants.md b/docs/old/API_docs_v53/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_inviteToChannel.md b/docs/old/API_docs_v53/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_joinChannel.md b/docs/old/API_docs_v53/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_kickFromChannel.md b/docs/old/API_docs_v53/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_leaveChannel.md b/docs/old/API_docs_v53/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_readHistory.md b/docs/old/API_docs_v53/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_reportSpam.md b/docs/old/API_docs_v53/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_toggleInvites.md b/docs/old/API_docs_v53/methods/channels_toggleInvites.md new file mode 100644 index 00000000..e85d7195 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_toggleInvites.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleInvites +description: channels_toggleInvites parameters, return type and example +--- +## Method: channels\_toggleInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_toggleSignatures.md b/docs/old/API_docs_v53/methods/channels_toggleSignatures.md new file mode 100644 index 00000000..a2785e3e --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_toggleSignatures.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleSignatures +description: channels_toggleSignatures parameters, return type and example +--- +## Method: channels\_toggleSignatures +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_updatePinnedMessage.md b/docs/old/API_docs_v53/methods/channels_updatePinnedMessage.md new file mode 100644 index 00000000..79909c6b --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_updatePinnedMessage.md @@ -0,0 +1,39 @@ +--- +title: channels_updatePinnedMessage +description: channels_updatePinnedMessage parameters, return type and example +--- +## Method: channels\_updatePinnedMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/channels_updateUsername.md b/docs/old/API_docs_v53/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v53/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_block.md b/docs/old/API_docs_v53/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_deleteContact.md b/docs/old/API_docs_v53/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_deleteContacts.md b/docs/old/API_docs_v53/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_exportCard.md b/docs/old/API_docs_v53/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_getBlocked.md b/docs/old/API_docs_v53/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_getContacts.md b/docs/old/API_docs_v53/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_getStatuses.md b/docs/old/API_docs_v53/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/contacts_getTopPeers.md b/docs/old/API_docs_v53/methods/contacts_getTopPeers.md similarity index 100% rename from docs/API_docs_55/methods/contacts_getTopPeers.md rename to docs/old/API_docs_v53/methods/contacts_getTopPeers.md diff --git a/docs/old/API_docs_v53/methods/contacts_importCard.md b/docs/old/API_docs_v53/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_importContacts.md b/docs/old/API_docs_v53/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/contacts_resetTopPeerRating.md b/docs/old/API_docs_v53/methods/contacts_resetTopPeerRating.md similarity index 100% rename from docs/API_docs_55/methods/contacts_resetTopPeerRating.md rename to docs/old/API_docs_v53/methods/contacts_resetTopPeerRating.md diff --git a/docs/old/API_docs_v53/methods/contacts_resolveUsername.md b/docs/old/API_docs_v53/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_search.md b/docs/old/API_docs_v53/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/contacts_unblock.md b/docs/old/API_docs_v53/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v53/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/help_getAppChangelog.md b/docs/old/API_docs_v53/methods/help_getAppChangelog.md similarity index 100% rename from docs/API_docs_55/methods/help_getAppChangelog.md rename to docs/old/API_docs_v53/methods/help_getAppChangelog.md diff --git a/docs/API_docs_55/methods/help_getAppUpdate.md b/docs/old/API_docs_v53/methods/help_getAppUpdate.md similarity index 100% rename from docs/API_docs_55/methods/help_getAppUpdate.md rename to docs/old/API_docs_v53/methods/help_getAppUpdate.md diff --git a/docs/old/API_docs_v53/methods/help_getConfig.md b/docs/old/API_docs_v53/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v53/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/help_getInviteText.md b/docs/old/API_docs_v53/methods/help_getInviteText.md similarity index 100% rename from docs/API_docs_55/methods/help_getInviteText.md rename to docs/old/API_docs_v53/methods/help_getInviteText.md diff --git a/docs/old/API_docs_v53/methods/help_getNearestDc.md b/docs/old/API_docs_v53/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v53/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/help_getSupport.md b/docs/old/API_docs_v53/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v53/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/help_getTermsOfService.md b/docs/old/API_docs_v53/methods/help_getTermsOfService.md similarity index 100% rename from docs/API_docs_55/methods/help_getTermsOfService.md rename to docs/old/API_docs_v53/methods/help_getTermsOfService.md diff --git a/docs/old/API_docs_v53/methods/help_saveAppLog.md b/docs/old/API_docs_v53/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v53/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/index.md b/docs/old/API_docs_v53/methods/index.md new file mode 100644 index 00000000..070d0fcd --- /dev/null +++ b/docs/old/API_docs_v53/methods/index.md @@ -0,0 +1,366 @@ +--- +title: Methods +description: List of methods +--- +# Methods +[Back to API documentation index](..) + + + +*** +

$MadelineProto->[account_changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md) + +$MadelineProto->[account_getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md) + +$MadelineProto->[account_getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md) + +$MadelineProto->[account_getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md) + +$MadelineProto->[account_getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md) + +$MadelineProto->[account_getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md) + +$MadelineProto->[account_registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[account_setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md) + +$MadelineProto->[account_unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md) + +$MadelineProto->[account_updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[account_updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md) + +*** +

$MadelineProto->[auth_bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +$MadelineProto->[auth_exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +$MadelineProto->[auth_importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +$MadelineProto->[auth_resendCode](auth_resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md) + +$MadelineProto->[auth_sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[auth_signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +$MadelineProto->[auth_signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md) + +*** +

$MadelineProto->[channels_checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[channels_deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[channels_editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[channels_exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md) + +$MadelineProto->[channels_getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[channels_getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[channels_getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[channels_getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +$MadelineProto->[channels_getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +$MadelineProto->[channels_inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[channels_toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[channels_updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[contacts_block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md) + +$MadelineProto->[contacts_deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[contacts_getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md) + +$MadelineProto->[contacts_getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md) + +$MadelineProto->[contacts_getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md) + +$MadelineProto->[contacts_getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) == [$contacts\_TopPeers](../types/contacts_TopPeers.md) + +$MadelineProto->[contacts_importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md) + +$MadelineProto->[contacts_importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +$MadelineProto->[contacts_resetTopPeerRating](contacts_resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[contacts_resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +$MadelineProto->[contacts_search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md) + +$MadelineProto->[contacts_unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[help_getAppChangelog](help_getAppChangelog.md)(\[\]) == [$help\_AppChangelog](../types/help_AppChangelog.md) + +$MadelineProto->[help_getAppUpdate](help_getAppUpdate.md)(\[\]) == [$help\_AppUpdate](../types/help_AppUpdate.md) + +$MadelineProto->[help_getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md) + +$MadelineProto->[help_getInviteText](help_getInviteText.md)(\[\]) == [$help\_InviteText](../types/help_InviteText.md) + +$MadelineProto->[help_getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md) + +$MadelineProto->[help_getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md) + +$MadelineProto->[help_getTermsOfService](help_getTermsOfService.md)(\[\]) == [$help\_TermsOfService](../types/help_TermsOfService.md) + +$MadelineProto->[help_saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](../types/long.md)\], 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md) + +*** +

$MadelineProto->[messages_acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md) + +$MadelineProto->[messages_createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +$MadelineProto->[messages_deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md) + +$MadelineProto->[messages_forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllDrafts](messages_getAllDrafts.md)(\[\]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md) + +$MadelineProto->[messages_getBotCallbackAnswer](messages_getBotCallbackAnswer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + +$MadelineProto->[messages_getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md) + +$MadelineProto->[messages_getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md) + +$MadelineProto->[messages_getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md) + +$MadelineProto->[messages_getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md) + +$MadelineProto->[messages_getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md) + +$MadelineProto->[messages_getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md) + +$MadelineProto->[messages_getMessageEditData](messages_getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md) + +$MadelineProto->[messages_getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md) + +$MadelineProto->[messages_getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) == [$messages\_PeerDialogs](../types/messages_PeerDialogs.md) + +$MadelineProto->[messages_getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md) + +$MadelineProto->[messages_getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md) + +$MadelineProto->[messages_getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md) + +$MadelineProto->[messages_getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) == [$messages\_Stickers](../types/messages_Stickers.md) + +$MadelineProto->[messages_getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md) + +$MadelineProto->[messages_hideReportSpam](messages_hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'disabled' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +$MadelineProto->[messages_receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +$MadelineProto->[messages_receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[messages_reorderStickerSets](messages_reorderStickerSets.md)(\['order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md) + +$MadelineProto->[messages_saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md) + +$MadelineProto->[messages_searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md) + +$MadelineProto->[messages_sendBroadcast](messages_sendBroadcast.md)(\['contacts' => \[[InputUser](../types/InputUser.md)\], 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +$MadelineProto->[messages_sendInlineBotResult](messages_sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMedia](messages_sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[messages_startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md) + +$MadelineProto->[messages_uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[photos_deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md) + +$MadelineProto->[photos_getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md) + +$MadelineProto->[photos_updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md) + +$MadelineProto->[photos_uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'crop' => [InputPhotoCrop](../types/InputPhotoCrop.md), \]) == [$photos\_Photo](../types/photos_Photo.md) + +*** +

$MadelineProto->[updates_getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +$MadelineProto->[updates_getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md) + +$MadelineProto->[updates_getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md) + +*** +

$MadelineProto->[upload_getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md) + +$MadelineProto->[upload_saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +$MadelineProto->[upload_saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md) + +*** +

$MadelineProto->[users_getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md) + +$MadelineProto->[users_getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md) + diff --git a/docs/old/API_docs_v53/methods/initConnection.md b/docs/old/API_docs_v53/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v53/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/invokeAfterMsg.md b/docs/old/API_docs_v53/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v53/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/invokeAfterMsgs.md b/docs/old/API_docs_v53/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v53/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/invokeWithLayer.md b/docs/old/API_docs_v53/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v53/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v53/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v53/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_acceptEncryption.md b/docs/old/API_docs_v53/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_addChatUser.md b/docs/old/API_docs_v53/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_checkChatInvite.md b/docs/old/API_docs_v53/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_createChat.md b/docs/old/API_docs_v53/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_deleteChatUser.md b/docs/old/API_docs_v53/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_deleteHistory.md b/docs/old/API_docs_v53/methods/messages_deleteHistory.md similarity index 100% rename from docs/API_docs_55/methods/messages_deleteHistory.md rename to docs/old/API_docs_v53/methods/messages_deleteHistory.md diff --git a/docs/old/API_docs_v53/methods/messages_deleteMessages.md b/docs/old/API_docs_v53/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_discardEncryption.md b/docs/old/API_docs_v53/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_editChatAdmin.md b/docs/old/API_docs_v53/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_editChatPhoto.md b/docs/old/API_docs_v53/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_editChatTitle.md b/docs/old/API_docs_v53/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_editInlineBotMessage.md b/docs/old/API_docs_v53/methods/messages_editInlineBotMessage.md new file mode 100644 index 00000000..03c0a08a --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_editInlineBotMessage.md @@ -0,0 +1,41 @@ +--- +title: messages_editInlineBotMessage +description: messages_editInlineBotMessage parameters, return type and example +--- +## Method: messages\_editInlineBotMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_editMessage.md b/docs/old/API_docs_v53/methods/messages_editMessage.md new file mode 100644 index 00000000..6aaa666a --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_editMessage.md @@ -0,0 +1,42 @@ +--- +title: messages_editMessage +description: messages_editMessage parameters, return type and example +--- +## Method: messages\_editMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_exportChatInvite.md b/docs/old/API_docs_v53/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_forwardMessage.md b/docs/old/API_docs_v53/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_forwardMessages.md b/docs/old/API_docs_v53/methods/messages_forwardMessages.md similarity index 100% rename from docs/API_docs_55/methods/messages_forwardMessages.md rename to docs/old/API_docs_v53/methods/messages_forwardMessages.md diff --git a/docs/API_docs_55/methods/messages_getAllDrafts.md b/docs/old/API_docs_v53/methods/messages_getAllDrafts.md similarity index 100% rename from docs/API_docs_55/methods/messages_getAllDrafts.md rename to docs/old/API_docs_v53/methods/messages_getAllDrafts.md diff --git a/docs/old/API_docs_v53/methods/messages_getAllStickers.md b/docs/old/API_docs_v53/methods/messages_getAllStickers.md new file mode 100644 index 00000000..a9a4d8c0 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getBotCallbackAnswer.md b/docs/old/API_docs_v53/methods/messages_getBotCallbackAnswer.md new file mode 100644 index 00000000..63e2dd6e --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getBotCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages_getBotCallbackAnswer +description: messages_getBotCallbackAnswer parameters, return type and example +--- +## Method: messages\_getBotCallbackAnswer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getChats.md b/docs/old/API_docs_v53/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getDhConfig.md b/docs/old/API_docs_v53/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getDialogs.md b/docs/old/API_docs_v53/methods/messages_getDialogs.md new file mode 100644 index 00000000..85470cba --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getDialogs.md @@ -0,0 +1,40 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v53/methods/messages_getDocumentByHash.md new file mode 100644 index 00000000..9c379bae --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getDocumentByHash.md @@ -0,0 +1,39 @@ +--- +title: messages_getDocumentByHash +description: messages_getDocumentByHash parameters, return type and example +--- +## Method: messages\_getDocumentByHash +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sha256|[bytes](../types/bytes.md) | Required| +|size|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + +### Return type: [Document](../types/Document.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getFullChat.md b/docs/old/API_docs_v53/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getHistory.md b/docs/old/API_docs_v53/methods/messages_getHistory.md new file mode 100644 index 00000000..6f79903d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getHistory.md @@ -0,0 +1,43 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getInlineBotResults.md b/docs/old/API_docs_v53/methods/messages_getInlineBotResults.md new file mode 100644 index 00000000..d456eca9 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getInlineBotResults.md @@ -0,0 +1,41 @@ +--- +title: messages_getInlineBotResults +description: messages_getInlineBotResults parameters, return type and example +--- +## Method: messages\_getInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + +### Return type: [messages\_BotResults](../types/messages_BotResults.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getMessageEditData.md b/docs/old/API_docs_v53/methods/messages_getMessageEditData.md new file mode 100644 index 00000000..7669e380 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getMessageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages_getMessageEditData +description: messages_getMessageEditData parameters, return type and example +--- +## Method: messages\_getMessageEditData +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getMessages.md b/docs/old/API_docs_v53/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getMessagesViews.md b/docs/old/API_docs_v53/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getPeerDialogs.md b/docs/old/API_docs_v53/methods/messages_getPeerDialogs.md similarity index 100% rename from docs/API_docs_55/methods/messages_getPeerDialogs.md rename to docs/old/API_docs_v53/methods/messages_getPeerDialogs.md diff --git a/docs/old/API_docs_v53/methods/messages_getPeerSettings.md b/docs/old/API_docs_v53/methods/messages_getPeerSettings.md new file mode 100644 index 00000000..9edbb91e --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getPeerSettings.md @@ -0,0 +1,37 @@ +--- +title: messages_getPeerSettings +description: messages_getPeerSettings parameters, return type and example +--- +## Method: messages\_getPeerSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [PeerSettings](../types/PeerSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getSavedGifs.md b/docs/old/API_docs_v53/methods/messages_getSavedGifs.md new file mode 100644 index 00000000..29aab1d1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getSavedGifs.md @@ -0,0 +1,37 @@ +--- +title: messages_getSavedGifs +description: messages_getSavedGifs parameters, return type and example +--- +## Method: messages\_getSavedGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getStickerSet.md b/docs/old/API_docs_v53/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getStickers.md b/docs/old/API_docs_v53/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v53/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_hideReportSpam.md b/docs/old/API_docs_v53/methods/messages_hideReportSpam.md new file mode 100644 index 00000000..5c3acb86 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_hideReportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_hideReportSpam +description: messages_hideReportSpam parameters, return type and example +--- +## Method: messages\_hideReportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_importChatInvite.md b/docs/old/API_docs_v53/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_installStickerSet.md b/docs/old/API_docs_v53/methods/messages_installStickerSet.md new file mode 100644 index 00000000..d8f1dc04 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_installStickerSet.md @@ -0,0 +1,38 @@ +--- +title: messages_installStickerSet +description: messages_installStickerSet parameters, return type and example +--- +## Method: messages\_installStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| +|disabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->installStickerSet(['stickerset' => InputStickerSet, 'disabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_migrateChat.md b/docs/old/API_docs_v53/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v53/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_readHistory.md b/docs/old/API_docs_v53/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_readMessageContents.md b/docs/old/API_docs_v53/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_receivedMessages.md b/docs/old/API_docs_v53/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_receivedQueue.md b/docs/old/API_docs_v53/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v53/methods/messages_reorderStickerSets.md new file mode 100644 index 00000000..5857c31b --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_reorderStickerSets.md @@ -0,0 +1,37 @@ +--- +title: messages_reorderStickerSets +description: messages_reorderStickerSets parameters, return type and example +--- +## Method: messages\_reorderStickerSets +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_reportSpam.md b/docs/old/API_docs_v53/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_requestEncryption.md b/docs/old/API_docs_v53/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_saveDraft.md b/docs/old/API_docs_v53/methods/messages_saveDraft.md similarity index 100% rename from docs/API_docs_55/methods/messages_saveDraft.md rename to docs/old/API_docs_v53/methods/messages_saveDraft.md diff --git a/docs/old/API_docs_v53/methods/messages_saveGif.md b/docs/old/API_docs_v53/methods/messages_saveGif.md new file mode 100644 index 00000000..e006a9d6 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_saveGif.md @@ -0,0 +1,38 @@ +--- +title: messages_saveGif +description: messages_saveGif parameters, return type and example +--- +## Method: messages\_saveGif +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|unsave|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_search.md b/docs/old/API_docs_v53/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_searchGifs.md b/docs/old/API_docs_v53/methods/messages_searchGifs.md new file mode 100644 index 00000000..bef02816 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_searchGifs.md @@ -0,0 +1,38 @@ +--- +title: messages_searchGifs +description: messages_searchGifs parameters, return type and example +--- +## Method: messages\_searchGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_searchGlobal.md b/docs/old/API_docs_v53/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_sendBroadcast.md b/docs/old/API_docs_v53/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_sendEncrypted.md b/docs/old/API_docs_v53/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v53/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v53/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_sendInlineBotResult.md b/docs/old/API_docs_v53/methods/messages_sendInlineBotResult.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendInlineBotResult.md rename to docs/old/API_docs_v53/methods/messages_sendInlineBotResult.md diff --git a/docs/API_docs_55/methods/messages_sendMedia.md b/docs/old/API_docs_v53/methods/messages_sendMedia.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendMedia.md rename to docs/old/API_docs_v53/methods/messages_sendMedia.md diff --git a/docs/API_docs_55/methods/messages_sendMessage.md b/docs/old/API_docs_v53/methods/messages_sendMessage.md similarity index 100% rename from docs/API_docs_55/methods/messages_sendMessage.md rename to docs/old/API_docs_v53/methods/messages_sendMessage.md diff --git a/docs/old/API_docs_v53/methods/messages_setBotCallbackAnswer.md b/docs/old/API_docs_v53/methods/messages_setBotCallbackAnswer.md new file mode 100644 index 00000000..297f721d --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_setBotCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages_setBotCallbackAnswer +description: messages_setBotCallbackAnswer parameters, return type and example +--- +## Method: messages\_setBotCallbackAnswer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|message|[string](../types/string.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setBotCallbackAnswer(['alert' => Bool, 'query_id' => long, 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v53/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_setInlineBotResults.md b/docs/old/API_docs_v53/methods/messages_setInlineBotResults.md new file mode 100644 index 00000000..a5c1a3ee --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_setInlineBotResults.md @@ -0,0 +1,43 @@ +--- +title: messages_setInlineBotResults +description: messages_setInlineBotResults parameters, return type and example +--- +## Method: messages\_setInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|private|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|results|Array of [InputBotInlineResult](../types/InputBotInlineResult.md) | Required| +|cache\_time|[int](../types/int.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_setTyping.md b/docs/old/API_docs_v53/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_startBot.md b/docs/old/API_docs_v53/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v53/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v53/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v53/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/photos_deletePhotos.md b/docs/old/API_docs_v53/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v53/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/photos_getUserPhotos.md b/docs/old/API_docs_v53/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v53/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v53/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v53/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v53/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v53/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/updates_getChannelDifference.md b/docs/old/API_docs_v53/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v53/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/updates_getDifference.md b/docs/old/API_docs_v53/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v53/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/updates_getState.md b/docs/old/API_docs_v53/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v53/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/upload_getFile.md b/docs/old/API_docs_v53/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v53/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v53/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v53/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/upload_saveFilePart.md b/docs/old/API_docs_v53/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v53/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/users_getFullUser.md b/docs/old/API_docs_v53/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v53/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/methods/users_getUsers.md b/docs/old/API_docs_v53/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v53/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/!X.md b/docs/old/API_docs_v53/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v53/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/AccountDaysTTL.md b/docs/old/API_docs_v53/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v53/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v53/types/Authorization.md b/docs/old/API_docs_v53/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v53/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Bool.md b/docs/old/API_docs_v53/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v53/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/BotCommand.md b/docs/old/API_docs_v53/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v53/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/BotInfo.md b/docs/old/API_docs_v53/types/BotInfo.md new file mode 100644 index 00000000..5a74c1ae --- /dev/null +++ b/docs/old/API_docs_v53/types/BotInfo.md @@ -0,0 +1,19 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/BotInlineMessage.md b/docs/old/API_docs_v53/types/BotInlineMessage.md new file mode 100644 index 00000000..3d514e86 --- /dev/null +++ b/docs/old/API_docs_v53/types/BotInlineMessage.md @@ -0,0 +1,27 @@ +--- +title: BotInlineMessage +description: constructors and methods of type BotInlineMessage +--- +## Type: BotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) + +[botInlineMessageText](../constructors/botInlineMessageText.md) + +[botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) + +[botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) + +[botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/BotInlineResult.md b/docs/old/API_docs_v53/types/BotInlineResult.md new file mode 100644 index 00000000..cbbc151b --- /dev/null +++ b/docs/old/API_docs_v53/types/BotInlineResult.md @@ -0,0 +1,21 @@ +--- +title: BotInlineResult +description: constructors and methods of type BotInlineResult +--- +## Type: BotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineResult](../constructors/botInlineResult.md) + +[botInlineMediaResult](../constructors/botInlineMediaResult.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChannelMessagesFilter.md b/docs/old/API_docs_v53/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..099f2dcf --- /dev/null +++ b/docs/old/API_docs_v53/types/ChannelMessagesFilter.md @@ -0,0 +1,21 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChannelParticipant.md b/docs/old/API_docs_v53/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v53/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChannelParticipantRole.md b/docs/old/API_docs_v53/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v53/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v53/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v53/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Chat.md b/docs/old/API_docs_v53/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v53/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChatFull.md b/docs/old/API_docs_v53/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v53/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChatInvite.md b/docs/old/API_docs_v53/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v53/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v53/types/ChatParticipant.md b/docs/old/API_docs_v53/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v53/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChatParticipants.md b/docs/old/API_docs_v53/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v53/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ChatPhoto.md b/docs/old/API_docs_v53/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v53/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Config.md b/docs/old/API_docs_v53/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v53/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v53/types/Contact.md b/docs/old/API_docs_v53/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v53/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ContactBlocked.md b/docs/old/API_docs_v53/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v53/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ContactLink.md b/docs/old/API_docs_v53/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v53/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ContactStatus.md b/docs/old/API_docs_v53/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v53/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v53/types/DcOption.md b/docs/old/API_docs_v53/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v53/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Dialog.md b/docs/old/API_docs_v53/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v53/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/DisabledFeature.md b/docs/old/API_docs_v53/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v53/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Document.md b/docs/old/API_docs_v53/types/Document.md new file mode 100644 index 00000000..52c3c5a9 --- /dev/null +++ b/docs/old/API_docs_v53/types/Document.md @@ -0,0 +1,23 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) + + + diff --git a/docs/old/API_docs_v53/types/DocumentAttribute.md b/docs/old/API_docs_v53/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v53/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/DraftMessage.md b/docs/old/API_docs_v53/types/DraftMessage.md similarity index 100% rename from docs/API_docs_55/types/DraftMessage.md rename to docs/old/API_docs_v53/types/DraftMessage.md diff --git a/docs/old/API_docs_v53/types/EncryptedChat.md b/docs/old/API_docs_v53/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v53/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v53/types/EncryptedFile.md b/docs/old/API_docs_v53/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v53/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/EncryptedMessage.md b/docs/old/API_docs_v53/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v53/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Error.md b/docs/old/API_docs_v53/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v53/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ExportedChatInvite.md b/docs/old/API_docs_v53/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v53/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v53/types/ExportedMessageLink.md b/docs/old/API_docs_v53/types/ExportedMessageLink.md new file mode 100644 index 00000000..6d8dbd5b --- /dev/null +++ b/docs/old/API_docs_v53/types/ExportedMessageLink.md @@ -0,0 +1,21 @@ +--- +title: ExportedMessageLink +description: constructors and methods of type ExportedMessageLink +--- +## Type: ExportedMessageLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[exportedMessageLink](../constructors/exportedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) + + + diff --git a/docs/old/API_docs_v53/types/FileLocation.md b/docs/old/API_docs_v53/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v53/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/FoundGif.md b/docs/old/API_docs_v53/types/FoundGif.md new file mode 100644 index 00000000..e366c303 --- /dev/null +++ b/docs/old/API_docs_v53/types/FoundGif.md @@ -0,0 +1,21 @@ +--- +title: FoundGif +description: constructors and methods of type FoundGif +--- +## Type: FoundGif +[Back to types index](index.md) + + + +### Possible values (constructors): + +[foundGif](../constructors/foundGif.md) + +[foundGifCached](../constructors/foundGifCached.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/GeoPoint.md b/docs/old/API_docs_v53/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v53/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ImportedContact.md b/docs/old/API_docs_v53/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v53/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InlineBotSwitchPM.md b/docs/old/API_docs_v53/types/InlineBotSwitchPM.md new file mode 100644 index 00000000..f9d4c077 --- /dev/null +++ b/docs/old/API_docs_v53/types/InlineBotSwitchPM.md @@ -0,0 +1,19 @@ +--- +title: InlineBotSwitchPM +description: constructors and methods of type InlineBotSwitchPM +--- +## Type: InlineBotSwitchPM +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inlineBotSwitchPM](../constructors/inlineBotSwitchPM.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputAppEvent.md b/docs/old/API_docs_v53/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputBotInlineMessage.md b/docs/old/API_docs_v53/types/InputBotInlineMessage.md new file mode 100644 index 00000000..61a9d0b2 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputBotInlineMessage.md @@ -0,0 +1,27 @@ +--- +title: InputBotInlineMessage +description: constructors and methods of type InputBotInlineMessage +--- +## Type: InputBotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) + +[inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) + +[inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) + +[inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) + +[inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputBotInlineMessageID.md b/docs/old/API_docs_v53/types/InputBotInlineMessageID.md new file mode 100644 index 00000000..9e5ef2e3 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputBotInlineMessageID.md @@ -0,0 +1,19 @@ +--- +title: InputBotInlineMessageID +description: constructors and methods of type InputBotInlineMessageID +--- +## Type: InputBotInlineMessageID +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineMessageID](../constructors/inputBotInlineMessageID.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputBotInlineResult.md b/docs/old/API_docs_v53/types/InputBotInlineResult.md new file mode 100644 index 00000000..07732506 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputBotInlineResult.md @@ -0,0 +1,23 @@ +--- +title: InputBotInlineResult +description: constructors and methods of type InputBotInlineResult +--- +## Type: InputBotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineResult](../constructors/inputBotInlineResult.md) + +[inputBotInlineResultPhoto](../constructors/inputBotInlineResultPhoto.md) + +[inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputChannel.md b/docs/old/API_docs_v53/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v53/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputChatPhoto.md b/docs/old/API_docs_v53/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputContact.md b/docs/old/API_docs_v53/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputDocument.md b/docs/old/API_docs_v53/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputEncryptedChat.md b/docs/old/API_docs_v53/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputEncryptedFile.md b/docs/old/API_docs_v53/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputFile.md b/docs/old/API_docs_v53/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputFileLocation.md b/docs/old/API_docs_v53/types/InputFileLocation.md new file mode 100644 index 00000000..e15184d4 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputFileLocation.md @@ -0,0 +1,23 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputGeoPoint.md b/docs/old/API_docs_v53/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputMedia.md b/docs/old/API_docs_v53/types/InputMedia.md new file mode 100644 index 00000000..e3a8492a --- /dev/null +++ b/docs/old/API_docs_v53/types/InputMedia.md @@ -0,0 +1,37 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + +[inputMediaGifExternal](../constructors/inputMediaGifExternal.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputNotifyPeer.md b/docs/old/API_docs_v53/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v53/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPeer.md b/docs/old/API_docs_v53/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v53/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPeerNotifySettings.md b/docs/old/API_docs_v53/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPhoto.md b/docs/old/API_docs_v53/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPhotoCrop.md b/docs/old/API_docs_v53/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPrivacyKey.md b/docs/old/API_docs_v53/types/InputPrivacyKey.md new file mode 100644 index 00000000..b3d401e4 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPrivacyKey.md @@ -0,0 +1,21 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + +[inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputPrivacyRule.md b/docs/old/API_docs_v53/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v53/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputStickerSet.md b/docs/old/API_docs_v53/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v53/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/InputUser.md b/docs/old/API_docs_v53/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v53/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/KeyboardButton.md b/docs/old/API_docs_v53/types/KeyboardButton.md new file mode 100644 index 00000000..5bc043e6 --- /dev/null +++ b/docs/old/API_docs_v53/types/KeyboardButton.md @@ -0,0 +1,29 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + +[keyboardButtonUrl](../constructors/keyboardButtonUrl.md) + +[keyboardButtonCallback](../constructors/keyboardButtonCallback.md) + +[keyboardButtonRequestPhone](../constructors/keyboardButtonRequestPhone.md) + +[keyboardButtonRequestGeoLocation](../constructors/keyboardButtonRequestGeoLocation.md) + +[keyboardButtonSwitchInline](../constructors/keyboardButtonSwitchInline.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/KeyboardButtonRow.md b/docs/old/API_docs_v53/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v53/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Message.md b/docs/old/API_docs_v53/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v53/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/MessageAction.md b/docs/old/API_docs_v53/types/MessageAction.md similarity index 100% rename from docs/API_docs_55/types/MessageAction.md rename to docs/old/API_docs_v53/types/MessageAction.md diff --git a/docs/API_docs_55/types/MessageEntity.md b/docs/old/API_docs_v53/types/MessageEntity.md similarity index 100% rename from docs/API_docs_55/types/MessageEntity.md rename to docs/old/API_docs_v53/types/MessageEntity.md diff --git a/docs/old/API_docs_v53/types/MessageFwdHeader.md b/docs/old/API_docs_v53/types/MessageFwdHeader.md new file mode 100644 index 00000000..df742e47 --- /dev/null +++ b/docs/old/API_docs_v53/types/MessageFwdHeader.md @@ -0,0 +1,19 @@ +--- +title: MessageFwdHeader +description: constructors and methods of type MessageFwdHeader +--- +## Type: MessageFwdHeader +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageFwdHeader](../constructors/messageFwdHeader.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/MessageMedia.md b/docs/old/API_docs_v53/types/MessageMedia.md new file mode 100644 index 00000000..0809a15b --- /dev/null +++ b/docs/old/API_docs_v53/types/MessageMedia.md @@ -0,0 +1,35 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v53/types/MessageRange.md b/docs/old/API_docs_v53/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v53/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/MessagesFilter.md b/docs/old/API_docs_v53/types/MessagesFilter.md similarity index 100% rename from docs/API_docs_55/types/MessagesFilter.md rename to docs/old/API_docs_v53/types/MessagesFilter.md diff --git a/docs/old/API_docs_v53/types/NearestDc.md b/docs/old/API_docs_v53/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v53/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v53/types/NotifyPeer.md b/docs/old/API_docs_v53/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v53/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Null.md b/docs/old/API_docs_v53/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v53/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Peer.md b/docs/old/API_docs_v53/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v53/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/PeerNotifyEvents.md b/docs/old/API_docs_v53/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v53/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/PeerNotifySettings.md b/docs/old/API_docs_v53/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v53/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v53/types/PeerSettings.md b/docs/old/API_docs_v53/types/PeerSettings.md new file mode 100644 index 00000000..b08909e8 --- /dev/null +++ b/docs/old/API_docs_v53/types/PeerSettings.md @@ -0,0 +1,21 @@ +--- +title: PeerSettings +description: constructors and methods of type PeerSettings +--- +## Type: PeerSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerSettings](../constructors/peerSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) + + + diff --git a/docs/old/API_docs_v53/types/Photo.md b/docs/old/API_docs_v53/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v53/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/PhotoSize.md b/docs/old/API_docs_v53/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v53/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/PrivacyKey.md b/docs/old/API_docs_v53/types/PrivacyKey.md new file mode 100644 index 00000000..e0c366bf --- /dev/null +++ b/docs/old/API_docs_v53/types/PrivacyKey.md @@ -0,0 +1,21 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + +[privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/PrivacyRule.md b/docs/old/API_docs_v53/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v53/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v53/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v53/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v53/types/ReplyMarkup.md b/docs/old/API_docs_v53/types/ReplyMarkup.md new file mode 100644 index 00000000..6e4d41bc --- /dev/null +++ b/docs/old/API_docs_v53/types/ReplyMarkup.md @@ -0,0 +1,25 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + +[replyInlineMarkup](../constructors/replyInlineMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/ReportReason.md b/docs/old/API_docs_v53/types/ReportReason.md new file mode 100644 index 00000000..d04f6e1d --- /dev/null +++ b/docs/old/API_docs_v53/types/ReportReason.md @@ -0,0 +1,25 @@ +--- +title: ReportReason +description: constructors and methods of type ReportReason +--- +## Type: ReportReason +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/SendMessageAction.md b/docs/old/API_docs_v53/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v53/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/StickerPack.md b/docs/old/API_docs_v53/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v53/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/StickerSet.md b/docs/old/API_docs_v53/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v53/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/TopPeer.md b/docs/old/API_docs_v53/types/TopPeer.md similarity index 100% rename from docs/API_docs_55/types/TopPeer.md rename to docs/old/API_docs_v53/types/TopPeer.md diff --git a/docs/API_docs_55/types/TopPeerCategory.md b/docs/old/API_docs_v53/types/TopPeerCategory.md similarity index 100% rename from docs/API_docs_55/types/TopPeerCategory.md rename to docs/old/API_docs_v53/types/TopPeerCategory.md diff --git a/docs/API_docs_55/types/TopPeerCategoryPeers.md b/docs/old/API_docs_v53/types/TopPeerCategoryPeers.md similarity index 100% rename from docs/API_docs_55/types/TopPeerCategoryPeers.md rename to docs/old/API_docs_v53/types/TopPeerCategoryPeers.md diff --git a/docs/old/API_docs_v53/types/True.md b/docs/old/API_docs_v53/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v53/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Update.md b/docs/old/API_docs_v53/types/Update.md new file mode 100644 index 00000000..fa772c49 --- /dev/null +++ b/docs/old/API_docs_v53/types/Update.md @@ -0,0 +1,115 @@ +--- +title: Update +description: constructors and methods of type Update +--- +## Type: Update +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updateNewMessage](../constructors/updateNewMessage.md) + +[updateMessageID](../constructors/updateMessageID.md) + +[updateDeleteMessages](../constructors/updateDeleteMessages.md) + +[updateUserTyping](../constructors/updateUserTyping.md) + +[updateChatUserTyping](../constructors/updateChatUserTyping.md) + +[updateChatParticipants](../constructors/updateChatParticipants.md) + +[updateUserStatus](../constructors/updateUserStatus.md) + +[updateUserName](../constructors/updateUserName.md) + +[updateUserPhoto](../constructors/updateUserPhoto.md) + +[updateContactRegistered](../constructors/updateContactRegistered.md) + +[updateContactLink](../constructors/updateContactLink.md) + +[updateNewAuthorization](../constructors/updateNewAuthorization.md) + +[updateNewEncryptedMessage](../constructors/updateNewEncryptedMessage.md) + +[updateEncryptedChatTyping](../constructors/updateEncryptedChatTyping.md) + +[updateEncryption](../constructors/updateEncryption.md) + +[updateEncryptedMessagesRead](../constructors/updateEncryptedMessagesRead.md) + +[updateChatParticipantAdd](../constructors/updateChatParticipantAdd.md) + +[updateChatParticipantDelete](../constructors/updateChatParticipantDelete.md) + +[updateDcOptions](../constructors/updateDcOptions.md) + +[updateUserBlocked](../constructors/updateUserBlocked.md) + +[updateNotifySettings](../constructors/updateNotifySettings.md) + +[updateServiceNotification](../constructors/updateServiceNotification.md) + +[updatePrivacy](../constructors/updatePrivacy.md) + +[updateUserPhone](../constructors/updateUserPhone.md) + +[updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) + +[updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) + +[updateWebPage](../constructors/updateWebPage.md) + +[updateReadMessagesContents](../constructors/updateReadMessagesContents.md) + +[updateChannelTooLong](../constructors/updateChannelTooLong.md) + +[updateChannel](../constructors/updateChannel.md) + +[updateNewChannelMessage](../constructors/updateNewChannelMessage.md) + +[updateReadChannelInbox](../constructors/updateReadChannelInbox.md) + +[updateDeleteChannelMessages](../constructors/updateDeleteChannelMessages.md) + +[updateChannelMessageViews](../constructors/updateChannelMessageViews.md) + +[updateChatAdmins](../constructors/updateChatAdmins.md) + +[updateChatParticipantAdmin](../constructors/updateChatParticipantAdmin.md) + +[updateNewStickerSet](../constructors/updateNewStickerSet.md) + +[updateStickerSetsOrder](../constructors/updateStickerSetsOrder.md) + +[updateStickerSets](../constructors/updateStickerSets.md) + +[updateSavedGifs](../constructors/updateSavedGifs.md) + +[updateBotInlineQuery](../constructors/updateBotInlineQuery.md) + +[updateBotInlineSend](../constructors/updateBotInlineSend.md) + +[updateEditChannelMessage](../constructors/updateEditChannelMessage.md) + +[updateChannelPinnedMessage](../constructors/updateChannelPinnedMessage.md) + +[updateBotCallbackQuery](../constructors/updateBotCallbackQuery.md) + +[updateEditMessage](../constructors/updateEditMessage.md) + +[updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) + +[updateReadChannelOutbox](../constructors/updateReadChannelOutbox.md) + +[updateDraftMessage](../constructors/updateDraftMessage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Updates.md b/docs/old/API_docs_v53/types/Updates.md similarity index 100% rename from docs/API_docs_55/types/Updates.md rename to docs/old/API_docs_v53/types/Updates.md diff --git a/docs/old/API_docs_v53/types/User.md b/docs/old/API_docs_v53/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v53/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v53/types/UserFull.md b/docs/old/API_docs_v53/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v53/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v53/types/UserProfilePhoto.md b/docs/old/API_docs_v53/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v53/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v53/types/UserStatus.md b/docs/old/API_docs_v53/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v53/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/Vector t.md b/docs/old/API_docs_v53/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v53/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/WallPaper.md b/docs/old/API_docs_v53/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v53/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v53/types/WebPage.md b/docs/old/API_docs_v53/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v53/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/X.md b/docs/old/API_docs_v53/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v53/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/account_Authorizations.md b/docs/old/API_docs_v53/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v53/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v53/types/account_Password.md b/docs/old/API_docs_v53/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v53/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v53/types/account_PasswordInputSettings.md b/docs/old/API_docs_v53/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v53/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/account_PasswordSettings.md b/docs/old/API_docs_v53/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v53/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v53/types/account_PrivacyRules.md b/docs/old/API_docs_v53/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v53/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_Authorization.md b/docs/old/API_docs_v53/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_CheckedPhone.md b/docs/old/API_docs_v53/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_CodeType.md b/docs/old/API_docs_v53/types/auth_CodeType.md new file mode 100644 index 00000000..34bffaa7 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_CodeType.md @@ -0,0 +1,23 @@ +--- +title: auth_CodeType +description: constructors and methods of type auth_CodeType +--- +## Type: auth\_CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) + +[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) + +[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v53/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_PasswordRecovery.md b/docs/old/API_docs_v53/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_SentCode.md b/docs/old/API_docs_v53/types/auth_SentCode.md new file mode 100644 index 00000000..8fcf7337 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_SentCode.md @@ -0,0 +1,25 @@ +--- +title: auth_SentCode +description: constructors and methods of type auth_SentCode +--- +## Type: auth\_SentCode +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCode](../constructors/auth_sentCode.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->sendCode](../methods/auth_sendCode.md) + +[$MadelineProto->account->sendChangePhoneCode](../methods/account_sendChangePhoneCode.md) + +[$MadelineProto->auth->resendCode](../methods/auth_resendCode.md) + + + diff --git a/docs/old/API_docs_v53/types/auth_SentCodeType.md b/docs/old/API_docs_v53/types/auth_SentCodeType.md new file mode 100644 index 00000000..d86eaa86 --- /dev/null +++ b/docs/old/API_docs_v53/types/auth_SentCodeType.md @@ -0,0 +1,25 @@ +--- +title: auth_SentCodeType +description: constructors and methods of type auth_SentCodeType +--- +## Type: auth\_SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) + +[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) + +[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) + +[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/bytes.md b/docs/old/API_docs_v53/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v53/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/channels_ChannelParticipant.md b/docs/old/API_docs_v53/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v53/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v53/types/channels_ChannelParticipants.md b/docs/old/API_docs_v53/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v53/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_Blocked.md b/docs/old/API_docs_v53/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_Contacts.md b/docs/old/API_docs_v53/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_Found.md b/docs/old/API_docs_v53/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_ImportedContacts.md b/docs/old/API_docs_v53/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_Link.md b/docs/old/API_docs_v53/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v53/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v53/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v53/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/API_docs_55/types/contacts_TopPeers.md b/docs/old/API_docs_v53/types/contacts_TopPeers.md similarity index 100% rename from docs/API_docs_55/types/contacts_TopPeers.md rename to docs/old/API_docs_v53/types/contacts_TopPeers.md diff --git a/docs/old/API_docs_v53/types/double.md b/docs/old/API_docs_v53/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v53/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/help_AppChangelog.md b/docs/old/API_docs_v53/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v53/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v53/types/help_AppUpdate.md b/docs/old/API_docs_v53/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v53/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v53/types/help_InviteText.md b/docs/old/API_docs_v53/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v53/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v53/types/help_Support.md b/docs/old/API_docs_v53/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v53/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v53/types/help_TermsOfService.md b/docs/old/API_docs_v53/types/help_TermsOfService.md new file mode 100644 index 00000000..b57b19cc --- /dev/null +++ b/docs/old/API_docs_v53/types/help_TermsOfService.md @@ -0,0 +1,21 @@ +--- +title: help_TermsOfService +description: constructors and methods of type help_TermsOfService +--- +## Type: help\_TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_termsOfService](../constructors/help_termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) + + + diff --git a/docs/old/API_docs_v53/types/index.md b/docs/old/API_docs_v53/types/index.md new file mode 100644 index 00000000..e4469b50 --- /dev/null +++ b/docs/old/API_docs_v53/types/index.md @@ -0,0 +1,318 @@ +--- +title: Types +description: List of types +--- +# Types +[Back to API documentation index](..) + + +[AccountDaysTTL](AccountDaysTTL.md) + +[Authorization](Authorization.md) + +[Bool](Bool.md) + +[BotCommand](BotCommand.md) + +[BotInfo](BotInfo.md) + +[BotInlineMessage](BotInlineMessage.md) + +[BotInlineResult](BotInlineResult.md) + +[ChannelMessagesFilter](ChannelMessagesFilter.md) + +[ChannelParticipant](ChannelParticipant.md) + +[ChannelParticipantRole](ChannelParticipantRole.md) + +[ChannelParticipantsFilter](ChannelParticipantsFilter.md) + +[Chat](Chat.md) + +[ChatFull](ChatFull.md) + +[ChatInvite](ChatInvite.md) + +[ChatParticipant](ChatParticipant.md) + +[ChatParticipants](ChatParticipants.md) + +[ChatPhoto](ChatPhoto.md) + +[Config](Config.md) + +[Contact](Contact.md) + +[ContactBlocked](ContactBlocked.md) + +[ContactLink](ContactLink.md) + +[ContactStatus](ContactStatus.md) + +[DcOption](DcOption.md) + +[Dialog](Dialog.md) + +[DisabledFeature](DisabledFeature.md) + +[Document](Document.md) + +[DocumentAttribute](DocumentAttribute.md) + +[DraftMessage](DraftMessage.md) + +[EncryptedChat](EncryptedChat.md) + +[EncryptedFile](EncryptedFile.md) + +[EncryptedMessage](EncryptedMessage.md) + +[Error](Error.md) + +[ExportedChatInvite](ExportedChatInvite.md) + +[ExportedMessageLink](ExportedMessageLink.md) + +[FileLocation](FileLocation.md) + +[FoundGif](FoundGif.md) + +[GeoPoint](GeoPoint.md) + +[ImportedContact](ImportedContact.md) + +[InlineBotSwitchPM](InlineBotSwitchPM.md) + +[InputAppEvent](InputAppEvent.md) + +[InputBotInlineMessage](InputBotInlineMessage.md) + +[InputBotInlineMessageID](InputBotInlineMessageID.md) + +[InputBotInlineResult](InputBotInlineResult.md) + +[InputChannel](InputChannel.md) + +[InputChatPhoto](InputChatPhoto.md) + +[InputContact](InputContact.md) + +[InputDocument](InputDocument.md) + +[InputEncryptedChat](InputEncryptedChat.md) + +[InputEncryptedFile](InputEncryptedFile.md) + +[InputFile](InputFile.md) + +[InputFileLocation](InputFileLocation.md) + +[InputGeoPoint](InputGeoPoint.md) + +[InputMedia](InputMedia.md) + +[InputNotifyPeer](InputNotifyPeer.md) + +[InputPeer](InputPeer.md) + +[InputPeerNotifyEvents](InputPeerNotifyEvents.md) + +[InputPeerNotifySettings](InputPeerNotifySettings.md) + +[InputPhoto](InputPhoto.md) + +[InputPhotoCrop](InputPhotoCrop.md) + +[InputPrivacyKey](InputPrivacyKey.md) + +[InputPrivacyRule](InputPrivacyRule.md) + +[InputStickerSet](InputStickerSet.md) + +[InputUser](InputUser.md) + +[KeyboardButton](KeyboardButton.md) + +[KeyboardButtonRow](KeyboardButtonRow.md) + +[Message](Message.md) + +[MessageAction](MessageAction.md) + +[MessageEntity](MessageEntity.md) + +[MessageFwdHeader](MessageFwdHeader.md) + +[MessageMedia](MessageMedia.md) + +[MessageRange](MessageRange.md) + +[MessagesFilter](MessagesFilter.md) + +[NearestDc](NearestDc.md) + +[NotifyPeer](NotifyPeer.md) + +[Null](Null.md) + +[Peer](Peer.md) + +[PeerNotifyEvents](PeerNotifyEvents.md) + +[PeerNotifySettings](PeerNotifySettings.md) + +[PeerSettings](PeerSettings.md) + +[Photo](Photo.md) + +[PhotoSize](PhotoSize.md) + +[PrivacyKey](PrivacyKey.md) + +[PrivacyRule](PrivacyRule.md) + +[ReceivedNotifyMessage](ReceivedNotifyMessage.md) + +[ReplyMarkup](ReplyMarkup.md) + +[ReportReason](ReportReason.md) + +[SendMessageAction](SendMessageAction.md) + +[StickerPack](StickerPack.md) + +[StickerSet](StickerSet.md) + +[TopPeer](TopPeer.md) + +[TopPeerCategory](TopPeerCategory.md) + +[TopPeerCategoryPeers](TopPeerCategoryPeers.md) + +[True](True.md) + +[Update](Update.md) + +[Updates](Updates.md) + +[User](User.md) + +[UserFull](UserFull.md) + +[UserProfilePhoto](UserProfilePhoto.md) + +[UserStatus](UserStatus.md) + +[Vector t](Vector t.md) + +[WallPaper](WallPaper.md) + +[WebPage](WebPage.md) + +[X](X.md) + +[account\_Authorizations](account_Authorizations.md) + +[account\_Password](account_Password.md) + +[account\_PasswordInputSettings](account_PasswordInputSettings.md) + +[account\_PasswordSettings](account_PasswordSettings.md) + +[account\_PrivacyRules](account_PrivacyRules.md) + +[auth\_Authorization](auth_Authorization.md) + +[auth\_CheckedPhone](auth_CheckedPhone.md) + +[auth\_CodeType](auth_CodeType.md) + +[auth\_ExportedAuthorization](auth_ExportedAuthorization.md) + +[auth\_PasswordRecovery](auth_PasswordRecovery.md) + +[auth\_SentCode](auth_SentCode.md) + +[auth\_SentCodeType](auth_SentCodeType.md) + +[channels\_ChannelParticipant](channels_ChannelParticipant.md) + +[channels\_ChannelParticipants](channels_ChannelParticipants.md) + +[contacts\_Blocked](contacts_Blocked.md) + +[contacts\_Contacts](contacts_Contacts.md) + +[contacts\_Found](contacts_Found.md) + +[contacts\_ImportedContacts](contacts_ImportedContacts.md) + +[contacts\_Link](contacts_Link.md) + +[contacts\_ResolvedPeer](contacts_ResolvedPeer.md) + +[contacts\_TopPeers](contacts_TopPeers.md) + +[help\_AppChangelog](help_AppChangelog.md) + +[help\_AppUpdate](help_AppUpdate.md) + +[help\_InviteText](help_InviteText.md) + +[help\_Support](help_Support.md) + +[help\_TermsOfService](help_TermsOfService.md) + +[int](int.md) + +[long](long.md) + +[messages\_AffectedHistory](messages_AffectedHistory.md) + +[messages\_AffectedMessages](messages_AffectedMessages.md) + +[messages\_AllStickers](messages_AllStickers.md) + +[messages\_BotCallbackAnswer](messages_BotCallbackAnswer.md) + +[messages\_BotResults](messages_BotResults.md) + +[messages\_ChatFull](messages_ChatFull.md) + +[messages\_Chats](messages_Chats.md) + +[messages\_DhConfig](messages_DhConfig.md) + +[messages\_Dialogs](messages_Dialogs.md) + +[messages\_FoundGifs](messages_FoundGifs.md) + +[messages\_MessageEditData](messages_MessageEditData.md) + +[messages\_Messages](messages_Messages.md) + +[messages\_PeerDialogs](messages_PeerDialogs.md) + +[messages\_SavedGifs](messages_SavedGifs.md) + +[messages\_SentEncryptedMessage](messages_SentEncryptedMessage.md) + +[messages\_StickerSet](messages_StickerSet.md) + +[messages\_Stickers](messages_Stickers.md) + +[photos\_Photo](photos_Photo.md) + +[photos\_Photos](photos_Photos.md) + +[storage\_FileType](storage_FileType.md) + +[updates\_ChannelDifference](updates_ChannelDifference.md) + +[updates\_Difference](updates_Difference.md) + +[updates\_State](updates_State.md) + +[upload\_File](upload_File.md) + diff --git a/docs/old/API_docs_v53/types/int.md b/docs/old/API_docs_v53/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v53/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/int128.md b/docs/old/API_docs_v53/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v53/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/int256.md b/docs/old/API_docs_v53/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v53/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/int512.md b/docs/old/API_docs_v53/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v53/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/long.md b/docs/old/API_docs_v53/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v53/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/messages_AffectedHistory.md b/docs/old/API_docs_v53/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_AffectedMessages.md b/docs/old/API_docs_v53/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_AllStickers.md b/docs/old/API_docs_v53/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_BotCallbackAnswer.md b/docs/old/API_docs_v53/types/messages_BotCallbackAnswer.md new file mode 100644 index 00000000..00b06cf1 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_BotCallbackAnswer.md @@ -0,0 +1,21 @@ +--- +title: messages_BotCallbackAnswer +description: constructors and methods of type messages_BotCallbackAnswer +--- +## Type: messages\_BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_BotResults.md b/docs/old/API_docs_v53/types/messages_BotResults.md new file mode 100644 index 00000000..e07a2e57 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_BotResults.md @@ -0,0 +1,21 @@ +--- +title: messages_BotResults +description: constructors and methods of type messages_BotResults +--- +## Type: messages\_BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_botResults](../constructors/messages_botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_ChatFull.md b/docs/old/API_docs_v53/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_Chats.md b/docs/old/API_docs_v53/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_DhConfig.md b/docs/old/API_docs_v53/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_Dialogs.md b/docs/old/API_docs_v53/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_FoundGifs.md b/docs/old/API_docs_v53/types/messages_FoundGifs.md new file mode 100644 index 00000000..2992f9d7 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_FoundGifs.md @@ -0,0 +1,21 @@ +--- +title: messages_FoundGifs +description: constructors and methods of type messages_FoundGifs +--- +## Type: messages\_FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_foundGifs](../constructors/messages_foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_MessageEditData.md b/docs/old/API_docs_v53/types/messages_MessageEditData.md new file mode 100644 index 00000000..9e231425 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_MessageEditData.md @@ -0,0 +1,21 @@ +--- +title: messages_MessageEditData +description: constructors and methods of type messages_MessageEditData +--- +## Type: messages\_MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messageEditData](../constructors/messages_messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) + + + diff --git a/docs/API_docs_55/types/messages_Messages.md b/docs/old/API_docs_v53/types/messages_Messages.md similarity index 100% rename from docs/API_docs_55/types/messages_Messages.md rename to docs/old/API_docs_v53/types/messages_Messages.md diff --git a/docs/API_docs_55/types/messages_PeerDialogs.md b/docs/old/API_docs_v53/types/messages_PeerDialogs.md similarity index 100% rename from docs/API_docs_55/types/messages_PeerDialogs.md rename to docs/old/API_docs_v53/types/messages_PeerDialogs.md diff --git a/docs/old/API_docs_v53/types/messages_SavedGifs.md b/docs/old/API_docs_v53/types/messages_SavedGifs.md new file mode 100644 index 00000000..0aa766ec --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_SavedGifs.md @@ -0,0 +1,23 @@ +--- +title: messages_SavedGifs +description: constructors and methods of type messages_SavedGifs +--- +## Type: messages\_SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) + +[messages\_savedGifs](../constructors/messages_savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v53/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_StickerSet.md b/docs/old/API_docs_v53/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/old/API_docs_v53/types/messages_Stickers.md b/docs/old/API_docs_v53/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v53/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v53/types/photos_Photo.md b/docs/old/API_docs_v53/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v53/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v53/types/photos_Photos.md b/docs/old/API_docs_v53/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v53/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v53/types/storage_FileType.md b/docs/old/API_docs_v53/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v53/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v53/types/string.md b/docs/old/API_docs_v53/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v53/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v53/types/updates_ChannelDifference.md b/docs/old/API_docs_v53/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v53/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v53/types/updates_Difference.md b/docs/old/API_docs_v53/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v53/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v53/types/updates_State.md b/docs/old/API_docs_v53/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v53/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v53/types/upload_File.md b/docs/old/API_docs_v53/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v53/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/API_docs_v55/constructors/accountDaysTTL.md b/docs/old/API_docs_v55/constructors/accountDaysTTL.md new file mode 100644 index 00000000..ee21d493 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/accountDaysTTL.md @@ -0,0 +1,26 @@ +--- +title: accountDaysTTL +description: accountDaysTTL attributes, type and example +--- +## Constructor: accountDaysTTL +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|days|[int](../types/int.md) | Required| + + + +### Type: [AccountDaysTTL](../types/AccountDaysTTL.md) + + +### Example: + +``` +$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_authorizations.md b/docs/old/API_docs_v55/constructors/account_authorizations.md new file mode 100644 index 00000000..21f6fd71 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_authorizations.md @@ -0,0 +1,26 @@ +--- +title: account_authorizations +description: account_authorizations attributes, type and example +--- +## Constructor: account\_authorizations +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|authorizations|Array of [Authorization](../types/Authorization.md) | Required| + + + +### Type: [account\_Authorizations](../types/account_Authorizations.md) + + +### Example: + +``` +$account_authorizations = ['_' => 'account_authorizations', 'authorizations' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_noPassword.md b/docs/old/API_docs_v55/constructors/account_noPassword.md new file mode 100644 index 00000000..294766b7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_noPassword.md @@ -0,0 +1,27 @@ +--- +title: account_noPassword +description: account_noPassword attributes, type and example +--- +## Constructor: account\_noPassword +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_noPassword = ['_' => 'account_noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_password.md b/docs/old/API_docs_v55/constructors/account_password.md new file mode 100644 index 00000000..dd6873a8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_password.md @@ -0,0 +1,30 @@ +--- +title: account_password +description: account_password attributes, type and example +--- +## Constructor: account\_password +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_salt|[bytes](../types/bytes.md) | Required| +|new\_salt|[bytes](../types/bytes.md) | Required| +|hint|[string](../types/string.md) | Required| +|has\_recovery|[Bool](../types/Bool.md) | Required| +|email\_unconfirmed\_pattern|[string](../types/string.md) | Required| + + + +### Type: [account\_Password](../types/account_Password.md) + + +### Example: + +``` +$account_password = ['_' => 'account_password', 'current_salt' => bytes, 'new_salt' => bytes, 'hint' => string, 'has_recovery' => Bool, 'email_unconfirmed_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_passwordInputSettings.md b/docs/old/API_docs_v55/constructors/account_passwordInputSettings.md new file mode 100644 index 00000000..e90c88b5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_passwordInputSettings.md @@ -0,0 +1,29 @@ +--- +title: account_passwordInputSettings +description: account_passwordInputSettings attributes, type and example +--- +## Constructor: account\_passwordInputSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_salt|[bytes](../types/bytes.md) | Optional| +|new\_password\_hash|[bytes](../types/bytes.md) | Optional| +|hint|[string](../types/string.md) | Optional| +|email|[string](../types/string.md) | Optional| + + + +### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) + + +### Example: + +``` +$account_passwordInputSettings = ['_' => 'account_passwordInputSettings', 'new_salt' => bytes, 'new_password_hash' => bytes, 'hint' => string, 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_passwordSettings.md b/docs/old/API_docs_v55/constructors/account_passwordSettings.md new file mode 100644 index 00000000..4e92aab4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_passwordSettings.md @@ -0,0 +1,26 @@ +--- +title: account_passwordSettings +description: account_passwordSettings attributes, type and example +--- +## Constructor: account\_passwordSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email|[string](../types/string.md) | Required| + + + +### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + + +### Example: + +``` +$account_passwordSettings = ['_' => 'account_passwordSettings', 'email' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/account_privacyRules.md b/docs/old/API_docs_v55/constructors/account_privacyRules.md new file mode 100644 index 00000000..c621c136 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/account_privacyRules.md @@ -0,0 +1,27 @@ +--- +title: account_privacyRules +description: account_privacyRules attributes, type and example +--- +## Constructor: account\_privacyRules +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + + +### Example: + +``` +$account_privacyRules = ['_' => 'account_privacyRules', 'rules' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_authorization.md b/docs/old/API_docs_v55/constructors/auth_authorization.md new file mode 100644 index 00000000..8116c8ed --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_authorization.md @@ -0,0 +1,27 @@ +--- +title: auth_authorization +description: auth_authorization attributes, type and example +--- +## Constructor: auth\_authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|tmp\_sessions|[int](../types/int.md) | Optional| +|user|[User](../types/User.md) | Required| + + + +### Type: [auth\_Authorization](../types/auth_Authorization.md) + + +### Example: + +``` +$auth_authorization = ['_' => 'auth_authorization', 'tmp_sessions' => int, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_checkedPhone.md b/docs/old/API_docs_v55/constructors/auth_checkedPhone.md new file mode 100644 index 00000000..2a8a8334 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_checkedPhone.md @@ -0,0 +1,26 @@ +--- +title: auth_checkedPhone +description: auth_checkedPhone attributes, type and example +--- +## Constructor: auth\_checkedPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Required| + + + +### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + + +### Example: + +``` +$auth_checkedPhone = ['_' => 'auth_checkedPhone', 'phone_registered' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_codeTypeCall.md b/docs/old/API_docs_v55/constructors/auth_codeTypeCall.md new file mode 100644 index 00000000..a87bfff1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_codeTypeCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeCall +description: auth_codeTypeCall attributes, type and example +--- +## Constructor: auth\_codeTypeCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeCall = ['_' => 'auth_codeTypeCall', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_codeTypeFlashCall.md b/docs/old/API_docs_v55/constructors/auth_codeTypeFlashCall.md new file mode 100644 index 00000000..9bc67f24 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_codeTypeFlashCall.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeFlashCall +description: auth_codeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_codeTypeFlashCall +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeFlashCall = ['_' => 'auth_codeTypeFlashCall', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_codeTypeSms.md b/docs/old/API_docs_v55/constructors/auth_codeTypeSms.md new file mode 100644 index 00000000..0d45357a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_codeTypeSms.md @@ -0,0 +1,21 @@ +--- +title: auth_codeTypeSms +description: auth_codeTypeSms attributes, type and example +--- +## Constructor: auth\_codeTypeSms +[Back to constructors index](index.md) + + + + + + +### Type: [auth\_CodeType](../types/auth_CodeType.md) + + +### Example: + +``` +$auth_codeTypeSms = ['_' => 'auth_codeTypeSms', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_exportedAuthorization.md b/docs/old/API_docs_v55/constructors/auth_exportedAuthorization.md new file mode 100644 index 00000000..274de10e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_exportedAuthorization.md @@ -0,0 +1,27 @@ +--- +title: auth_exportedAuthorization +description: auth_exportedAuthorization attributes, type and example +--- +## Constructor: auth\_exportedAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + + +### Example: + +``` +$auth_exportedAuthorization = ['_' => 'auth_exportedAuthorization', 'id' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_passwordRecovery.md b/docs/old/API_docs_v55/constructors/auth_passwordRecovery.md new file mode 100644 index 00000000..63883e7b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_passwordRecovery.md @@ -0,0 +1,26 @@ +--- +title: auth_passwordRecovery +description: auth_passwordRecovery attributes, type and example +--- +## Constructor: auth\_passwordRecovery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|email\_pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + + +### Example: + +``` +$auth_passwordRecovery = ['_' => 'auth_passwordRecovery', 'email_pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_sentCode.md b/docs/old/API_docs_v55/constructors/auth_sentCode.md new file mode 100644 index 00000000..53b4d681 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_sentCode.md @@ -0,0 +1,30 @@ +--- +title: auth_sentCode +description: auth_sentCode attributes, type and example +--- +## Constructor: auth\_sentCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_registered|[Bool](../types/Bool.md) | Optional| +|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [auth\_SentCode](../types/auth_SentCode.md) + + +### Example: + +``` +$auth_sentCode = ['_' => 'auth_sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_sentCodeTypeApp.md b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeApp.md new file mode 100644 index 00000000..2ee592b4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeApp.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeApp +description: auth_sentCodeTypeApp attributes, type and example +--- +## Constructor: auth\_sentCodeTypeApp +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeApp = ['_' => 'auth_sentCodeTypeApp', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_sentCodeTypeCall.md b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeCall.md new file mode 100644 index 00000000..d681883b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeCall +description: auth_sentCodeTypeCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeCall = ['_' => 'auth_sentCodeTypeCall', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md new file mode 100644 index 00000000..95efd88f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeFlashCall.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeFlashCall +description: auth_sentCodeTypeFlashCall attributes, type and example +--- +## Constructor: auth\_sentCodeTypeFlashCall +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pattern|[string](../types/string.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeFlashCall = ['_' => 'auth_sentCodeTypeFlashCall', 'pattern' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/auth_sentCodeTypeSms.md b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeSms.md new file mode 100644 index 00000000..95899956 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/auth_sentCodeTypeSms.md @@ -0,0 +1,26 @@ +--- +title: auth_sentCodeTypeSms +description: auth_sentCodeTypeSms attributes, type and example +--- +## Constructor: auth\_sentCodeTypeSms +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|length|[int](../types/int.md) | Required| + + + +### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md) + + +### Example: + +``` +$auth_sentCodeTypeSms = ['_' => 'auth_sentCodeTypeSms', 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/authorization.md b/docs/old/API_docs_v55/constructors/authorization.md new file mode 100644 index 00000000..2029d267 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/authorization.md @@ -0,0 +1,37 @@ +--- +title: authorization +description: authorization attributes, type and example +--- +## Constructor: authorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|platform|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|api\_id|[int](../types/int.md) | Required| +|app\_name|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|date\_created|[int](../types/int.md) | Required| +|date\_active|[int](../types/int.md) | Required| +|ip|[string](../types/string.md) | Required| +|country|[string](../types/string.md) | Required| +|region|[string](../types/string.md) | Required| + + + +### Type: [Authorization](../types/Authorization.md) + + +### Example: + +``` +$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/boolFalse.md b/docs/old/API_docs_v55/constructors/boolFalse.md new file mode 100644 index 00000000..3462a90f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/boolFalse.md @@ -0,0 +1,8 @@ +--- +title: boolFalse +description: Represents a boolean with value equal to false +--- +# boolFalse +[Back to constructor index](index.md) + + Represents a boolean with value equal to `false`. \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/boolTrue.md b/docs/old/API_docs_v55/constructors/boolTrue.md new file mode 100644 index 00000000..2b200e04 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/boolTrue.md @@ -0,0 +1,8 @@ +--- +title: boolTrue +description: Represents a boolean with value equal to true +--- +# boolTrue +[Back to constructor index](index.md) + +Represents a boolean with value equal to `true`. \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/botCommand.md b/docs/old/API_docs_v55/constructors/botCommand.md new file mode 100644 index 00000000..40713c71 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botCommand.md @@ -0,0 +1,27 @@ +--- +title: botCommand +description: botCommand attributes, type and example +--- +## Constructor: botCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|command|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [BotCommand](../types/BotCommand.md) + + +### Example: + +``` +$botCommand = ['_' => 'botCommand', 'command' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInfo.md b/docs/old/API_docs_v55/constructors/botInfo.md new file mode 100644 index 00000000..63be7e80 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInfo.md @@ -0,0 +1,28 @@ +--- +title: botInfo +description: botInfo attributes, type and example +--- +## Constructor: botInfo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|description|[string](../types/string.md) | Required| +|commands|Array of [BotCommand](../types/BotCommand.md) | Required| + + + +### Type: [BotInfo](../types/BotInfo.md) + + +### Example: + +``` +$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => string, 'commands' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMediaResult.md b/docs/old/API_docs_v55/constructors/botInlineMediaResult.md new file mode 100644 index 00000000..ba366745 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMediaResult.md @@ -0,0 +1,32 @@ +--- +title: botInlineMediaResult +description: botInlineMediaResult attributes, type and example +--- +## Constructor: botInlineMediaResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Optional| +|document|[Document](../types/Document.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => string, 'type' => string, 'photo' => Photo, 'document' => Document, 'title' => string, 'description' => string, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMessageMediaAuto.md b/docs/old/API_docs_v55/constructors/botInlineMessageMediaAuto.md new file mode 100644 index 00000000..2e94b63f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaAuto +description: botInlineMessageMediaAuto attributes, type and example +--- +## Constructor: botInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMessageMediaContact.md b/docs/old/API_docs_v55/constructors/botInlineMessageMediaContact.md new file mode 100644 index 00000000..287d4826 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageMediaContact +description: botInlineMessageMediaContact attributes, type and example +--- +## Constructor: botInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMessageMediaGeo.md b/docs/old/API_docs_v55/constructors/botInlineMessageMediaGeo.md new file mode 100644 index 00000000..f59c902a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: botInlineMessageMediaGeo +description: botInlineMessageMediaGeo attributes, type and example +--- +## Constructor: botInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMessageMediaVenue.md b/docs/old/API_docs_v55/constructors/botInlineMessageMediaVenue.md new file mode 100644 index 00000000..e719bb56 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: botInlineMessageMediaVenue +description: botInlineMessageMediaVenue attributes, type and example +--- +## Constructor: botInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineMessageText.md b/docs/old/API_docs_v55/constructors/botInlineMessageText.md new file mode 100644 index 00000000..a0f45747 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: botInlineMessageText +description: botInlineMessageText attributes, type and example +--- +## Constructor: botInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [BotInlineMessage](../types/BotInlineMessage.md) + + +### Example: + +``` +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/botInlineResult.md b/docs/old/API_docs_v55/constructors/botInlineResult.md new file mode 100644 index 00000000..0ce5fe1e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/botInlineResult.md @@ -0,0 +1,37 @@ +--- +title: botInlineResult +description: botInlineResult attributes, type and example +--- +## Constructor: botInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Required| + + + +### Type: [BotInlineResult](../types/BotInlineResult.md) + + +### Example: + +``` +$botInlineResult = ['_' => 'botInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channel.md b/docs/old/API_docs_v55/constructors/channel.md new file mode 100644 index 00000000..1b7ba64d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channel.md @@ -0,0 +1,58 @@ +--- +title: channel +description: channel attributes, type and example +--- +## Constructor: channel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|editor|[Bool](../types/Bool.md) | Optional| +|moderator|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|democracy|[Bool](../types/Bool.md) | Optional| +|signatures|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|title|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Optional| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|restriction\_reason|[string](../types/string.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channel = '@username'; // Username + +$channel = 44700; // bot API id (users) +$channel = -492772765; // bot API id (chats) +$channel = -10038575794; // bot API id (channels) + +$channel = 'user#44700'; // tg-cli style id (users) +$channel = 'chat#492772765'; // tg-cli style id (chats) +$channel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/channelForbidden.md b/docs/old/API_docs_v55/constructors/channelForbidden.md new file mode 100644 index 00000000..36b7ac28 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelForbidden.md @@ -0,0 +1,43 @@ +--- +title: channelForbidden +description: channelForbidden attributes, type and example +--- +## Constructor: channelForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$channelForbidden = '@username'; // Username + +$channelForbidden = 44700; // bot API id (users) +$channelForbidden = -492772765; // bot API id (chats) +$channelForbidden = -10038575794; // bot API id (channels) + +$channelForbidden = 'user#44700'; // tg-cli style id (users) +$channelForbidden = 'chat#492772765'; // tg-cli style id (chats) +$channelForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/channelFull.md b/docs/old/API_docs_v55/constructors/channelFull.md new file mode 100644 index 00000000..33c11b23 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelFull.md @@ -0,0 +1,42 @@ +--- +title: channelFull +description: channelFull attributes, type and example +--- +## Constructor: channelFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|can\_view\_participants|[Bool](../types/Bool.md) | Optional| +|can\_set\_username|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|about|[string](../types/string.md) | Required| +|participants\_count|[int](../types/int.md) | Optional| +|admins\_count|[int](../types/int.md) | Optional| +|kicked\_count|[int](../types/int.md) | Optional| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| +|migrated\_from\_chat\_id|[int](../types/int.md) | Optional| +|migrated\_from\_max\_id|[int](../types/int.md) | Optional| +|pinned\_msg\_id|[int](../types/int.md) | Optional| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelMessagesFilter.md b/docs/old/API_docs_v55/constructors/channelMessagesFilter.md new file mode 100644 index 00000000..4b908c3b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelMessagesFilter.md @@ -0,0 +1,27 @@ +--- +title: channelMessagesFilter +description: channelMessagesFilter attributes, type and example +--- +## Constructor: channelMessagesFilter +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional| +|ranges|Array of [MessageRange](../types/MessageRange.md) | Required| + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelMessagesFilterEmpty.md b/docs/old/API_docs_v55/constructors/channelMessagesFilterEmpty.md new file mode 100644 index 00000000..795a3566 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelMessagesFilterEmpty +description: channelMessagesFilterEmpty attributes, type and example +--- +## Constructor: channelMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md) + + +### Example: + +``` +$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipant.md b/docs/old/API_docs_v55/constructors/channelParticipant.md new file mode 100644 index 00000000..7c5285b4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channelParticipant +description: channelParticipant attributes, type and example +--- +## Constructor: channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantCreator.md b/docs/old/API_docs_v55/constructors/channelParticipantCreator.md new file mode 100644 index 00000000..db404ea9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: channelParticipantCreator +description: channelParticipantCreator attributes, type and example +--- +## Constructor: channelParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantEditor.md b/docs/old/API_docs_v55/constructors/channelParticipantEditor.md new file mode 100644 index 00000000..d1528461 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantEditor.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantEditor +description: channelParticipantEditor attributes, type and example +--- +## Constructor: channelParticipantEditor +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantEditor = ['_' => 'channelParticipantEditor', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantKicked.md b/docs/old/API_docs_v55/constructors/channelParticipantKicked.md new file mode 100644 index 00000000..9fb17baa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantKicked.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantKicked +description: channelParticipantKicked attributes, type and example +--- +## Constructor: channelParticipantKicked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|kicked\_by|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantKicked = ['_' => 'channelParticipantKicked', 'user_id' => int, 'kicked_by' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantModerator.md b/docs/old/API_docs_v55/constructors/channelParticipantModerator.md new file mode 100644 index 00000000..c973f862 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantModerator.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantModerator +description: channelParticipantModerator attributes, type and example +--- +## Constructor: channelParticipantModerator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantModerator = ['_' => 'channelParticipantModerator', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantSelf.md b/docs/old/API_docs_v55/constructors/channelParticipantSelf.md new file mode 100644 index 00000000..3af75916 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantSelf.md @@ -0,0 +1,28 @@ +--- +title: channelParticipantSelf +description: channelParticipantSelf attributes, type and example +--- +## Constructor: channelParticipantSelf +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChannelParticipant](../types/ChannelParticipant.md) + + +### Example: + +``` +$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantsAdmins.md b/docs/old/API_docs_v55/constructors/channelParticipantsAdmins.md new file mode 100644 index 00000000..f58bdf25 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantsAdmins.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsAdmins +description: channelParticipantsAdmins attributes, type and example +--- +## Constructor: channelParticipantsAdmins +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantsBots.md b/docs/old/API_docs_v55/constructors/channelParticipantsBots.md new file mode 100644 index 00000000..66cfecae --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantsBots.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsBots +description: channelParticipantsBots attributes, type and example +--- +## Constructor: channelParticipantsBots +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsBots = ['_' => 'channelParticipantsBots', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantsKicked.md b/docs/old/API_docs_v55/constructors/channelParticipantsKicked.md new file mode 100644 index 00000000..c869f17a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantsKicked.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsKicked +description: channelParticipantsKicked attributes, type and example +--- +## Constructor: channelParticipantsKicked +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelParticipantsRecent.md b/docs/old/API_docs_v55/constructors/channelParticipantsRecent.md new file mode 100644 index 00000000..bd29ca22 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelParticipantsRecent.md @@ -0,0 +1,21 @@ +--- +title: channelParticipantsRecent +description: channelParticipantsRecent attributes, type and example +--- +## Constructor: channelParticipantsRecent +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) + + +### Example: + +``` +$channelParticipantsRecent = ['_' => 'channelParticipantsRecent', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelRoleEditor.md b/docs/old/API_docs_v55/constructors/channelRoleEditor.md new file mode 100644 index 00000000..45c13c56 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelRoleEditor.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEditor +description: channelRoleEditor attributes, type and example +--- +## Constructor: channelRoleEditor +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEditor = ['_' => 'channelRoleEditor', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelRoleEmpty.md b/docs/old/API_docs_v55/constructors/channelRoleEmpty.md new file mode 100644 index 00000000..8ceb9c98 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelRoleEmpty.md @@ -0,0 +1,21 @@ +--- +title: channelRoleEmpty +description: channelRoleEmpty attributes, type and example +--- +## Constructor: channelRoleEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleEmpty = ['_' => 'channelRoleEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channelRoleModerator.md b/docs/old/API_docs_v55/constructors/channelRoleModerator.md new file mode 100644 index 00000000..a6c00587 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channelRoleModerator.md @@ -0,0 +1,21 @@ +--- +title: channelRoleModerator +description: channelRoleModerator attributes, type and example +--- +## Constructor: channelRoleModerator +[Back to constructors index](index.md) + + + + + + +### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md) + + +### Example: + +``` +$channelRoleModerator = ['_' => 'channelRoleModerator', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channels_channelParticipant.md b/docs/old/API_docs_v55/constructors/channels_channelParticipant.md new file mode 100644 index 00000000..4361e472 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channels_channelParticipant.md @@ -0,0 +1,27 @@ +--- +title: channels_channelParticipant +description: channels_channelParticipant attributes, type and example +--- +## Constructor: channels\_channelParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + + +### Example: + +``` +$channels_channelParticipant = ['_' => 'channels_channelParticipant', 'participant' => ChannelParticipant, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/channels_channelParticipants.md b/docs/old/API_docs_v55/constructors/channels_channelParticipants.md new file mode 100644 index 00000000..e194a5b9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/channels_channelParticipants.md @@ -0,0 +1,28 @@ +--- +title: channels_channelParticipants +description: channels_channelParticipants attributes, type and example +--- +## Constructor: channels\_channelParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + + +### Example: + +``` +$channels_channelParticipants = ['_' => 'channels_channelParticipants', 'count' => int, 'participants' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chat.md b/docs/old/API_docs_v55/constructors/chat.md new file mode 100644 index 00000000..674d5bfe --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chat.md @@ -0,0 +1,51 @@ +--- +title: chat +description: chat attributes, type and example +--- +## Constructor: chat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|creator|[Bool](../types/Bool.md) | Optional| +|kicked|[Bool](../types/Bool.md) | Optional| +|left|[Bool](../types/Bool.md) | Optional| +|admins\_enabled|[Bool](../types/Bool.md) | Optional| +|admin|[Bool](../types/Bool.md) | Optional| +|deactivated|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +``` + +The following syntaxes can also be used: + +``` +$chat = '@username'; // Username + +$chat = 44700; // bot API id (users) +$chat = -492772765; // bot API id (chats) +$chat = -10038575794; // bot API id (channels) + +$chat = 'user#44700'; // tg-cli style id (users) +$chat = 'chat#492772765'; // tg-cli style id (chats) +$chat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/chatEmpty.md b/docs/old/API_docs_v55/constructors/chatEmpty.md new file mode 100644 index 00000000..06f9a761 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatEmpty.md @@ -0,0 +1,39 @@ +--- +title: chatEmpty +description: chatEmpty attributes, type and example +--- +## Constructor: chatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatEmpty = ['_' => 'chatEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$chatEmpty = '@username'; // Username + +$chatEmpty = 44700; // bot API id (users) +$chatEmpty = -492772765; // bot API id (chats) +$chatEmpty = -10038575794; // bot API id (channels) + +$chatEmpty = 'user#44700'; // tg-cli style id (users) +$chatEmpty = 'chat#492772765'; // tg-cli style id (chats) +$chatEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/chatForbidden.md b/docs/old/API_docs_v55/constructors/chatForbidden.md new file mode 100644 index 00000000..fd52d8ba --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatForbidden.md @@ -0,0 +1,40 @@ +--- +title: chatForbidden +description: chatForbidden attributes, type and example +--- +## Constructor: chatForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + + +### Type: [Chat](../types/Chat.md) + + +### Example: + +``` +$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$chatForbidden = '@username'; // Username + +$chatForbidden = 44700; // bot API id (users) +$chatForbidden = -492772765; // bot API id (chats) +$chatForbidden = -10038575794; // bot API id (channels) + +$chatForbidden = 'user#44700'; // tg-cli style id (users) +$chatForbidden = 'chat#492772765'; // tg-cli style id (chats) +$chatForbidden = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/chatFull.md b/docs/old/API_docs_v55/constructors/chatFull.md new file mode 100644 index 00000000..866e8fc6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatFull.md @@ -0,0 +1,31 @@ +--- +title: chatFull +description: chatFull attributes, type and example +--- +## Constructor: chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| +|chat\_photo|[Photo](../types/Photo.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Required| +|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Required| + + + +### Type: [ChatFull](../types/ChatFull.md) + + +### Example: + +``` +$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatInvite.md b/docs/old/API_docs_v55/constructors/chatInvite.md new file mode 100644 index 00000000..bf2f9b57 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatInvite.md @@ -0,0 +1,33 @@ +--- +title: chatInvite +description: chatInvite attributes, type and example +--- +## Constructor: chatInvite +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[Bool](../types/Bool.md) | Optional| +|broadcast|[Bool](../types/Bool.md) | Optional| +|public|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|photo|[ChatPhoto](../types/ChatPhoto.md) | Required| +|participants\_count|[int](../types/int.md) | Required| +|participants|Array of [User](../types/User.md) | Optional| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatInviteAlready.md b/docs/old/API_docs_v55/constructors/chatInviteAlready.md new file mode 100644 index 00000000..84175cc2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatInviteAlready.md @@ -0,0 +1,26 @@ +--- +title: chatInviteAlready +description: chatInviteAlready attributes, type and example +--- +## Constructor: chatInviteAlready +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[Chat](../types/Chat.md) | Required| + + + +### Type: [ChatInvite](../types/ChatInvite.md) + + +### Example: + +``` +$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatInviteEmpty.md b/docs/old/API_docs_v55/constructors/chatInviteEmpty.md new file mode 100644 index 00000000..d09ba953 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatInviteEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatInviteEmpty +description: chatInviteEmpty attributes, type and example +--- +## Constructor: chatInviteEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteEmpty = ['_' => 'chatInviteEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatInviteExported.md b/docs/old/API_docs_v55/constructors/chatInviteExported.md new file mode 100644 index 00000000..c5cffa0c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatInviteExported.md @@ -0,0 +1,26 @@ +--- +title: chatInviteExported +description: chatInviteExported attributes, type and example +--- +## Constructor: chatInviteExported +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedChatInvite](../types/ExportedChatInvite.md) + + +### Example: + +``` +$chatInviteExported = ['_' => 'chatInviteExported', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatParticipant.md b/docs/old/API_docs_v55/constructors/chatParticipant.md new file mode 100644 index 00000000..2d7e7cdc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatParticipant.md @@ -0,0 +1,28 @@ +--- +title: chatParticipant +description: chatParticipant attributes, type and example +--- +## Constructor: chatParticipant +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatParticipantAdmin.md b/docs/old/API_docs_v55/constructors/chatParticipantAdmin.md new file mode 100644 index 00000000..531ae6aa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatParticipantAdmin.md @@ -0,0 +1,28 @@ +--- +title: chatParticipantAdmin +description: chatParticipantAdmin attributes, type and example +--- +## Constructor: chatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatParticipantCreator.md b/docs/old/API_docs_v55/constructors/chatParticipantCreator.md new file mode 100644 index 00000000..460f398d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatParticipantCreator.md @@ -0,0 +1,26 @@ +--- +title: chatParticipantCreator +description: chatParticipantCreator attributes, type and example +--- +## Constructor: chatParticipantCreator +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipant](../types/ChatParticipant.md) + + +### Example: + +``` +$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatParticipants.md b/docs/old/API_docs_v55/constructors/chatParticipants.md new file mode 100644 index 00000000..39c08b98 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatParticipants.md @@ -0,0 +1,28 @@ +--- +title: chatParticipants +description: chatParticipants attributes, type and example +--- +## Constructor: chatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [Vector t], 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatParticipantsForbidden.md b/docs/old/API_docs_v55/constructors/chatParticipantsForbidden.md new file mode 100644 index 00000000..549a38f7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatParticipantsForbidden.md @@ -0,0 +1,27 @@ +--- +title: chatParticipantsForbidden +description: chatParticipantsForbidden attributes, type and example +--- +## Constructor: chatParticipantsForbidden +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional| + + + +### Type: [ChatParticipants](../types/ChatParticipants.md) + + +### Example: + +``` +$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatPhoto.md b/docs/old/API_docs_v55/constructors/chatPhoto.md new file mode 100644 index 00000000..b84fa68e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatPhoto.md @@ -0,0 +1,27 @@ +--- +title: chatPhoto +description: chatPhoto attributes, type and example +--- +## Constructor: chatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/chatPhotoEmpty.md b/docs/old/API_docs_v55/constructors/chatPhotoEmpty.md new file mode 100644 index 00000000..9d090564 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/chatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: chatPhotoEmpty +description: chatPhotoEmpty attributes, type and example +--- +## Constructor: chatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [ChatPhoto](../types/ChatPhoto.md) + + +### Example: + +``` +$chatPhotoEmpty = ['_' => 'chatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/config.md b/docs/old/API_docs_v55/constructors/config.md new file mode 100644 index 00000000..78418ca4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/config.md @@ -0,0 +1,48 @@ +--- +title: config +description: config attributes, type and example +--- +## Constructor: config +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|expires|[int](../types/int.md) | Required| +|test\_mode|[Bool](../types/Bool.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| +|chat\_size\_max|[int](../types/int.md) | Required| +|megagroup\_size\_max|[int](../types/int.md) | Required| +|forwarded\_count\_max|[int](../types/int.md) | Required| +|online\_update\_period\_ms|[int](../types/int.md) | Required| +|offline\_blur\_timeout\_ms|[int](../types/int.md) | Required| +|offline\_idle\_timeout\_ms|[int](../types/int.md) | Required| +|online\_cloud\_timeout\_ms|[int](../types/int.md) | Required| +|notify\_cloud\_delay\_ms|[int](../types/int.md) | Required| +|notify\_default\_delay\_ms|[int](../types/int.md) | Required| +|chat\_big\_size|[int](../types/int.md) | Required| +|push\_chat\_period\_ms|[int](../types/int.md) | Required| +|push\_chat\_limit|[int](../types/int.md) | Required| +|saved\_gifs\_limit|[int](../types/int.md) | Required| +|edit\_time\_limit|[int](../types/int.md) | Required| +|rating\_e\_decay|[int](../types/int.md) | Required| +|stickers\_recent\_limit|[int](../types/int.md) | Required| +|tmp\_sessions|[int](../types/int.md) | Optional| +|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Required| + + + +### Type: [Config](../types/Config.md) + + +### Example: + +``` +$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [Vector t], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'disabled_features' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contact.md b/docs/old/API_docs_v55/constructors/contact.md new file mode 100644 index 00000000..72220ce1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contact.md @@ -0,0 +1,27 @@ +--- +title: contact +description: contact attributes, type and example +--- +## Constructor: contact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|mutual|[Bool](../types/Bool.md) | Required| + + + +### Type: [Contact](../types/Contact.md) + + +### Example: + +``` +$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactBlocked.md b/docs/old/API_docs_v55/constructors/contactBlocked.md new file mode 100644 index 00000000..2b56ea6d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactBlocked.md @@ -0,0 +1,27 @@ +--- +title: contactBlocked +description: contactBlocked attributes, type and example +--- +## Constructor: contactBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [ContactBlocked](../types/ContactBlocked.md) + + +### Example: + +``` +$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactLinkContact.md b/docs/old/API_docs_v55/constructors/contactLinkContact.md new file mode 100644 index 00000000..02235bc7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactLinkContact.md @@ -0,0 +1,21 @@ +--- +title: contactLinkContact +description: contactLinkContact attributes, type and example +--- +## Constructor: contactLinkContact +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkContact = ['_' => 'contactLinkContact', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactLinkHasPhone.md b/docs/old/API_docs_v55/constructors/contactLinkHasPhone.md new file mode 100644 index 00000000..6547e4d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactLinkHasPhone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkHasPhone +description: contactLinkHasPhone attributes, type and example +--- +## Constructor: contactLinkHasPhone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkHasPhone = ['_' => 'contactLinkHasPhone', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactLinkNone.md b/docs/old/API_docs_v55/constructors/contactLinkNone.md new file mode 100644 index 00000000..a96a96ef --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactLinkNone.md @@ -0,0 +1,21 @@ +--- +title: contactLinkNone +description: contactLinkNone attributes, type and example +--- +## Constructor: contactLinkNone +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkNone = ['_' => 'contactLinkNone', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactLinkUnknown.md b/docs/old/API_docs_v55/constructors/contactLinkUnknown.md new file mode 100644 index 00000000..a6b7f4b2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactLinkUnknown.md @@ -0,0 +1,21 @@ +--- +title: contactLinkUnknown +description: contactLinkUnknown attributes, type and example +--- +## Constructor: contactLinkUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [ContactLink](../types/ContactLink.md) + + +### Example: + +``` +$contactLinkUnknown = ['_' => 'contactLinkUnknown', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contactStatus.md b/docs/old/API_docs_v55/constructors/contactStatus.md new file mode 100644 index 00000000..3a215884 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contactStatus.md @@ -0,0 +1,27 @@ +--- +title: contactStatus +description: contactStatus attributes, type and example +--- +## Constructor: contactStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [ContactStatus](../types/ContactStatus.md) + + +### Example: + +``` +$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_blocked.md b/docs/old/API_docs_v55/constructors/contacts_blocked.md new file mode 100644 index 00000000..d448dee5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_blocked.md @@ -0,0 +1,27 @@ +--- +title: contacts_blocked +description: contacts_blocked attributes, type and example +--- +## Constructor: contacts\_blocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blocked = ['_' => 'contacts_blocked', 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_blockedSlice.md b/docs/old/API_docs_v55/constructors/contacts_blockedSlice.md new file mode 100644 index 00000000..4fe8a483 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_blockedSlice.md @@ -0,0 +1,28 @@ +--- +title: contacts_blockedSlice +description: contacts_blockedSlice attributes, type and example +--- +## Constructor: contacts\_blockedSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Blocked](../types/contacts_Blocked.md) + + +### Example: + +``` +$contacts_blockedSlice = ['_' => 'contacts_blockedSlice', 'count' => int, 'blocked' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_contacts.md b/docs/old/API_docs_v55/constructors/contacts_contacts.md new file mode 100644 index 00000000..1668f04d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_contacts.md @@ -0,0 +1,27 @@ +--- +title: contacts_contacts +description: contacts_contacts attributes, type and example +--- +## Constructor: contacts\_contacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [Contact](../types/Contact.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contacts = ['_' => 'contacts_contacts', 'contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_contactsNotModified.md b/docs/old/API_docs_v55/constructors/contacts_contactsNotModified.md new file mode 100644 index 00000000..f7350c64 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_contactsNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_contactsNotModified +description: contacts_contactsNotModified attributes, type and example +--- +## Constructor: contacts\_contactsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_Contacts](../types/contacts_Contacts.md) + + +### Example: + +``` +$contacts_contactsNotModified = ['_' => 'contacts_contactsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_found.md b/docs/old/API_docs_v55/constructors/contacts_found.md new file mode 100644 index 00000000..585026d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_found.md @@ -0,0 +1,28 @@ +--- +title: contacts_found +description: contacts_found attributes, type and example +--- +## Constructor: contacts\_found +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|results|Array of [Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_Found](../types/contacts_Found.md) + + +### Example: + +``` +$contacts_found = ['_' => 'contacts_found', 'results' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_importedContacts.md b/docs/old/API_docs_v55/constructors/contacts_importedContacts.md new file mode 100644 index 00000000..e6a1014c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_importedContacts.md @@ -0,0 +1,28 @@ +--- +title: contacts_importedContacts +description: contacts_importedContacts attributes, type and example +--- +## Constructor: contacts\_importedContacts +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|imported|Array of [ImportedContact](../types/ImportedContact.md) | Required| +|retry\_contacts|Array of [long](../types/long.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + + +### Example: + +``` +$contacts_importedContacts = ['_' => 'contacts_importedContacts', 'imported' => [Vector t], 'retry_contacts' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_link.md b/docs/old/API_docs_v55/constructors/contacts_link.md new file mode 100644 index 00000000..a7c8864e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_link.md @@ -0,0 +1,28 @@ +--- +title: contacts_link +description: contacts_link attributes, type and example +--- +## Constructor: contacts\_link +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [contacts\_Link](../types/contacts_Link.md) + + +### Example: + +``` +$contacts_link = ['_' => 'contacts_link', 'my_link' => ContactLink, 'foreign_link' => ContactLink, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_resolvedPeer.md b/docs/old/API_docs_v55/constructors/contacts_resolvedPeer.md new file mode 100644 index 00000000..7730d226 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_resolvedPeer.md @@ -0,0 +1,28 @@ +--- +title: contacts_resolvedPeer +description: contacts_resolvedPeer attributes, type and example +--- +## Constructor: contacts\_resolvedPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + + +### Example: + +``` +$contacts_resolvedPeer = ['_' => 'contacts_resolvedPeer', 'peer' => Peer, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_topPeers.md b/docs/old/API_docs_v55/constructors/contacts_topPeers.md new file mode 100644 index 00000000..d0e93d2d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_topPeers.md @@ -0,0 +1,28 @@ +--- +title: contacts_topPeers +description: contacts_topPeers attributes, type and example +--- +## Constructor: contacts\_topPeers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|categories|Array of [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) + + +### Example: + +``` +$contacts_topPeers = ['_' => 'contacts_topPeers', 'categories' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/contacts_topPeersNotModified.md b/docs/old/API_docs_v55/constructors/contacts_topPeersNotModified.md new file mode 100644 index 00000000..2e5c6292 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/contacts_topPeersNotModified.md @@ -0,0 +1,21 @@ +--- +title: contacts_topPeersNotModified +description: contacts_topPeersNotModified attributes, type and example +--- +## Constructor: contacts\_topPeersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [contacts\_TopPeers](../types/contacts_TopPeers.md) + + +### Example: + +``` +$contacts_topPeersNotModified = ['_' => 'contacts_topPeersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/dcOption.md b/docs/old/API_docs_v55/constructors/dcOption.md new file mode 100644 index 00000000..b588c1a4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/dcOption.md @@ -0,0 +1,31 @@ +--- +title: dcOption +description: dcOption attributes, type and example +--- +## Constructor: dcOption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ipv6|[Bool](../types/Bool.md) | Optional| +|media\_only|[Bool](../types/Bool.md) | Optional| +|tcpo\_only|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|ip\_address|[string](../types/string.md) | Required| +|port|[int](../types/int.md) | Required| + + + +### Type: [DcOption](../types/DcOption.md) + + +### Example: + +``` +$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/dialog.md b/docs/old/API_docs_v55/constructors/dialog.md new file mode 100644 index 00000000..540b3667 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/dialog.md @@ -0,0 +1,33 @@ +--- +title: dialog +description: dialog attributes, type and example +--- +## Constructor: dialog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|pts|[int](../types/int.md) | Optional| +|draft|[DraftMessage](../types/DraftMessage.md) | Optional| + + + +### Type: [Dialog](../types/Dialog.md) + + +### Example: + +``` +$dialog = ['_' => 'dialog', 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/disabledFeature.md b/docs/old/API_docs_v55/constructors/disabledFeature.md new file mode 100644 index 00000000..69c33c1d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/disabledFeature.md @@ -0,0 +1,27 @@ +--- +title: disabledFeature +description: disabledFeature attributes, type and example +--- +## Constructor: disabledFeature +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|feature|[string](../types/string.md) | Required| +|description|[string](../types/string.md) | Required| + + + +### Type: [DisabledFeature](../types/DisabledFeature.md) + + +### Example: + +``` +$disabledFeature = ['_' => 'disabledFeature', 'feature' => string, 'description' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/document.md b/docs/old/API_docs_v55/constructors/document.md new file mode 100644 index 00000000..958cf985 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/document.md @@ -0,0 +1,34 @@ +--- +title: document +description: document attributes, type and example +--- +## Constructor: document +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|size|[int](../types/int.md) | Required| +|thumb|[PhotoSize](../types/PhotoSize.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'version' => int, 'attributes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeAnimated.md b/docs/old/API_docs_v55/constructors/documentAttributeAnimated.md new file mode 100644 index 00000000..1699c60d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeAnimated.md @@ -0,0 +1,21 @@ +--- +title: documentAttributeAnimated +description: documentAttributeAnimated attributes, type and example +--- +## Constructor: documentAttributeAnimated +[Back to constructors index](index.md) + + + + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAnimated = ['_' => 'documentAttributeAnimated', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeAudio.md b/docs/old/API_docs_v55/constructors/documentAttributeAudio.md new file mode 100644 index 00000000..c4c0eebf --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeAudio.md @@ -0,0 +1,30 @@ +--- +title: documentAttributeAudio +description: documentAttributeAudio attributes, type and example +--- +## Constructor: documentAttributeAudio +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|voice|[Bool](../types/Bool.md) | Optional| +|duration|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Optional| +|performer|[string](../types/string.md) | Optional| +|waveform|[bytes](../types/bytes.md) | Optional| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeFilename.md b/docs/old/API_docs_v55/constructors/documentAttributeFilename.md new file mode 100644 index 00000000..f9a507d6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeFilename.md @@ -0,0 +1,26 @@ +--- +title: documentAttributeFilename +description: documentAttributeFilename attributes, type and example +--- +## Constructor: documentAttributeFilename +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_name|[string](../types/string.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeImageSize.md b/docs/old/API_docs_v55/constructors/documentAttributeImageSize.md new file mode 100644 index 00000000..c27da3cc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeImageSize.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeImageSize +description: documentAttributeImageSize attributes, type and example +--- +## Constructor: documentAttributeImageSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeSticker.md b/docs/old/API_docs_v55/constructors/documentAttributeSticker.md new file mode 100644 index 00000000..e6a80aa1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeSticker.md @@ -0,0 +1,27 @@ +--- +title: documentAttributeSticker +description: documentAttributeSticker attributes, type and example +--- +## Constructor: documentAttributeSticker +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alt|[string](../types/string.md) | Required| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => string, 'stickerset' => InputStickerSet, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentAttributeVideo.md b/docs/old/API_docs_v55/constructors/documentAttributeVideo.md new file mode 100644 index 00000000..054d568c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentAttributeVideo.md @@ -0,0 +1,28 @@ +--- +title: documentAttributeVideo +description: documentAttributeVideo attributes, type and example +--- +## Constructor: documentAttributeVideo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|duration|[int](../types/int.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [DocumentAttribute](../types/DocumentAttribute.md) + + +### Example: + +``` +$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'duration' => int, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/documentEmpty.md b/docs/old/API_docs_v55/constructors/documentEmpty.md new file mode 100644 index 00000000..db12c65c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/documentEmpty.md @@ -0,0 +1,26 @@ +--- +title: documentEmpty +description: documentEmpty attributes, type and example +--- +## Constructor: documentEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Document](../types/Document.md) + + +### Example: + +``` +$documentEmpty = ['_' => 'documentEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/draftMessage.md b/docs/old/API_docs_v55/constructors/draftMessage.md new file mode 100644 index 00000000..f094b0df --- /dev/null +++ b/docs/old/API_docs_v55/constructors/draftMessage.md @@ -0,0 +1,30 @@ +--- +title: draftMessage +description: draftMessage attributes, type and example +--- +## Constructor: draftMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|date|[int](../types/int.md) | Required| + + + +### Type: [DraftMessage](../types/DraftMessage.md) + + +### Example: + +``` +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [Vector t], 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/draftMessageEmpty.md b/docs/old/API_docs_v55/constructors/draftMessageEmpty.md new file mode 100644 index 00000000..bb51b163 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/draftMessageEmpty.md @@ -0,0 +1,21 @@ +--- +title: draftMessageEmpty +description: draftMessageEmpty attributes, type and example +--- +## Constructor: draftMessageEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [DraftMessage](../types/DraftMessage.md) + + +### Example: + +``` +$draftMessageEmpty = ['_' => 'draftMessageEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedChat.md b/docs/old/API_docs_v55/constructors/encryptedChat.md new file mode 100644 index 00000000..c4443dcc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedChat.md @@ -0,0 +1,32 @@ +--- +title: encryptedChat +description: encryptedChat attributes, type and example +--- +## Constructor: encryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a\_or\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedChatDiscarded.md b/docs/old/API_docs_v55/constructors/encryptedChatDiscarded.md new file mode 100644 index 00000000..2dc9ce23 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedChatDiscarded.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatDiscarded +description: encryptedChatDiscarded attributes, type and example +--- +## Constructor: encryptedChatDiscarded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatDiscarded = ['_' => 'encryptedChatDiscarded', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedChatEmpty.md b/docs/old/API_docs_v55/constructors/encryptedChatEmpty.md new file mode 100644 index 00000000..aa892dd1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedChatEmpty.md @@ -0,0 +1,26 @@ +--- +title: encryptedChatEmpty +description: encryptedChatEmpty attributes, type and example +--- +## Constructor: encryptedChatEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatEmpty = ['_' => 'encryptedChatEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedChatRequested.md b/docs/old/API_docs_v55/constructors/encryptedChatRequested.md new file mode 100644 index 00000000..7b20b917 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedChatRequested.md @@ -0,0 +1,31 @@ +--- +title: encryptedChatRequested +description: encryptedChatRequested attributes, type and example +--- +## Constructor: encryptedChatRequested +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedChatWaiting.md b/docs/old/API_docs_v55/constructors/encryptedChatWaiting.md new file mode 100644 index 00000000..8ebec738 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedChatWaiting.md @@ -0,0 +1,30 @@ +--- +title: encryptedChatWaiting +description: encryptedChatWaiting attributes, type and example +--- +## Constructor: encryptedChatWaiting +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|admin\_id|[int](../types/int.md) | Required| +|participant\_id|[int](../types/int.md) | Required| + + + +### Type: [EncryptedChat](../types/EncryptedChat.md) + + +### Example: + +``` +$encryptedChatWaiting = ['_' => 'encryptedChatWaiting', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedFile.md b/docs/old/API_docs_v55/constructors/encryptedFile.md new file mode 100644 index 00000000..a96a0d8d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedFile.md @@ -0,0 +1,30 @@ +--- +title: encryptedFile +description: encryptedFile attributes, type and example +--- +## Constructor: encryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|size|[int](../types/int.md) | Required| +|dc\_id|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFile = ['_' => 'encryptedFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedFileEmpty.md b/docs/old/API_docs_v55/constructors/encryptedFileEmpty.md new file mode 100644 index 00000000..66e38cfd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: encryptedFileEmpty +description: encryptedFileEmpty attributes, type and example +--- +## Constructor: encryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [EncryptedFile](../types/EncryptedFile.md) + + +### Example: + +``` +$encryptedFileEmpty = ['_' => 'encryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedMessage.md b/docs/old/API_docs_v55/constructors/encryptedMessage.md new file mode 100644 index 00000000..68cf582e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedMessage.md @@ -0,0 +1,29 @@ +--- +title: encryptedMessage +description: encryptedMessage attributes, type and example +--- +## Constructor: encryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessage = ['_' => 'encryptedMessage', 'chat_id' => int, 'date' => int, 'bytes' => bytes, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/encryptedMessageService.md b/docs/old/API_docs_v55/constructors/encryptedMessageService.md new file mode 100644 index 00000000..68b5e26b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/encryptedMessageService.md @@ -0,0 +1,28 @@ +--- +title: encryptedMessageService +description: encryptedMessageService attributes, type and example +--- +## Constructor: encryptedMessageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [EncryptedMessage](../types/EncryptedMessage.md) + + +### Example: + +``` +$encryptedMessageService = ['_' => 'encryptedMessageService', 'chat_id' => int, 'date' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/error.md b/docs/old/API_docs_v55/constructors/error.md new file mode 100644 index 00000000..b2c2c42a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/error.md @@ -0,0 +1,27 @@ +--- +title: error +description: error attributes, type and example +--- +## Constructor: error +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[int](../types/int.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [Error](../types/Error.md) + + +### Example: + +``` +$error = ['_' => 'error', 'code' => int, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/exportedMessageLink.md b/docs/old/API_docs_v55/constructors/exportedMessageLink.md new file mode 100644 index 00000000..95f91e02 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/exportedMessageLink.md @@ -0,0 +1,26 @@ +--- +title: exportedMessageLink +description: exportedMessageLink attributes, type and example +--- +## Constructor: exportedMessageLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|link|[string](../types/string.md) | Required| + + + +### Type: [ExportedMessageLink](../types/ExportedMessageLink.md) + + +### Example: + +``` +$exportedMessageLink = ['_' => 'exportedMessageLink', 'link' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/fileLocation.md b/docs/old/API_docs_v55/constructors/fileLocation.md new file mode 100644 index 00000000..a892f208 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/fileLocation.md @@ -0,0 +1,29 @@ +--- +title: fileLocation +description: fileLocation attributes, type and example +--- +## Constructor: fileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocation = ['_' => 'fileLocation', 'dc_id' => int, 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/fileLocationUnavailable.md b/docs/old/API_docs_v55/constructors/fileLocationUnavailable.md new file mode 100644 index 00000000..04972a9d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/fileLocationUnavailable.md @@ -0,0 +1,28 @@ +--- +title: fileLocationUnavailable +description: fileLocationUnavailable attributes, type and example +--- +## Constructor: fileLocationUnavailable +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [FileLocation](../types/FileLocation.md) + + +### Example: + +``` +$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/foundGif.md b/docs/old/API_docs_v55/constructors/foundGif.md new file mode 100644 index 00000000..1db8cfd9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/foundGif.md @@ -0,0 +1,31 @@ +--- +title: foundGif +description: foundGif attributes, type and example +--- +## Constructor: foundGif +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|thumb\_url|[string](../types/string.md) | Required| +|content\_url|[string](../types/string.md) | Required| +|content\_type|[string](../types/string.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGif = ['_' => 'foundGif', 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/foundGifCached.md b/docs/old/API_docs_v55/constructors/foundGifCached.md new file mode 100644 index 00000000..93b3f4bd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/foundGifCached.md @@ -0,0 +1,28 @@ +--- +title: foundGifCached +description: foundGifCached attributes, type and example +--- +## Constructor: foundGifCached +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|photo|[Photo](../types/Photo.md) | Required| +|document|[Document](../types/Document.md) | Required| + + + +### Type: [FoundGif](../types/FoundGif.md) + + +### Example: + +``` +$foundGifCached = ['_' => 'foundGifCached', 'url' => string, 'photo' => Photo, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/geoPoint.md b/docs/old/API_docs_v55/constructors/geoPoint.md new file mode 100644 index 00000000..b8bc6d85 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/geoPoint.md @@ -0,0 +1,27 @@ +--- +title: geoPoint +description: geoPoint attributes, type and example +--- +## Constructor: geoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|long|[double](../types/double.md) | Required| +|lat|[double](../types/double.md) | Required| + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPoint = ['_' => 'geoPoint', 'long' => double, 'lat' => double, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/geoPointEmpty.md b/docs/old/API_docs_v55/constructors/geoPointEmpty.md new file mode 100644 index 00000000..cec7bfe9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/geoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: geoPointEmpty +description: geoPointEmpty attributes, type and example +--- +## Constructor: geoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [GeoPoint](../types/GeoPoint.md) + + +### Example: + +``` +$geoPointEmpty = ['_' => 'geoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_appChangelog.md b/docs/old/API_docs_v55/constructors/help_appChangelog.md new file mode 100644 index 00000000..a263fd53 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_appChangelog.md @@ -0,0 +1,26 @@ +--- +title: help_appChangelog +description: help_appChangelog attributes, type and example +--- +## Constructor: help\_appChangelog +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelog = ['_' => 'help_appChangelog', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_appChangelogEmpty.md b/docs/old/API_docs_v55/constructors/help_appChangelogEmpty.md new file mode 100644 index 00000000..781f6c2c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_appChangelogEmpty.md @@ -0,0 +1,21 @@ +--- +title: help_appChangelogEmpty +description: help_appChangelogEmpty attributes, type and example +--- +## Constructor: help\_appChangelogEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppChangelog](../types/help_AppChangelog.md) + + +### Example: + +``` +$help_appChangelogEmpty = ['_' => 'help_appChangelogEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_appUpdate.md b/docs/old/API_docs_v55/constructors/help_appUpdate.md new file mode 100644 index 00000000..02a7fdef --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_appUpdate.md @@ -0,0 +1,29 @@ +--- +title: help_appUpdate +description: help_appUpdate attributes, type and example +--- +## Constructor: help\_appUpdate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|critical|[Bool](../types/Bool.md) | Required| +|url|[string](../types/string.md) | Required| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_appUpdate = ['_' => 'help_appUpdate', 'id' => int, 'critical' => Bool, 'url' => string, 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_inviteText.md b/docs/old/API_docs_v55/constructors/help_inviteText.md new file mode 100644 index 00000000..aade0b4a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_inviteText.md @@ -0,0 +1,26 @@ +--- +title: help_inviteText +description: help_inviteText attributes, type and example +--- +## Constructor: help\_inviteText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + + +### Type: [help\_InviteText](../types/help_InviteText.md) + + +### Example: + +``` +$help_inviteText = ['_' => 'help_inviteText', 'message' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_noAppUpdate.md b/docs/old/API_docs_v55/constructors/help_noAppUpdate.md new file mode 100644 index 00000000..6880edb5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_noAppUpdate.md @@ -0,0 +1,21 @@ +--- +title: help_noAppUpdate +description: help_noAppUpdate attributes, type and example +--- +## Constructor: help\_noAppUpdate +[Back to constructors index](index.md) + + + + + + +### Type: [help\_AppUpdate](../types/help_AppUpdate.md) + + +### Example: + +``` +$help_noAppUpdate = ['_' => 'help_noAppUpdate', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_support.md b/docs/old/API_docs_v55/constructors/help_support.md new file mode 100644 index 00000000..c97733d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_support.md @@ -0,0 +1,27 @@ +--- +title: help_support +description: help_support attributes, type and example +--- +## Constructor: help\_support +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|user|[User](../types/User.md) | Required| + + + +### Type: [help\_Support](../types/help_Support.md) + + +### Example: + +``` +$help_support = ['_' => 'help_support', 'phone_number' => string, 'user' => User, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/help_termsOfService.md b/docs/old/API_docs_v55/constructors/help_termsOfService.md new file mode 100644 index 00000000..b9ae87fa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/help_termsOfService.md @@ -0,0 +1,26 @@ +--- +title: help_termsOfService +description: help_termsOfService attributes, type and example +--- +## Constructor: help\_termsOfService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [help\_TermsOfService](../types/help_TermsOfService.md) + + +### Example: + +``` +$help_termsOfService = ['_' => 'help_termsOfService', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/importedContact.md b/docs/old/API_docs_v55/constructors/importedContact.md new file mode 100644 index 00000000..eb4a7e96 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/importedContact.md @@ -0,0 +1,27 @@ +--- +title: importedContact +description: importedContact attributes, type and example +--- +## Constructor: importedContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|client\_id|[long](../types/long.md) | Required| + + + +### Type: [ImportedContact](../types/ImportedContact.md) + + +### Example: + +``` +$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long, ]; +``` + diff --git a/docs/API_docs_55/constructors/index.md b/docs/old/API_docs_v55/constructors/index.md similarity index 100% rename from docs/API_docs_55/constructors/index.md rename to docs/old/API_docs_v55/constructors/index.md diff --git a/docs/old/API_docs_v55/constructors/inlineBotSwitchPM.md b/docs/old/API_docs_v55/constructors/inlineBotSwitchPM.md new file mode 100644 index 00000000..ec1c28d7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inlineBotSwitchPM.md @@ -0,0 +1,27 @@ +--- +title: inlineBotSwitchPM +description: inlineBotSwitchPM attributes, type and example +--- +## Constructor: inlineBotSwitchPM +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + + +### Type: [InlineBotSwitchPM](../types/InlineBotSwitchPM.md) + + +### Example: + +``` +$inlineBotSwitchPM = ['_' => 'inlineBotSwitchPM', 'text' => string, 'start_param' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputAppEvent.md b/docs/old/API_docs_v55/constructors/inputAppEvent.md new file mode 100644 index 00000000..3d37ba86 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputAppEvent.md @@ -0,0 +1,29 @@ +--- +title: inputAppEvent +description: inputAppEvent attributes, type and example +--- +## Constructor: inputAppEvent +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|time|[double](../types/double.md) | Required| +|type|[string](../types/string.md) | Required| +|peer|[long](../types/long.md) | Required| +|data|[string](../types/string.md) | Required| + + + +### Type: [InputAppEvent](../types/InputAppEvent.md) + + +### Example: + +``` +$inputAppEvent = ['_' => 'inputAppEvent', 'time' => double, 'type' => string, 'peer' => long, 'data' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageID.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageID.md new file mode 100644 index 00000000..bea4bf54 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageID.md @@ -0,0 +1,28 @@ +--- +title: inputBotInlineMessageID +description: inputBotInlineMessageID attributes, type and example +--- +## Constructor: inputBotInlineMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputBotInlineMessageID](../types/InputBotInlineMessageID.md) + + +### Example: + +``` +$inputBotInlineMessageID = ['_' => 'inputBotInlineMessageID', 'dc_id' => int, 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md new file mode 100644 index 00000000..25d1dded --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaAuto.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaAuto +description: inputBotInlineMessageMediaAuto attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaAuto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaAuto = ['_' => 'inputBotInlineMessageMediaAuto', 'caption' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md new file mode 100644 index 00000000..cd54d6a6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageMediaContact +description: inputBotInlineMessageMediaContact attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md new file mode 100644 index 00000000..41079f0b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaGeo.md @@ -0,0 +1,27 @@ +--- +title: inputBotInlineMessageMediaGeo +description: inputBotInlineMessageMediaGeo attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md new file mode 100644 index 00000000..966237ad --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageMediaVenue.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineMessageMediaVenue +description: inputBotInlineMessageMediaVenue attributes, type and example +--- +## Constructor: inputBotInlineMessageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineMessageText.md b/docs/old/API_docs_v55/constructors/inputBotInlineMessageText.md new file mode 100644 index 00000000..2e3ce923 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineMessageText.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineMessageText +description: inputBotInlineMessageText attributes, type and example +--- +## Constructor: inputBotInlineMessageText +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + + +### Type: [InputBotInlineMessage](../types/InputBotInlineMessage.md) + + +### Example: + +``` +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [Vector t], 'reply_markup' => ReplyMarkup, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineResult.md b/docs/old/API_docs_v55/constructors/inputBotInlineResult.md new file mode 100644 index 00000000..a597fa4d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineResult.md @@ -0,0 +1,37 @@ +--- +title: inputBotInlineResult +description: inputBotInlineResult attributes, type and example +--- +## Constructor: inputBotInlineResult +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| +|thumb\_url|[string](../types/string.md) | Optional| +|content\_url|[string](../types/string.md) | Optional| +|content\_type|[string](../types/string.md) | Optional| +|w|[int](../types/int.md) | Optional| +|h|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'url' => string, 'thumb_url' => string, 'content_url' => string, 'content_type' => string, 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineResultDocument.md b/docs/old/API_docs_v55/constructors/inputBotInlineResultDocument.md new file mode 100644 index 00000000..d9e88d1b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineResultDocument.md @@ -0,0 +1,31 @@ +--- +title: inputBotInlineResultDocument +description: inputBotInlineResultDocument attributes, type and example +--- +## Constructor: inputBotInlineResultDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|document|[InputDocument](../types/InputDocument.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultDocument = ['_' => 'inputBotInlineResultDocument', 'id' => string, 'type' => string, 'title' => string, 'description' => string, 'document' => InputDocument, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputBotInlineResultPhoto.md b/docs/old/API_docs_v55/constructors/inputBotInlineResultPhoto.md new file mode 100644 index 00000000..defe0a4b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputBotInlineResultPhoto.md @@ -0,0 +1,29 @@ +--- +title: inputBotInlineResultPhoto +description: inputBotInlineResultPhoto attributes, type and example +--- +## Constructor: inputBotInlineResultPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Required| +|photo|[InputPhoto](../types/InputPhoto.md) | Required| +|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Required| + + + +### Type: [InputBotInlineResult](../types/InputBotInlineResult.md) + + +### Example: + +``` +$inputBotInlineResultPhoto = ['_' => 'inputBotInlineResultPhoto', 'id' => string, 'type' => string, 'photo' => InputPhoto, 'send_message' => InputBotInlineMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputChannel.md b/docs/old/API_docs_v55/constructors/inputChannel.md new file mode 100644 index 00000000..32e90b2f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputChannel.md @@ -0,0 +1,40 @@ +--- +title: inputChannel +description: inputChannel attributes, type and example +--- +## Constructor: inputChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannel = '@username'; // Username + +$inputChannel = 44700; // bot API id (users) +$inputChannel = -492772765; // bot API id (chats) +$inputChannel = -10038575794; // bot API id (channels) + +$inputChannel = 'user#44700'; // tg-cli style id (users) +$inputChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputChannelEmpty.md b/docs/old/API_docs_v55/constructors/inputChannelEmpty.md new file mode 100644 index 00000000..40f83aa5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputChannelEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputChannelEmpty +description: inputChannelEmpty attributes, type and example +--- +## Constructor: inputChannelEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChannel](../types/InputChannel.md) + + +### Example: + +``` +$inputChannelEmpty = ['_' => 'inputChannelEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputChannelEmpty = '@username'; // Username + +$inputChannelEmpty = 44700; // bot API id (users) +$inputChannelEmpty = -492772765; // bot API id (chats) +$inputChannelEmpty = -10038575794; // bot API id (channels) + +$inputChannelEmpty = 'user#44700'; // tg-cli style id (users) +$inputChannelEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputChannelEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputChatPhoto.md b/docs/old/API_docs_v55/constructors/inputChatPhoto.md new file mode 100644 index 00000000..28da657f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputChatPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatPhoto +description: inputChatPhoto attributes, type and example +--- +## Constructor: inputChatPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputChatPhotoEmpty.md b/docs/old/API_docs_v55/constructors/inputChatPhotoEmpty.md new file mode 100644 index 00000000..1f2b4d3e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputChatPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputChatPhotoEmpty +description: inputChatPhotoEmpty attributes, type and example +--- +## Constructor: inputChatPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatPhotoEmpty = ['_' => 'inputChatPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputChatUploadedPhoto.md b/docs/old/API_docs_v55/constructors/inputChatUploadedPhoto.md new file mode 100644 index 00000000..dfbc7285 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputChatUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputChatUploadedPhoto +description: inputChatUploadedPhoto attributes, type and example +--- +## Constructor: inputChatUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + + +### Type: [InputChatPhoto](../types/InputChatPhoto.md) + + +### Example: + +``` +$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputDocument.md b/docs/old/API_docs_v55/constructors/inputDocument.md new file mode 100644 index 00000000..1f48ae2c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputDocument.md @@ -0,0 +1,27 @@ +--- +title: inputDocument +description: inputDocument attributes, type and example +--- +## Constructor: inputDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputDocumentEmpty.md b/docs/old/API_docs_v55/constructors/inputDocumentEmpty.md new file mode 100644 index 00000000..2466129d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputDocumentEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputDocumentEmpty +description: inputDocumentEmpty attributes, type and example +--- +## Constructor: inputDocumentEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputDocument](../types/InputDocument.md) + + +### Example: + +``` +$inputDocumentEmpty = ['_' => 'inputDocumentEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputDocumentFileLocation.md b/docs/old/API_docs_v55/constructors/inputDocumentFileLocation.md new file mode 100644 index 00000000..b0466e78 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputDocumentFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputDocumentFileLocation +description: inputDocumentFileLocation attributes, type and example +--- +## Constructor: inputDocumentFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedChat.md b/docs/old/API_docs_v55/constructors/inputEncryptedChat.md new file mode 100644 index 00000000..9af2b170 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedChat.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedChat +description: inputEncryptedChat attributes, type and example +--- +## Constructor: inputEncryptedChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) + + +### Example: + +``` +$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedFile.md b/docs/old/API_docs_v55/constructors/inputEncryptedFile.md new file mode 100644 index 00000000..f5169408 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFile +description: inputEncryptedFile attributes, type and example +--- +## Constructor: inputEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFile = ['_' => 'inputEncryptedFile', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md b/docs/old/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md new file mode 100644 index 00000000..aa39f0c0 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedFileBigUploaded.md @@ -0,0 +1,28 @@ +--- +title: inputEncryptedFileBigUploaded +description: inputEncryptedFileBigUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileBigUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileBigUploaded = ['_' => 'inputEncryptedFileBigUploaded', 'id' => long, 'parts' => int, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedFileEmpty.md b/docs/old/API_docs_v55/constructors/inputEncryptedFileEmpty.md new file mode 100644 index 00000000..bfeafe7f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedFileEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputEncryptedFileEmpty +description: inputEncryptedFileEmpty attributes, type and example +--- +## Constructor: inputEncryptedFileEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileEmpty = ['_' => 'inputEncryptedFileEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedFileLocation.md b/docs/old/API_docs_v55/constructors/inputEncryptedFileLocation.md new file mode 100644 index 00000000..e2eac738 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedFileLocation.md @@ -0,0 +1,27 @@ +--- +title: inputEncryptedFileLocation +description: inputEncryptedFileLocation attributes, type and example +--- +## Constructor: inputEncryptedFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputEncryptedFileLocation = ['_' => 'inputEncryptedFileLocation', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputEncryptedFileUploaded.md b/docs/old/API_docs_v55/constructors/inputEncryptedFileUploaded.md new file mode 100644 index 00000000..bfba6fa5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputEncryptedFileUploaded.md @@ -0,0 +1,29 @@ +--- +title: inputEncryptedFileUploaded +description: inputEncryptedFileUploaded attributes, type and example +--- +## Constructor: inputEncryptedFileUploaded +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| +|key\_fingerprint|[int](../types/int.md) | Required| + + + +### Type: [InputEncryptedFile](../types/InputEncryptedFile.md) + + +### Example: + +``` +$inputEncryptedFileUploaded = ['_' => 'inputEncryptedFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => string, 'key_fingerprint' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputFile.md b/docs/old/API_docs_v55/constructors/inputFile.md new file mode 100644 index 00000000..2f9eaf71 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputFile.md @@ -0,0 +1,29 @@ +--- +title: inputFile +description: inputFile attributes, type and example +--- +## Constructor: inputFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| +|md5\_checksum|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFile = ['_' => 'inputFile', 'id' => long, 'parts' => int, 'name' => string, 'md5_checksum' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputFileBig.md b/docs/old/API_docs_v55/constructors/inputFileBig.md new file mode 100644 index 00000000..1db34177 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputFileBig.md @@ -0,0 +1,28 @@ +--- +title: inputFileBig +description: inputFileBig attributes, type and example +--- +## Constructor: inputFileBig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|parts|[int](../types/int.md) | Required| +|name|[string](../types/string.md) | Required| + + + +### Type: [InputFile](../types/InputFile.md) + + +### Example: + +``` +$inputFileBig = ['_' => 'inputFileBig', 'id' => long, 'parts' => int, 'name' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputFileLocation.md b/docs/old/API_docs_v55/constructors/inputFileLocation.md new file mode 100644 index 00000000..45b7ddd4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputFileLocation.md @@ -0,0 +1,28 @@ +--- +title: inputFileLocation +description: inputFileLocation attributes, type and example +--- +## Constructor: inputFileLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|volume\_id|[long](../types/long.md) | Required| +|local\_id|[int](../types/int.md) | Required| +|secret|[long](../types/long.md) | Required| + + + +### Type: [InputFileLocation](../types/InputFileLocation.md) + + +### Example: + +``` +$inputFileLocation = ['_' => 'inputFileLocation', 'volume_id' => long, 'local_id' => int, 'secret' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputGeoPoint.md b/docs/old/API_docs_v55/constructors/inputGeoPoint.md new file mode 100644 index 00000000..95eda9c6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputGeoPoint.md @@ -0,0 +1,27 @@ +--- +title: inputGeoPoint +description: inputGeoPoint attributes, type and example +--- +## Constructor: inputGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|lat|[double](../types/double.md) | Required| +|long|[double](../types/double.md) | Required| + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPoint = ['_' => 'inputGeoPoint', 'lat' => double, 'long' => double, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputGeoPointEmpty.md b/docs/old/API_docs_v55/constructors/inputGeoPointEmpty.md new file mode 100644 index 00000000..2461616a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputGeoPointEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputGeoPointEmpty +description: inputGeoPointEmpty attributes, type and example +--- +## Constructor: inputGeoPointEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputGeoPoint](../types/InputGeoPoint.md) + + +### Example: + +``` +$inputGeoPointEmpty = ['_' => 'inputGeoPointEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaContact.md b/docs/old/API_docs_v55/constructors/inputMediaContact.md new file mode 100644 index 00000000..844e32d0 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaContact.md @@ -0,0 +1,28 @@ +--- +title: inputMediaContact +description: inputMediaContact attributes, type and example +--- +## Constructor: inputMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaDocument.md b/docs/old/API_docs_v55/constructors/inputMediaDocument.md new file mode 100644 index 00000000..60ac6ff4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: inputMediaDocument +description: inputMediaDocument attributes, type and example +--- +## Constructor: inputMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaEmpty.md b/docs/old/API_docs_v55/constructors/inputMediaEmpty.md new file mode 100644 index 00000000..c5fd1e91 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMediaEmpty +description: inputMediaEmpty attributes, type and example +--- +## Constructor: inputMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaEmpty = ['_' => 'inputMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaGeoPoint.md b/docs/old/API_docs_v55/constructors/inputMediaGeoPoint.md new file mode 100644 index 00000000..d6d8c537 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaGeoPoint.md @@ -0,0 +1,26 @@ +--- +title: inputMediaGeoPoint +description: inputMediaGeoPoint attributes, type and example +--- +## Constructor: inputMediaGeoPoint +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGeoPoint = ['_' => 'inputMediaGeoPoint', 'geo_point' => InputGeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaGifExternal.md b/docs/old/API_docs_v55/constructors/inputMediaGifExternal.md new file mode 100644 index 00000000..6054eb1b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaGifExternal.md @@ -0,0 +1,27 @@ +--- +title: inputMediaGifExternal +description: inputMediaGifExternal attributes, type and example +--- +## Constructor: inputMediaGifExternal +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|url|[string](../types/string.md) | Required| +|q|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaGifExternal = ['_' => 'inputMediaGifExternal', 'url' => string, 'q' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaPhoto.md b/docs/old/API_docs_v55/constructors/inputMediaPhoto.md new file mode 100644 index 00000000..b4b8c5b1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaPhoto +description: inputMediaPhoto attributes, type and example +--- +## Constructor: inputMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaUploadedDocument.md b/docs/old/API_docs_v55/constructors/inputMediaUploadedDocument.md new file mode 100644 index 00000000..c23fcaec --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaUploadedDocument.md @@ -0,0 +1,29 @@ +--- +title: inputMediaUploadedDocument +description: inputMediaUploadedDocument attributes, type and example +--- +## Constructor: inputMediaUploadedDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaUploadedPhoto.md b/docs/old/API_docs_v55/constructors/inputMediaUploadedPhoto.md new file mode 100644 index 00000000..55b64308 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaUploadedPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputMediaUploadedPhoto +description: inputMediaUploadedPhoto attributes, type and example +--- +## Constructor: inputMediaUploadedPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md b/docs/old/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md new file mode 100644 index 00000000..7f78172c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaUploadedThumbDocument.md @@ -0,0 +1,30 @@ +--- +title: inputMediaUploadedThumbDocument +description: inputMediaUploadedThumbDocument attributes, type and example +--- +## Constructor: inputMediaUploadedThumbDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|thumb|[InputFile](../types/InputFile.md) | Required| +|mime\_type|[string](../types/string.md) | Required| +|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMediaVenue.md b/docs/old/API_docs_v55/constructors/inputMediaVenue.md new file mode 100644 index 00000000..f0d6a21a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: inputMediaVenue +description: inputMediaVenue attributes, type and example +--- +## Constructor: inputMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [InputMedia](../types/InputMedia.md) + + +### Example: + +``` +$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessageEntityMentionName.md b/docs/old/API_docs_v55/constructors/inputMessageEntityMentionName.md new file mode 100644 index 00000000..ef83a8cb --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessageEntityMentionName.md @@ -0,0 +1,28 @@ +--- +title: inputMessageEntityMentionName +description: inputMessageEntityMentionName attributes, type and example +--- +## Constructor: inputMessageEntityMentionName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$inputMessageEntityMentionName = ['_' => 'inputMessageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => InputUser, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md new file mode 100644 index 00000000..98d20dbb --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterChatPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterChatPhotos +description: inputMessagesFilterChatPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterChatPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterChatPhotos = ['_' => 'inputMessagesFilterChatPhotos', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterDocument.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterDocument.md new file mode 100644 index 00000000..0035ee19 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterDocument.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterDocument +description: inputMessagesFilterDocument attributes, type and example +--- +## Constructor: inputMessagesFilterDocument +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterDocument = ['_' => 'inputMessagesFilterDocument', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterEmpty.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterEmpty.md new file mode 100644 index 00000000..1100d26e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterEmpty +description: inputMessagesFilterEmpty attributes, type and example +--- +## Constructor: inputMessagesFilterEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterEmpty = ['_' => 'inputMessagesFilterEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterGif.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterGif.md new file mode 100644 index 00000000..d0ea3204 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterGif.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterGif +description: inputMessagesFilterGif attributes, type and example +--- +## Constructor: inputMessagesFilterGif +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterGif = ['_' => 'inputMessagesFilterGif', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterMusic.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterMusic.md new file mode 100644 index 00000000..dfe18385 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterMusic.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterMusic +description: inputMessagesFilterMusic attributes, type and example +--- +## Constructor: inputMessagesFilterMusic +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterMusic = ['_' => 'inputMessagesFilterMusic', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md new file mode 100644 index 00000000..858cd78f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideo +description: inputMessagesFilterPhotoVideo attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideo = ['_' => 'inputMessagesFilterPhotoVideo', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md new file mode 100644 index 00000000..7556e82b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotoVideoDocuments.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotoVideoDocuments +description: inputMessagesFilterPhotoVideoDocuments attributes, type and example +--- +## Constructor: inputMessagesFilterPhotoVideoDocuments +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotoVideoDocuments = ['_' => 'inputMessagesFilterPhotoVideoDocuments', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotos.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotos.md new file mode 100644 index 00000000..133f0e86 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterPhotos.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterPhotos +description: inputMessagesFilterPhotos attributes, type and example +--- +## Constructor: inputMessagesFilterPhotos +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterPhotos = ['_' => 'inputMessagesFilterPhotos', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterUrl.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterUrl.md new file mode 100644 index 00000000..c0a42766 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterUrl.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterUrl +description: inputMessagesFilterUrl attributes, type and example +--- +## Constructor: inputMessagesFilterUrl +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterUrl = ['_' => 'inputMessagesFilterUrl', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterVideo.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterVideo.md new file mode 100644 index 00000000..58c63d0a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterVideo.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVideo +description: inputMessagesFilterVideo attributes, type and example +--- +## Constructor: inputMessagesFilterVideo +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVideo = ['_' => 'inputMessagesFilterVideo', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputMessagesFilterVoice.md b/docs/old/API_docs_v55/constructors/inputMessagesFilterVoice.md new file mode 100644 index 00000000..e12004d7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputMessagesFilterVoice.md @@ -0,0 +1,21 @@ +--- +title: inputMessagesFilterVoice +description: inputMessagesFilterVoice attributes, type and example +--- +## Constructor: inputMessagesFilterVoice +[Back to constructors index](index.md) + + + + + + +### Type: [MessagesFilter](../types/MessagesFilter.md) + + +### Example: + +``` +$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputNotifyAll.md b/docs/old/API_docs_v55/constructors/inputNotifyAll.md new file mode 100644 index 00000000..7695123f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputNotifyAll.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyAll +description: inputNotifyAll attributes, type and example +--- +## Constructor: inputNotifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyAll = ['_' => 'inputNotifyAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputNotifyChats.md b/docs/old/API_docs_v55/constructors/inputNotifyChats.md new file mode 100644 index 00000000..de35a351 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputNotifyChats.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyChats +description: inputNotifyChats attributes, type and example +--- +## Constructor: inputNotifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyChats = ['_' => 'inputNotifyChats', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputNotifyPeer.md b/docs/old/API_docs_v55/constructors/inputNotifyPeer.md new file mode 100644 index 00000000..0a42ae32 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputNotifyPeer.md @@ -0,0 +1,26 @@ +--- +title: inputNotifyPeer +description: inputNotifyPeer attributes, type and example +--- +## Constructor: inputNotifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyPeer = ['_' => 'inputNotifyPeer', 'peer' => InputPeer, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputNotifyUsers.md b/docs/old/API_docs_v55/constructors/inputNotifyUsers.md new file mode 100644 index 00000000..0080bbae --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputNotifyUsers.md @@ -0,0 +1,21 @@ +--- +title: inputNotifyUsers +description: inputNotifyUsers attributes, type and example +--- +## Constructor: inputNotifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [InputNotifyPeer](../types/InputNotifyPeer.md) + + +### Example: + +``` +$inputNotifyUsers = ['_' => 'inputNotifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPeerChannel.md b/docs/old/API_docs_v55/constructors/inputPeerChannel.md new file mode 100644 index 00000000..996fa9a8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerChannel.md @@ -0,0 +1,40 @@ +--- +title: inputPeerChannel +description: inputPeerChannel attributes, type and example +--- +## Constructor: inputPeerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChannel = '@username'; // Username + +$inputPeerChannel = 44700; // bot API id (users) +$inputPeerChannel = -492772765; // bot API id (chats) +$inputPeerChannel = -10038575794; // bot API id (channels) + +$inputPeerChannel = 'user#44700'; // tg-cli style id (users) +$inputPeerChannel = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputPeerChat.md b/docs/old/API_docs_v55/constructors/inputPeerChat.md new file mode 100644 index 00000000..7bc6a189 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerChat.md @@ -0,0 +1,39 @@ +--- +title: inputPeerChat +description: inputPeerChat attributes, type and example +--- +## Constructor: inputPeerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerChat = '@username'; // Username + +$inputPeerChat = 44700; // bot API id (users) +$inputPeerChat = -492772765; // bot API id (chats) +$inputPeerChat = -10038575794; // bot API id (channels) + +$inputPeerChat = 'user#44700'; // tg-cli style id (users) +$inputPeerChat = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputPeerEmpty.md b/docs/old/API_docs_v55/constructors/inputPeerEmpty.md new file mode 100644 index 00000000..17ca2dcf --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputPeerEmpty +description: inputPeerEmpty attributes, type and example +--- +## Constructor: inputPeerEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerEmpty = ['_' => 'inputPeerEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerEmpty = '@username'; // Username + +$inputPeerEmpty = 44700; // bot API id (users) +$inputPeerEmpty = -492772765; // bot API id (chats) +$inputPeerEmpty = -10038575794; // bot API id (channels) + +$inputPeerEmpty = 'user#44700'; // tg-cli style id (users) +$inputPeerEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsAll.md b/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsAll.md new file mode 100644 index 00000000..91f5c798 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsAll +description: inputPeerNotifyEventsAll attributes, type and example +--- +## Constructor: inputPeerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsAll = ['_' => 'inputPeerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md b/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md new file mode 100644 index 00000000..0771b864 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPeerNotifyEventsEmpty +description: inputPeerNotifyEventsEmpty attributes, type and example +--- +## Constructor: inputPeerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeerNotifyEvents](../types/InputPeerNotifyEvents.md) + + +### Example: + +``` +$inputPeerNotifyEventsEmpty = ['_' => 'inputPeerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPeerNotifySettings.md b/docs/old/API_docs_v55/constructors/inputPeerNotifySettings.md new file mode 100644 index 00000000..a8cb2491 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: inputPeerNotifySettings +description: inputPeerNotifySettings attributes, type and example +--- +## Constructor: inputPeerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [InputPeerNotifySettings](../types/InputPeerNotifySettings.md) + + +### Example: + +``` +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPeerSelf.md b/docs/old/API_docs_v55/constructors/inputPeerSelf.md new file mode 100644 index 00000000..fc290783 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerSelf.md @@ -0,0 +1,34 @@ +--- +title: inputPeerSelf +description: inputPeerSelf attributes, type and example +--- +## Constructor: inputPeerSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerSelf = ['_' => 'inputPeerSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerSelf = '@username'; // Username + +$inputPeerSelf = 44700; // bot API id (users) +$inputPeerSelf = -492772765; // bot API id (chats) +$inputPeerSelf = -10038575794; // bot API id (channels) + +$inputPeerSelf = 'user#44700'; // tg-cli style id (users) +$inputPeerSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputPeerUser.md b/docs/old/API_docs_v55/constructors/inputPeerUser.md new file mode 100644 index 00000000..e671cfa8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPeerUser.md @@ -0,0 +1,40 @@ +--- +title: inputPeerUser +description: inputPeerUser attributes, type and example +--- +## Constructor: inputPeerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPeer](../types/InputPeer.md) + + +### Example: + +``` +$inputPeerUser = ['_' => 'inputPeerUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputPeerUser = '@username'; // Username + +$inputPeerUser = 44700; // bot API id (users) +$inputPeerUser = -492772765; // bot API id (chats) +$inputPeerUser = -10038575794; // bot API id (channels) + +$inputPeerUser = 'user#44700'; // tg-cli style id (users) +$inputPeerUser = 'chat#492772765'; // tg-cli style id (chats) +$inputPeerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputPhoneContact.md b/docs/old/API_docs_v55/constructors/inputPhoneContact.md new file mode 100644 index 00000000..44ef7955 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPhoneContact.md @@ -0,0 +1,29 @@ +--- +title: inputPhoneContact +description: inputPhoneContact attributes, type and example +--- +## Constructor: inputPhoneContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|client\_id|[long](../types/long.md) | Required| +|phone|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + + +### Type: [InputContact](../types/InputContact.md) + + +### Example: + +``` +$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => string, 'first_name' => string, 'last_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPhoto.md b/docs/old/API_docs_v55/constructors/inputPhoto.md new file mode 100644 index 00000000..0b4edae5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPhoto.md @@ -0,0 +1,27 @@ +--- +title: inputPhoto +description: inputPhoto attributes, type and example +--- +## Constructor: inputPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhoto = ['_' => 'inputPhoto', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPhotoCrop.md b/docs/old/API_docs_v55/constructors/inputPhotoCrop.md new file mode 100644 index 00000000..586c73ae --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPhotoCrop.md @@ -0,0 +1,28 @@ +--- +title: inputPhotoCrop +description: inputPhotoCrop attributes, type and example +--- +## Constructor: inputPhotoCrop +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|crop\_left|[double](../types/double.md) | Required| +|crop\_top|[double](../types/double.md) | Required| +|crop\_width|[double](../types/double.md) | Required| + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPhotoCropAuto.md b/docs/old/API_docs_v55/constructors/inputPhotoCropAuto.md new file mode 100644 index 00000000..b01474b1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPhotoCropAuto.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoCropAuto +description: inputPhotoCropAuto attributes, type and example +--- +## Constructor: inputPhotoCropAuto +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhotoCrop](../types/InputPhotoCrop.md) + + +### Example: + +``` +$inputPhotoCropAuto = ['_' => 'inputPhotoCropAuto', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPhotoEmpty.md b/docs/old/API_docs_v55/constructors/inputPhotoEmpty.md new file mode 100644 index 00000000..5b140dfc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputPhotoEmpty +description: inputPhotoEmpty attributes, type and example +--- +## Constructor: inputPhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputPhoto](../types/InputPhoto.md) + + +### Example: + +``` +$inputPhotoEmpty = ['_' => 'inputPhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md b/docs/old/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md new file mode 100644 index 00000000..4ddea8d6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyChatInvite +description: inputPrivacyKeyChatInvite attributes, type and example +--- +## Constructor: inputPrivacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyChatInvite = ['_' => 'inputPrivacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md b/docs/old/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md new file mode 100644 index 00000000..a87a471e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyKeyStatusTimestamp +description: inputPrivacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: inputPrivacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyKey](../types/InputPrivacyKey.md) + + +### Example: + +``` +$inputPrivacyKeyStatusTimestamp = ['_' => 'inputPrivacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowAll.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowAll.md new file mode 100644 index 00000000..54bc79f9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowAll +description: inputPrivacyValueAllowAll attributes, type and example +--- +## Constructor: inputPrivacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowAll = ['_' => 'inputPrivacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md new file mode 100644 index 00000000..3711910d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueAllowContacts +description: inputPrivacyValueAllowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowContacts = ['_' => 'inputPrivacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md new file mode 100644 index 00000000..8b37f98f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueAllowUsers +description: inputPrivacyValueAllowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueAllowUsers = ['_' => 'inputPrivacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md new file mode 100644 index 00000000..0b4ce33b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowAll +description: inputPrivacyValueDisallowAll attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowAll = ['_' => 'inputPrivacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md new file mode 100644 index 00000000..a903d753 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: inputPrivacyValueDisallowContacts +description: inputPrivacyValueDisallowContacts attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowContacts = ['_' => 'inputPrivacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md new file mode 100644 index 00000000..0e974957 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputPrivacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: inputPrivacyValueDisallowUsers +description: inputPrivacyValueDisallowUsers attributes, type and example +--- +## Constructor: inputPrivacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + + +### Type: [InputPrivacyRule](../types/InputPrivacyRule.md) + + +### Example: + +``` +$inputPrivacyValueDisallowUsers = ['_' => 'inputPrivacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputReportReasonOther.md b/docs/old/API_docs_v55/constructors/inputReportReasonOther.md new file mode 100644 index 00000000..d240e74a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputReportReasonOther.md @@ -0,0 +1,26 @@ +--- +title: inputReportReasonOther +description: inputReportReasonOther attributes, type and example +--- +## Constructor: inputReportReasonOther +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonOther = ['_' => 'inputReportReasonOther', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputReportReasonPornography.md b/docs/old/API_docs_v55/constructors/inputReportReasonPornography.md new file mode 100644 index 00000000..737b201e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputReportReasonPornography.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonPornography +description: inputReportReasonPornography attributes, type and example +--- +## Constructor: inputReportReasonPornography +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonPornography = ['_' => 'inputReportReasonPornography', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputReportReasonSpam.md b/docs/old/API_docs_v55/constructors/inputReportReasonSpam.md new file mode 100644 index 00000000..3a5e7b6e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputReportReasonSpam.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonSpam +description: inputReportReasonSpam attributes, type and example +--- +## Constructor: inputReportReasonSpam +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonSpam = ['_' => 'inputReportReasonSpam', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputReportReasonViolence.md b/docs/old/API_docs_v55/constructors/inputReportReasonViolence.md new file mode 100644 index 00000000..b59e8a53 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputReportReasonViolence.md @@ -0,0 +1,21 @@ +--- +title: inputReportReasonViolence +description: inputReportReasonViolence attributes, type and example +--- +## Constructor: inputReportReasonViolence +[Back to constructors index](index.md) + + + + + + +### Type: [ReportReason](../types/ReportReason.md) + + +### Example: + +``` +$inputReportReasonViolence = ['_' => 'inputReportReasonViolence', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputStickerSetEmpty.md b/docs/old/API_docs_v55/constructors/inputStickerSetEmpty.md new file mode 100644 index 00000000..7b851e1f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputStickerSetEmpty.md @@ -0,0 +1,21 @@ +--- +title: inputStickerSetEmpty +description: inputStickerSetEmpty attributes, type and example +--- +## Constructor: inputStickerSetEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetEmpty = ['_' => 'inputStickerSetEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputStickerSetID.md b/docs/old/API_docs_v55/constructors/inputStickerSetID.md new file mode 100644 index 00000000..61269d9a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputStickerSetID.md @@ -0,0 +1,27 @@ +--- +title: inputStickerSetID +description: inputStickerSetID attributes, type and example +--- +## Constructor: inputStickerSetID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetID = ['_' => 'inputStickerSetID', 'id' => long, 'access_hash' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputStickerSetShortName.md b/docs/old/API_docs_v55/constructors/inputStickerSetShortName.md new file mode 100644 index 00000000..78f48184 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputStickerSetShortName.md @@ -0,0 +1,26 @@ +--- +title: inputStickerSetShortName +description: inputStickerSetShortName attributes, type and example +--- +## Constructor: inputStickerSetShortName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|short\_name|[string](../types/string.md) | Required| + + + +### Type: [InputStickerSet](../types/InputStickerSet.md) + + +### Example: + +``` +$inputStickerSetShortName = ['_' => 'inputStickerSetShortName', 'short_name' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/inputUser.md b/docs/old/API_docs_v55/constructors/inputUser.md new file mode 100644 index 00000000..1ac7cbe3 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputUser.md @@ -0,0 +1,40 @@ +--- +title: inputUser +description: inputUser attributes, type and example +--- +## Constructor: inputUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Required| + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUser = ['_' => 'inputUser', 'user_id' => int, 'access_hash' => long, ]; +``` + +The following syntaxes can also be used: + +``` +$inputUser = '@username'; // Username + +$inputUser = 44700; // bot API id (users) +$inputUser = -492772765; // bot API id (chats) +$inputUser = -10038575794; // bot API id (channels) + +$inputUser = 'user#44700'; // tg-cli style id (users) +$inputUser = 'chat#492772765'; // tg-cli style id (chats) +$inputUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputUserEmpty.md b/docs/old/API_docs_v55/constructors/inputUserEmpty.md new file mode 100644 index 00000000..969d5a54 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputUserEmpty.md @@ -0,0 +1,34 @@ +--- +title: inputUserEmpty +description: inputUserEmpty attributes, type and example +--- +## Constructor: inputUserEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserEmpty = ['_' => 'inputUserEmpty', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserEmpty = '@username'; // Username + +$inputUserEmpty = 44700; // bot API id (users) +$inputUserEmpty = -492772765; // bot API id (chats) +$inputUserEmpty = -10038575794; // bot API id (channels) + +$inputUserEmpty = 'user#44700'; // tg-cli style id (users) +$inputUserEmpty = 'chat#492772765'; // tg-cli style id (chats) +$inputUserEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/inputUserSelf.md b/docs/old/API_docs_v55/constructors/inputUserSelf.md new file mode 100644 index 00000000..86bf7a3d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/inputUserSelf.md @@ -0,0 +1,34 @@ +--- +title: inputUserSelf +description: inputUserSelf attributes, type and example +--- +## Constructor: inputUserSelf +[Back to constructors index](index.md) + + + + + + +### Type: [InputUser](../types/InputUser.md) + + +### Example: + +``` +$inputUserSelf = ['_' => 'inputUserSelf', ]; +``` + +The following syntaxes can also be used: + +``` +$inputUserSelf = '@username'; // Username + +$inputUserSelf = 44700; // bot API id (users) +$inputUserSelf = -492772765; // bot API id (chats) +$inputUserSelf = -10038575794; // bot API id (channels) + +$inputUserSelf = 'user#44700'; // tg-cli style id (users) +$inputUserSelf = 'chat#492772765'; // tg-cli style id (chats) +$inputUserSelf = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/keyboardButton.md b/docs/old/API_docs_v55/constructors/keyboardButton.md new file mode 100644 index 00000000..1fb0087f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButton.md @@ -0,0 +1,26 @@ +--- +title: keyboardButton +description: keyboardButton attributes, type and example +--- +## Constructor: keyboardButton +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButton = ['_' => 'keyboardButton', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonCallback.md b/docs/old/API_docs_v55/constructors/keyboardButtonCallback.md new file mode 100644 index 00000000..58add404 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonCallback.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonCallback +description: keyboardButtonCallback attributes, type and example +--- +## Constructor: keyboardButtonCallback +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'text' => string, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md b/docs/old/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md new file mode 100644 index 00000000..c31e3194 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonRequestGeoLocation.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestGeoLocation +description: keyboardButtonRequestGeoLocation attributes, type and example +--- +## Constructor: keyboardButtonRequestGeoLocation +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestGeoLocation = ['_' => 'keyboardButtonRequestGeoLocation', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonRequestPhone.md b/docs/old/API_docs_v55/constructors/keyboardButtonRequestPhone.md new file mode 100644 index 00000000..734b8f41 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonRequestPhone.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRequestPhone +description: keyboardButtonRequestPhone attributes, type and example +--- +## Constructor: keyboardButtonRequestPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonRow.md b/docs/old/API_docs_v55/constructors/keyboardButtonRow.md new file mode 100644 index 00000000..d1379d5d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonRow.md @@ -0,0 +1,26 @@ +--- +title: keyboardButtonRow +description: keyboardButtonRow attributes, type and example +--- +## Constructor: keyboardButtonRow +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|buttons|Array of [KeyboardButton](../types/KeyboardButton.md) | Required| + + + +### Type: [KeyboardButtonRow](../types/KeyboardButtonRow.md) + + +### Example: + +``` +$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonSwitchInline.md b/docs/old/API_docs_v55/constructors/keyboardButtonSwitchInline.md new file mode 100644 index 00000000..a944ebab --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonSwitchInline.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonSwitchInline +description: keyboardButtonSwitchInline attributes, type and example +--- +## Constructor: keyboardButtonSwitchInline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|query|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'text' => string, 'query' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/keyboardButtonUrl.md b/docs/old/API_docs_v55/constructors/keyboardButtonUrl.md new file mode 100644 index 00000000..82b36411 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/keyboardButtonUrl.md @@ -0,0 +1,27 @@ +--- +title: keyboardButtonUrl +description: keyboardButtonUrl attributes, type and example +--- +## Constructor: keyboardButtonUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|text|[string](../types/string.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [KeyboardButton](../types/KeyboardButton.md) + + +### Example: + +``` +$keyboardButtonUrl = ['_' => 'keyboardButtonUrl', 'text' => string, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/message.md b/docs/old/API_docs_v55/constructors/message.md new file mode 100644 index 00000000..23c292a7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/message.md @@ -0,0 +1,43 @@ +--- +title: message +description: message attributes, type and example +--- +## Constructor: message +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| +|views|[int](../types/int.md) | Optional| +|edit\_date|[int](../types/int.md) | Optional| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [Vector t], 'views' => int, 'edit_date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChannelCreate.md b/docs/old/API_docs_v55/constructors/messageActionChannelCreate.md new file mode 100644 index 00000000..c810e49c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChannelCreate.md @@ -0,0 +1,26 @@ +--- +title: messageActionChannelCreate +description: messageActionChannelCreate attributes, type and example +--- +## Constructor: messageActionChannelCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelCreate = ['_' => 'messageActionChannelCreate', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChannelMigrateFrom.md b/docs/old/API_docs_v55/constructors/messageActionChannelMigrateFrom.md new file mode 100644 index 00000000..735f6773 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChannelMigrateFrom.md @@ -0,0 +1,27 @@ +--- +title: messageActionChannelMigrateFrom +description: messageActionChannelMigrateFrom attributes, type and example +--- +## Constructor: messageActionChannelMigrateFrom +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChannelMigrateFrom = ['_' => 'messageActionChannelMigrateFrom', 'title' => string, 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatAddUser.md b/docs/old/API_docs_v55/constructors/messageActionChatAddUser.md new file mode 100644 index 00000000..9ac2a47f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatAddUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatAddUser +description: messageActionChatAddUser attributes, type and example +--- +## Constructor: messageActionChatAddUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatCreate.md b/docs/old/API_docs_v55/constructors/messageActionChatCreate.md new file mode 100644 index 00000000..4a4b7609 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatCreate.md @@ -0,0 +1,27 @@ +--- +title: messageActionChatCreate +description: messageActionChatCreate attributes, type and example +--- +## Constructor: messageActionChatCreate +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => string, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatDeletePhoto.md b/docs/old/API_docs_v55/constructors/messageActionChatDeletePhoto.md new file mode 100644 index 00000000..3658408d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatDeletePhoto.md @@ -0,0 +1,21 @@ +--- +title: messageActionChatDeletePhoto +description: messageActionChatDeletePhoto attributes, type and example +--- +## Constructor: messageActionChatDeletePhoto +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeletePhoto = ['_' => 'messageActionChatDeletePhoto', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatDeleteUser.md b/docs/old/API_docs_v55/constructors/messageActionChatDeleteUser.md new file mode 100644 index 00000000..379d9457 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatDeleteUser.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatDeleteUser +description: messageActionChatDeleteUser attributes, type and example +--- +## Constructor: messageActionChatDeleteUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatDeleteUser = ['_' => 'messageActionChatDeleteUser', 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatEditPhoto.md b/docs/old/API_docs_v55/constructors/messageActionChatEditPhoto.md new file mode 100644 index 00000000..daee2af4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatEditPhoto.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditPhoto +description: messageActionChatEditPhoto attributes, type and example +--- +## Constructor: messageActionChatEditPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditPhoto = ['_' => 'messageActionChatEditPhoto', 'photo' => Photo, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatEditTitle.md b/docs/old/API_docs_v55/constructors/messageActionChatEditTitle.md new file mode 100644 index 00000000..62dd339b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatEditTitle.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatEditTitle +description: messageActionChatEditTitle attributes, type and example +--- +## Constructor: messageActionChatEditTitle +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|title|[string](../types/string.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatEditTitle = ['_' => 'messageActionChatEditTitle', 'title' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatJoinedByLink.md b/docs/old/API_docs_v55/constructors/messageActionChatJoinedByLink.md new file mode 100644 index 00000000..37e0b400 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatJoinedByLink.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatJoinedByLink +description: messageActionChatJoinedByLink attributes, type and example +--- +## Constructor: messageActionChatJoinedByLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|inviter\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatJoinedByLink = ['_' => 'messageActionChatJoinedByLink', 'inviter_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionChatMigrateTo.md b/docs/old/API_docs_v55/constructors/messageActionChatMigrateTo.md new file mode 100644 index 00000000..de68ff9a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionChatMigrateTo.md @@ -0,0 +1,26 @@ +--- +title: messageActionChatMigrateTo +description: messageActionChatMigrateTo attributes, type and example +--- +## Constructor: messageActionChatMigrateTo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionEmpty.md b/docs/old/API_docs_v55/constructors/messageActionEmpty.md new file mode 100644 index 00000000..8693a974 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageActionEmpty +description: messageActionEmpty attributes, type and example +--- +## Constructor: messageActionEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionEmpty = ['_' => 'messageActionEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionHistoryClear.md b/docs/old/API_docs_v55/constructors/messageActionHistoryClear.md new file mode 100644 index 00000000..2025dd89 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionHistoryClear.md @@ -0,0 +1,21 @@ +--- +title: messageActionHistoryClear +description: messageActionHistoryClear attributes, type and example +--- +## Constructor: messageActionHistoryClear +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionHistoryClear = ['_' => 'messageActionHistoryClear', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageActionPinMessage.md b/docs/old/API_docs_v55/constructors/messageActionPinMessage.md new file mode 100644 index 00000000..43318433 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageActionPinMessage.md @@ -0,0 +1,21 @@ +--- +title: messageActionPinMessage +description: messageActionPinMessage attributes, type and example +--- +## Constructor: messageActionPinMessage +[Back to constructors index](index.md) + + + + + + +### Type: [MessageAction](../types/MessageAction.md) + + +### Example: + +``` +$messageActionPinMessage = ['_' => 'messageActionPinMessage', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEmpty.md b/docs/old/API_docs_v55/constructors/messageEmpty.md new file mode 100644 index 00000000..7a1d58bc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEmpty.md @@ -0,0 +1,26 @@ +--- +title: messageEmpty +description: messageEmpty attributes, type and example +--- +## Constructor: messageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageEmpty = ['_' => 'messageEmpty', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityBold.md b/docs/old/API_docs_v55/constructors/messageEntityBold.md new file mode 100644 index 00000000..abbc7e40 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityBold.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBold +description: messageEntityBold attributes, type and example +--- +## Constructor: messageEntityBold +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBold = ['_' => 'messageEntityBold', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityBotCommand.md b/docs/old/API_docs_v55/constructors/messageEntityBotCommand.md new file mode 100644 index 00000000..a4b29e04 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityBotCommand.md @@ -0,0 +1,27 @@ +--- +title: messageEntityBotCommand +description: messageEntityBotCommand attributes, type and example +--- +## Constructor: messageEntityBotCommand +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityBotCommand = ['_' => 'messageEntityBotCommand', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityCode.md b/docs/old/API_docs_v55/constructors/messageEntityCode.md new file mode 100644 index 00000000..a342556e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityCode.md @@ -0,0 +1,27 @@ +--- +title: messageEntityCode +description: messageEntityCode attributes, type and example +--- +## Constructor: messageEntityCode +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityCode = ['_' => 'messageEntityCode', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityEmail.md b/docs/old/API_docs_v55/constructors/messageEntityEmail.md new file mode 100644 index 00000000..62670eb7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityEmail.md @@ -0,0 +1,27 @@ +--- +title: messageEntityEmail +description: messageEntityEmail attributes, type and example +--- +## Constructor: messageEntityEmail +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityEmail = ['_' => 'messageEntityEmail', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityHashtag.md b/docs/old/API_docs_v55/constructors/messageEntityHashtag.md new file mode 100644 index 00000000..ec3d0a79 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityHashtag.md @@ -0,0 +1,27 @@ +--- +title: messageEntityHashtag +description: messageEntityHashtag attributes, type and example +--- +## Constructor: messageEntityHashtag +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityHashtag = ['_' => 'messageEntityHashtag', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityItalic.md b/docs/old/API_docs_v55/constructors/messageEntityItalic.md new file mode 100644 index 00000000..c5a48f8d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityItalic.md @@ -0,0 +1,27 @@ +--- +title: messageEntityItalic +description: messageEntityItalic attributes, type and example +--- +## Constructor: messageEntityItalic +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityItalic = ['_' => 'messageEntityItalic', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityMention.md b/docs/old/API_docs_v55/constructors/messageEntityMention.md new file mode 100644 index 00000000..0e798476 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityMention.md @@ -0,0 +1,27 @@ +--- +title: messageEntityMention +description: messageEntityMention attributes, type and example +--- +## Constructor: messageEntityMention +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMention = ['_' => 'messageEntityMention', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityMentionName.md b/docs/old/API_docs_v55/constructors/messageEntityMentionName.md new file mode 100644 index 00000000..2d402b6e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityMentionName.md @@ -0,0 +1,28 @@ +--- +title: messageEntityMentionName +description: messageEntityMentionName attributes, type and example +--- +## Constructor: messageEntityMentionName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityMentionName = ['_' => 'messageEntityMentionName', 'offset' => int, 'length' => int, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityPre.md b/docs/old/API_docs_v55/constructors/messageEntityPre.md new file mode 100644 index 00000000..739493c9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityPre.md @@ -0,0 +1,28 @@ +--- +title: messageEntityPre +description: messageEntityPre attributes, type and example +--- +## Constructor: messageEntityPre +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|language|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityPre = ['_' => 'messageEntityPre', 'offset' => int, 'length' => int, 'language' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityTextUrl.md b/docs/old/API_docs_v55/constructors/messageEntityTextUrl.md new file mode 100644 index 00000000..575cb0ca --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityTextUrl.md @@ -0,0 +1,28 @@ +--- +title: messageEntityTextUrl +description: messageEntityTextUrl attributes, type and example +--- +## Constructor: messageEntityTextUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| +|url|[string](../types/string.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityTextUrl = ['_' => 'messageEntityTextUrl', 'offset' => int, 'length' => int, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityUnknown.md b/docs/old/API_docs_v55/constructors/messageEntityUnknown.md new file mode 100644 index 00000000..f5d68e33 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityUnknown.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUnknown +description: messageEntityUnknown attributes, type and example +--- +## Constructor: messageEntityUnknown +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUnknown = ['_' => 'messageEntityUnknown', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageEntityUrl.md b/docs/old/API_docs_v55/constructors/messageEntityUrl.md new file mode 100644 index 00000000..9470aca6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageEntityUrl.md @@ -0,0 +1,27 @@ +--- +title: messageEntityUrl +description: messageEntityUrl attributes, type and example +--- +## Constructor: messageEntityUrl +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|length|[int](../types/int.md) | Required| + + + +### Type: [MessageEntity](../types/MessageEntity.md) + + +### Example: + +``` +$messageEntityUrl = ['_' => 'messageEntityUrl', 'offset' => int, 'length' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageFwdHeader.md b/docs/old/API_docs_v55/constructors/messageFwdHeader.md new file mode 100644 index 00000000..9f732de1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageFwdHeader.md @@ -0,0 +1,29 @@ +--- +title: messageFwdHeader +description: messageFwdHeader attributes, type and example +--- +## Constructor: messageFwdHeader +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|from\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|channel\_id|[int](../types/int.md) | Optional| +|channel\_post|[int](../types/int.md) | Optional| + + + +### Type: [MessageFwdHeader](../types/MessageFwdHeader.md) + + +### Example: + +``` +$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaContact.md b/docs/old/API_docs_v55/constructors/messageMediaContact.md new file mode 100644 index 00000000..2fae7047 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaContact.md @@ -0,0 +1,29 @@ +--- +title: messageMediaContact +description: messageMediaContact attributes, type and example +--- +## Constructor: messageMediaContact +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => string, 'first_name' => string, 'last_name' => string, 'user_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaDocument.md b/docs/old/API_docs_v55/constructors/messageMediaDocument.md new file mode 100644 index 00000000..a4f3ee23 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaDocument.md @@ -0,0 +1,27 @@ +--- +title: messageMediaDocument +description: messageMediaDocument attributes, type and example +--- +## Constructor: messageMediaDocument +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|document|[Document](../types/Document.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaEmpty.md b/docs/old/API_docs_v55/constructors/messageMediaEmpty.md new file mode 100644 index 00000000..52c82e4e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaEmpty.md @@ -0,0 +1,21 @@ +--- +title: messageMediaEmpty +description: messageMediaEmpty attributes, type and example +--- +## Constructor: messageMediaEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaEmpty = ['_' => 'messageMediaEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaGeo.md b/docs/old/API_docs_v55/constructors/messageMediaGeo.md new file mode 100644 index 00000000..f573a2d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaGeo.md @@ -0,0 +1,26 @@ +--- +title: messageMediaGeo +description: messageMediaGeo attributes, type and example +--- +## Constructor: messageMediaGeo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaGeo = ['_' => 'messageMediaGeo', 'geo' => GeoPoint, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaPhoto.md b/docs/old/API_docs_v55/constructors/messageMediaPhoto.md new file mode 100644 index 00000000..4e88f059 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaPhoto.md @@ -0,0 +1,27 @@ +--- +title: messageMediaPhoto +description: messageMediaPhoto attributes, type and example +--- +## Constructor: messageMediaPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|caption|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaPhoto = ['_' => 'messageMediaPhoto', 'photo' => Photo, 'caption' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaUnsupported.md b/docs/old/API_docs_v55/constructors/messageMediaUnsupported.md new file mode 100644 index 00000000..4f430f72 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaUnsupported.md @@ -0,0 +1,21 @@ +--- +title: messageMediaUnsupported +description: messageMediaUnsupported attributes, type and example +--- +## Constructor: messageMediaUnsupported +[Back to constructors index](index.md) + + + + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaUnsupported = ['_' => 'messageMediaUnsupported', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaVenue.md b/docs/old/API_docs_v55/constructors/messageMediaVenue.md new file mode 100644 index 00000000..9a4bb1b9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaVenue.md @@ -0,0 +1,30 @@ +--- +title: messageMediaVenue +description: messageMediaVenue attributes, type and example +--- +## Constructor: messageMediaVenue +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|geo|[GeoPoint](../types/GeoPoint.md) | Required| +|title|[string](../types/string.md) | Required| +|address|[string](../types/string.md) | Required| +|provider|[string](../types/string.md) | Required| +|venue\_id|[string](../types/string.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => string, 'address' => string, 'provider' => string, 'venue_id' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageMediaWebPage.md b/docs/old/API_docs_v55/constructors/messageMediaWebPage.md new file mode 100644 index 00000000..50c2dcb4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageMediaWebPage.md @@ -0,0 +1,26 @@ +--- +title: messageMediaWebPage +description: messageMediaWebPage attributes, type and example +--- +## Constructor: messageMediaWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| + + + +### Type: [MessageMedia](../types/MessageMedia.md) + + +### Example: + +``` +$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageRange.md b/docs/old/API_docs_v55/constructors/messageRange.md new file mode 100644 index 00000000..05d48606 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageRange.md @@ -0,0 +1,27 @@ +--- +title: messageRange +description: messageRange attributes, type and example +--- +## Constructor: messageRange +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|min\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [MessageRange](../types/MessageRange.md) + + +### Example: + +``` +$messageRange = ['_' => 'messageRange', 'min_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messageService.md b/docs/old/API_docs_v55/constructors/messageService.md new file mode 100644 index 00000000..c50ba21d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messageService.md @@ -0,0 +1,36 @@ +--- +title: messageService +description: messageService attributes, type and example +--- +## Constructor: messageService +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|post|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Optional| +|to\_id|[Peer](../types/Peer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|date|[int](../types/int.md) | Required| +|action|[MessageAction](../types/MessageAction.md) | Required| + + + +### Type: [Message](../types/Message.md) + + +### Example: + +``` +$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_affectedHistory.md b/docs/old/API_docs_v55/constructors/messages_affectedHistory.md new file mode 100644 index 00000000..b12a784d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_affectedHistory.md @@ -0,0 +1,28 @@ +--- +title: messages_affectedHistory +description: messages_affectedHistory attributes, type and example +--- +## Constructor: messages\_affectedHistory +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + + +### Example: + +``` +$messages_affectedHistory = ['_' => 'messages_affectedHistory', 'pts' => int, 'pts_count' => int, 'offset' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_affectedMessages.md b/docs/old/API_docs_v55/constructors/messages_affectedMessages.md new file mode 100644 index 00000000..86bf4d79 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_affectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_affectedMessages +description: messages_affectedMessages attributes, type and example +--- +## Constructor: messages\_affectedMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + + +### Example: + +``` +$messages_affectedMessages = ['_' => 'messages_affectedMessages', 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_allStickers.md b/docs/old/API_docs_v55/constructors/messages_allStickers.md new file mode 100644 index 00000000..68e10d18 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_allStickers.md @@ -0,0 +1,27 @@ +--- +title: messages_allStickers +description: messages_allStickers attributes, type and example +--- +## Constructor: messages\_allStickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|sets|Array of [StickerSet](../types/StickerSet.md) | Required| + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickers = ['_' => 'messages_allStickers', 'hash' => int, 'sets' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_allStickersNotModified.md b/docs/old/API_docs_v55/constructors/messages_allStickersNotModified.md new file mode 100644 index 00000000..6bd82007 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_allStickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_allStickersNotModified +description: messages_allStickersNotModified attributes, type and example +--- +## Constructor: messages\_allStickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_AllStickers](../types/messages_AllStickers.md) + + +### Example: + +``` +$messages_allStickersNotModified = ['_' => 'messages_allStickersNotModified', ]; +``` + diff --git a/docs/API_docs_55/constructors/messages_archivedStickers.md b/docs/old/API_docs_v55/constructors/messages_archivedStickers.md similarity index 98% rename from docs/API_docs_55/constructors/messages_archivedStickers.md rename to docs/old/API_docs_v55/constructors/messages_archivedStickers.md index 1625bdf5..0815f1f7 100644 --- a/docs/API_docs_55/constructors/messages_archivedStickers.md +++ b/docs/old/API_docs_v55/constructors/messages_archivedStickers.md @@ -23,4 +23,5 @@ description: messages_archivedStickers attributes, type and example ``` $messages_archivedStickers = ['_' => 'messages_archivedStickers', 'count' => int, 'sets' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_botCallbackAnswer.md b/docs/old/API_docs_v55/constructors/messages_botCallbackAnswer.md new file mode 100644 index 00000000..c82638a2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_botCallbackAnswer.md @@ -0,0 +1,28 @@ +--- +title: messages_botCallbackAnswer +description: messages_botCallbackAnswer attributes, type and example +--- +## Constructor: messages\_botCallbackAnswer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|alert|[Bool](../types/Bool.md) | Optional| +|message|[string](../types/string.md) | Optional| +|url|[string](../types/string.md) | Optional| + + + +### Type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + + +### Example: + +``` +$messages_botCallbackAnswer = ['_' => 'messages_botCallbackAnswer', 'alert' => true, 'message' => string, 'url' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_botResults.md b/docs/old/API_docs_v55/constructors/messages_botResults.md new file mode 100644 index 00000000..6bed266c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_botResults.md @@ -0,0 +1,30 @@ +--- +title: messages_botResults +description: messages_botResults attributes, type and example +--- +## Constructor: messages\_botResults +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| +|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Required| + + + +### Type: [messages\_BotResults](../types/messages_BotResults.md) + + +### Example: + +``` +$messages_botResults = ['_' => 'messages_botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_channelMessages.md b/docs/old/API_docs_v55/constructors/messages_channelMessages.md new file mode 100644 index 00000000..2651dd40 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_channelMessages.md @@ -0,0 +1,30 @@ +--- +title: messages_channelMessages +description: messages_channelMessages attributes, type and example +--- +## Constructor: messages\_channelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_channelMessages = ['_' => 'messages_channelMessages', 'pts' => int, 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_chatFull.md b/docs/old/API_docs_v55/constructors/messages_chatFull.md new file mode 100644 index 00000000..d770394d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_chatFull.md @@ -0,0 +1,28 @@ +--- +title: messages_chatFull +description: messages_chatFull attributes, type and example +--- +## Constructor: messages\_chatFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|full\_chat|[ChatFull](../types/ChatFull.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_ChatFull](../types/messages_ChatFull.md) + + +### Example: + +``` +$messages_chatFull = ['_' => 'messages_chatFull', 'full_chat' => ChatFull, 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_chats.md b/docs/old/API_docs_v55/constructors/messages_chats.md new file mode 100644 index 00000000..9568aa6b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_chats.md @@ -0,0 +1,26 @@ +--- +title: messages_chats +description: messages_chats attributes, type and example +--- +## Constructor: messages\_chats +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chats|Array of [Chat](../types/Chat.md) | Required| + + + +### Type: [messages\_Chats](../types/messages_Chats.md) + + +### Example: + +``` +$messages_chats = ['_' => 'messages_chats', 'chats' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_dhConfig.md b/docs/old/API_docs_v55/constructors/messages_dhConfig.md new file mode 100644 index 00000000..f1e65812 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_dhConfig.md @@ -0,0 +1,29 @@ +--- +title: messages_dhConfig +description: messages_dhConfig attributes, type and example +--- +## Constructor: messages\_dhConfig +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|g|[int](../types/int.md) | Required| +|p|[bytes](../types/bytes.md) | Required| +|version|[int](../types/int.md) | Required| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfig = ['_' => 'messages_dhConfig', 'g' => int, 'p' => bytes, 'version' => int, 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_dhConfigNotModified.md b/docs/old/API_docs_v55/constructors/messages_dhConfigNotModified.md new file mode 100644 index 00000000..0e0f852c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_dhConfigNotModified.md @@ -0,0 +1,26 @@ +--- +title: messages_dhConfigNotModified +description: messages_dhConfigNotModified attributes, type and example +--- +## Constructor: messages\_dhConfigNotModified +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|random|[bytes](../types/bytes.md) | Required| + + + +### Type: [messages\_DhConfig](../types/messages_DhConfig.md) + + +### Example: + +``` +$messages_dhConfigNotModified = ['_' => 'messages_dhConfigNotModified', 'random' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_dialogs.md b/docs/old/API_docs_v55/constructors/messages_dialogs.md new file mode 100644 index 00000000..db6a86ef --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_dialogs.md @@ -0,0 +1,29 @@ +--- +title: messages_dialogs +description: messages_dialogs attributes, type and example +--- +## Constructor: messages\_dialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogs = ['_' => 'messages_dialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_dialogsSlice.md b/docs/old/API_docs_v55/constructors/messages_dialogsSlice.md new file mode 100644 index 00000000..da793487 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_dialogsSlice.md @@ -0,0 +1,30 @@ +--- +title: messages_dialogsSlice +description: messages_dialogsSlice attributes, type and example +--- +## Constructor: messages\_dialogsSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Dialogs](../types/messages_Dialogs.md) + + +### Example: + +``` +$messages_dialogsSlice = ['_' => 'messages_dialogsSlice', 'count' => int, 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/API_docs_55/constructors/messages_featuredStickers.md b/docs/old/API_docs_v55/constructors/messages_featuredStickers.md similarity index 99% rename from docs/API_docs_55/constructors/messages_featuredStickers.md rename to docs/old/API_docs_v55/constructors/messages_featuredStickers.md index 14dadbbc..a2af579e 100644 --- a/docs/API_docs_55/constructors/messages_featuredStickers.md +++ b/docs/old/API_docs_v55/constructors/messages_featuredStickers.md @@ -24,4 +24,5 @@ description: messages_featuredStickers attributes, type and example ``` $messages_featuredStickers = ['_' => 'messages_featuredStickers', 'hash' => int, 'sets' => [Vector t], 'unread' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs_55/constructors/messages_featuredStickersNotModified.md b/docs/old/API_docs_v55/constructors/messages_featuredStickersNotModified.md similarity index 98% rename from docs/API_docs_55/constructors/messages_featuredStickersNotModified.md rename to docs/old/API_docs_v55/constructors/messages_featuredStickersNotModified.md index 91cc4ddb..5f38a846 100644 --- a/docs/API_docs_55/constructors/messages_featuredStickersNotModified.md +++ b/docs/old/API_docs_v55/constructors/messages_featuredStickersNotModified.md @@ -17,4 +17,5 @@ description: messages_featuredStickersNotModified attributes, type and example ``` $messages_featuredStickersNotModified = ['_' => 'messages_featuredStickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_foundGifs.md b/docs/old/API_docs_v55/constructors/messages_foundGifs.md new file mode 100644 index 00000000..25677dad --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_foundGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_foundGifs +description: messages_foundGifs attributes, type and example +--- +## Constructor: messages\_foundGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|next\_offset|[int](../types/int.md) | Required| +|results|Array of [FoundGif](../types/FoundGif.md) | Required| + + + +### Type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + + +### Example: + +``` +$messages_foundGifs = ['_' => 'messages_foundGifs', 'next_offset' => int, 'results' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_messageEditData.md b/docs/old/API_docs_v55/constructors/messages_messageEditData.md new file mode 100644 index 00000000..5e80341c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_messageEditData.md @@ -0,0 +1,26 @@ +--- +title: messages_messageEditData +description: messages_messageEditData attributes, type and example +--- +## Constructor: messages\_messageEditData +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|caption|[Bool](../types/Bool.md) | Optional| + + + +### Type: [messages\_MessageEditData](../types/messages_MessageEditData.md) + + +### Example: + +``` +$messages_messageEditData = ['_' => 'messages_messageEditData', 'caption' => true, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_messages.md b/docs/old/API_docs_v55/constructors/messages_messages.md new file mode 100644 index 00000000..250fb53c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_messages.md @@ -0,0 +1,28 @@ +--- +title: messages_messages +description: messages_messages attributes, type and example +--- +## Constructor: messages\_messages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messages = ['_' => 'messages_messages', 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_messagesSlice.md b/docs/old/API_docs_v55/constructors/messages_messagesSlice.md new file mode 100644 index 00000000..be18ad3b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_messagesSlice.md @@ -0,0 +1,29 @@ +--- +title: messages_messagesSlice +description: messages_messagesSlice attributes, type and example +--- +## Constructor: messages\_messagesSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [messages\_Messages](../types/messages_Messages.md) + + +### Example: + +``` +$messages_messagesSlice = ['_' => 'messages_messagesSlice', 'count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_peerDialogs.md b/docs/old/API_docs_v55/constructors/messages_peerDialogs.md new file mode 100644 index 00000000..822cfa32 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_peerDialogs.md @@ -0,0 +1,30 @@ +--- +title: messages_peerDialogs +description: messages_peerDialogs attributes, type and example +--- +## Constructor: messages\_peerDialogs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dialogs|Array of [Dialog](../types/Dialog.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) + + +### Example: + +``` +$messages_peerDialogs = ['_' => 'messages_peerDialogs', 'dialogs' => [Vector t], 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/API_docs_55/constructors/messages_recentStickers.md b/docs/old/API_docs_v55/constructors/messages_recentStickers.md similarity index 98% rename from docs/API_docs_55/constructors/messages_recentStickers.md rename to docs/old/API_docs_v55/constructors/messages_recentStickers.md index 5929daf7..c8f920f9 100644 --- a/docs/API_docs_55/constructors/messages_recentStickers.md +++ b/docs/old/API_docs_v55/constructors/messages_recentStickers.md @@ -23,4 +23,5 @@ description: messages_recentStickers attributes, type and example ``` $messages_recentStickers = ['_' => 'messages_recentStickers', 'hash' => int, 'stickers' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs_55/constructors/messages_recentStickersNotModified.md b/docs/old/API_docs_v55/constructors/messages_recentStickersNotModified.md similarity index 98% rename from docs/API_docs_55/constructors/messages_recentStickersNotModified.md rename to docs/old/API_docs_v55/constructors/messages_recentStickersNotModified.md index 9d672c50..4fbf31cf 100644 --- a/docs/API_docs_55/constructors/messages_recentStickersNotModified.md +++ b/docs/old/API_docs_v55/constructors/messages_recentStickersNotModified.md @@ -17,4 +17,5 @@ description: messages_recentStickersNotModified attributes, type and example ``` $messages_recentStickersNotModified = ['_' => 'messages_recentStickersNotModified', ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_savedGifs.md b/docs/old/API_docs_v55/constructors/messages_savedGifs.md new file mode 100644 index 00000000..57b887ed --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_savedGifs.md @@ -0,0 +1,27 @@ +--- +title: messages_savedGifs +description: messages_savedGifs attributes, type and example +--- +## Constructor: messages\_savedGifs +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| +|gifs|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifs = ['_' => 'messages_savedGifs', 'hash' => int, 'gifs' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_savedGifsNotModified.md b/docs/old/API_docs_v55/constructors/messages_savedGifsNotModified.md new file mode 100644 index 00000000..4f2f604a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_savedGifsNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_savedGifsNotModified +description: messages_savedGifsNotModified attributes, type and example +--- +## Constructor: messages\_savedGifsNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + + +### Example: + +``` +$messages_savedGifsNotModified = ['_' => 'messages_savedGifsNotModified', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_sentEncryptedFile.md b/docs/old/API_docs_v55/constructors/messages_sentEncryptedFile.md new file mode 100644 index 00000000..668ad08b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_sentEncryptedFile.md @@ -0,0 +1,27 @@ +--- +title: messages_sentEncryptedFile +description: messages_sentEncryptedFile attributes, type and example +--- +## Constructor: messages\_sentEncryptedFile +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|file|[EncryptedFile](../types/EncryptedFile.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedFile = ['_' => 'messages_sentEncryptedFile', 'date' => int, 'file' => EncryptedFile, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_sentEncryptedMessage.md b/docs/old/API_docs_v55/constructors/messages_sentEncryptedMessage.md new file mode 100644 index 00000000..b5690c18 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_sentEncryptedMessage.md @@ -0,0 +1,26 @@ +--- +title: messages_sentEncryptedMessage +description: messages_sentEncryptedMessage attributes, type and example +--- +## Constructor: messages\_sentEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| + + + +### Type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + + +### Example: + +``` +$messages_sentEncryptedMessage = ['_' => 'messages_sentEncryptedMessage', 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_stickerSet.md b/docs/old/API_docs_v55/constructors/messages_stickerSet.md new file mode 100644 index 00000000..37b8eb5d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_stickerSet.md @@ -0,0 +1,28 @@ +--- +title: messages_stickerSet +description: messages_stickerSet attributes, type and example +--- +## Constructor: messages\_stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|set|[StickerSet](../types/StickerSet.md) | Required| +|packs|Array of [StickerPack](../types/StickerPack.md) | Required| +|documents|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_StickerSet](../types/messages_StickerSet.md) + + +### Example: + +``` +$messages_stickerSet = ['_' => 'messages_stickerSet', 'set' => StickerSet, 'packs' => [Vector t], 'documents' => [Vector t], ]; +``` + diff --git a/docs/API_docs_55/constructors/messages_stickerSetInstallResultArchive.md b/docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md similarity index 98% rename from docs/API_docs_55/constructors/messages_stickerSetInstallResultArchive.md rename to docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md index 707fc217..5544fe52 100644 --- a/docs/API_docs_55/constructors/messages_stickerSetInstallResultArchive.md +++ b/docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultArchive.md @@ -22,4 +22,5 @@ description: messages_stickerSetInstallResultArchive attributes, type and exampl ``` $messages_stickerSetInstallResultArchive = ['_' => 'messages_stickerSetInstallResultArchive', 'sets' => [Vector t], ]; -``` \ No newline at end of file +``` + diff --git a/docs/API_docs_55/constructors/messages_stickerSetInstallResultSuccess.md b/docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md similarity index 98% rename from docs/API_docs_55/constructors/messages_stickerSetInstallResultSuccess.md rename to docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md index 2ab3c4a3..6c565b63 100644 --- a/docs/API_docs_55/constructors/messages_stickerSetInstallResultSuccess.md +++ b/docs/old/API_docs_v55/constructors/messages_stickerSetInstallResultSuccess.md @@ -17,4 +17,5 @@ description: messages_stickerSetInstallResultSuccess attributes, type and exampl ``` $messages_stickerSetInstallResultSuccess = ['_' => 'messages_stickerSetInstallResultSuccess', ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_stickers.md b/docs/old/API_docs_v55/constructors/messages_stickers.md new file mode 100644 index 00000000..7a52dffe --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_stickers.md @@ -0,0 +1,27 @@ +--- +title: messages_stickers +description: messages_stickers attributes, type and example +--- +## Constructor: messages\_stickers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| +|stickers|Array of [Document](../types/Document.md) | Required| + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickers = ['_' => 'messages_stickers', 'hash' => string, 'stickers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/messages_stickersNotModified.md b/docs/old/API_docs_v55/constructors/messages_stickersNotModified.md new file mode 100644 index 00000000..df6812ad --- /dev/null +++ b/docs/old/API_docs_v55/constructors/messages_stickersNotModified.md @@ -0,0 +1,21 @@ +--- +title: messages_stickersNotModified +description: messages_stickersNotModified attributes, type and example +--- +## Constructor: messages\_stickersNotModified +[Back to constructors index](index.md) + + + + + + +### Type: [messages\_Stickers](../types/messages_Stickers.md) + + +### Example: + +``` +$messages_stickersNotModified = ['_' => 'messages_stickersNotModified', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/nearestDc.md b/docs/old/API_docs_v55/constructors/nearestDc.md new file mode 100644 index 00000000..9486fb76 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/nearestDc.md @@ -0,0 +1,28 @@ +--- +title: nearestDc +description: nearestDc attributes, type and example +--- +## Constructor: nearestDc +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|country|[string](../types/string.md) | Required| +|this\_dc|[int](../types/int.md) | Required| +|nearest\_dc|[int](../types/int.md) | Required| + + + +### Type: [NearestDc](../types/NearestDc.md) + + +### Example: + +``` +$nearestDc = ['_' => 'nearestDc', 'country' => string, 'this_dc' => int, 'nearest_dc' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/notifyAll.md b/docs/old/API_docs_v55/constructors/notifyAll.md new file mode 100644 index 00000000..aef0ad99 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/notifyAll.md @@ -0,0 +1,21 @@ +--- +title: notifyAll +description: notifyAll attributes, type and example +--- +## Constructor: notifyAll +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyAll = ['_' => 'notifyAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/notifyChats.md b/docs/old/API_docs_v55/constructors/notifyChats.md new file mode 100644 index 00000000..9fbaadc0 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/notifyChats.md @@ -0,0 +1,21 @@ +--- +title: notifyChats +description: notifyChats attributes, type and example +--- +## Constructor: notifyChats +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyChats = ['_' => 'notifyChats', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/notifyPeer.md b/docs/old/API_docs_v55/constructors/notifyPeer.md new file mode 100644 index 00000000..0dd5bac2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/notifyPeer.md @@ -0,0 +1,26 @@ +--- +title: notifyPeer +description: notifyPeer attributes, type and example +--- +## Constructor: notifyPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyPeer = ['_' => 'notifyPeer', 'peer' => Peer, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/notifyUsers.md b/docs/old/API_docs_v55/constructors/notifyUsers.md new file mode 100644 index 00000000..720e33af --- /dev/null +++ b/docs/old/API_docs_v55/constructors/notifyUsers.md @@ -0,0 +1,21 @@ +--- +title: notifyUsers +description: notifyUsers attributes, type and example +--- +## Constructor: notifyUsers +[Back to constructors index](index.md) + + + + + + +### Type: [NotifyPeer](../types/NotifyPeer.md) + + +### Example: + +``` +$notifyUsers = ['_' => 'notifyUsers', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/null.md b/docs/old/API_docs_v55/constructors/null.md new file mode 100644 index 00000000..e8f4db17 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/null.md @@ -0,0 +1,8 @@ +--- +title: null +description: Represents a null value +--- +# null +[Back to constructor index](index.md) + +Represents a `null` value. \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/peerChannel.md b/docs/old/API_docs_v55/constructors/peerChannel.md new file mode 100644 index 00000000..0e763642 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerChannel.md @@ -0,0 +1,39 @@ +--- +title: peerChannel +description: peerChannel attributes, type and example +--- +## Constructor: peerChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChannel = ['_' => 'peerChannel', 'channel_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChannel = '@username'; // Username + +$peerChannel = 44700; // bot API id (users) +$peerChannel = -492772765; // bot API id (chats) +$peerChannel = -10038575794; // bot API id (channels) + +$peerChannel = 'user#44700'; // tg-cli style id (users) +$peerChannel = 'chat#492772765'; // tg-cli style id (chats) +$peerChannel = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/peerChat.md b/docs/old/API_docs_v55/constructors/peerChat.md new file mode 100644 index 00000000..297f76ae --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerChat.md @@ -0,0 +1,39 @@ +--- +title: peerChat +description: peerChat attributes, type and example +--- +## Constructor: peerChat +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerChat = ['_' => 'peerChat', 'chat_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerChat = '@username'; // Username + +$peerChat = 44700; // bot API id (users) +$peerChat = -492772765; // bot API id (chats) +$peerChat = -10038575794; // bot API id (channels) + +$peerChat = 'user#44700'; // tg-cli style id (users) +$peerChat = 'chat#492772765'; // tg-cli style id (chats) +$peerChat = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/peerNotifyEventsAll.md b/docs/old/API_docs_v55/constructors/peerNotifyEventsAll.md new file mode 100644 index 00000000..7c442531 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerNotifyEventsAll.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsAll +description: peerNotifyEventsAll attributes, type and example +--- +## Constructor: peerNotifyEventsAll +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsAll = ['_' => 'peerNotifyEventsAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/peerNotifyEventsEmpty.md b/docs/old/API_docs_v55/constructors/peerNotifyEventsEmpty.md new file mode 100644 index 00000000..0e69c8e1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerNotifyEventsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifyEventsEmpty +description: peerNotifyEventsEmpty attributes, type and example +--- +## Constructor: peerNotifyEventsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifyEvents](../types/PeerNotifyEvents.md) + + +### Example: + +``` +$peerNotifyEventsEmpty = ['_' => 'peerNotifyEventsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/peerNotifySettings.md b/docs/old/API_docs_v55/constructors/peerNotifySettings.md new file mode 100644 index 00000000..4834238c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerNotifySettings.md @@ -0,0 +1,29 @@ +--- +title: peerNotifySettings +description: peerNotifySettings attributes, type and example +--- +## Constructor: peerNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|show\_previews|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|mute\_until|[int](../types/int.md) | Required| +|sound|[string](../types/string.md) | Required| + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/peerNotifySettingsEmpty.md b/docs/old/API_docs_v55/constructors/peerNotifySettingsEmpty.md new file mode 100644 index 00000000..31903dbd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerNotifySettingsEmpty.md @@ -0,0 +1,21 @@ +--- +title: peerNotifySettingsEmpty +description: peerNotifySettingsEmpty attributes, type and example +--- +## Constructor: peerNotifySettingsEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [PeerNotifySettings](../types/PeerNotifySettings.md) + + +### Example: + +``` +$peerNotifySettingsEmpty = ['_' => 'peerNotifySettingsEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/peerSettings.md b/docs/old/API_docs_v55/constructors/peerSettings.md new file mode 100644 index 00000000..28041caf --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerSettings.md @@ -0,0 +1,26 @@ +--- +title: peerSettings +description: peerSettings attributes, type and example +--- +## Constructor: peerSettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|report\_spam|[Bool](../types/Bool.md) | Optional| + + + +### Type: [PeerSettings](../types/PeerSettings.md) + + +### Example: + +``` +$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/peerUser.md b/docs/old/API_docs_v55/constructors/peerUser.md new file mode 100644 index 00000000..3c57463a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/peerUser.md @@ -0,0 +1,39 @@ +--- +title: peerUser +description: peerUser attributes, type and example +--- +## Constructor: peerUser +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| + + + +### Type: [Peer](../types/Peer.md) + + +### Example: + +``` +$peerUser = ['_' => 'peerUser', 'user_id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$peerUser = '@username'; // Username + +$peerUser = 44700; // bot API id (users) +$peerUser = -492772765; // bot API id (chats) +$peerUser = -10038575794; // bot API id (channels) + +$peerUser = 'user#44700'; // tg-cli style id (users) +$peerUser = 'chat#492772765'; // tg-cli style id (chats) +$peerUser = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/photo.md b/docs/old/API_docs_v55/constructors/photo.md new file mode 100644 index 00000000..700620f3 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photo.md @@ -0,0 +1,29 @@ +--- +title: photo +description: photo attributes, type and example +--- +## Constructor: photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photoCachedSize.md b/docs/old/API_docs_v55/constructors/photoCachedSize.md new file mode 100644 index 00000000..098e8757 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photoCachedSize.md @@ -0,0 +1,30 @@ +--- +title: photoCachedSize +description: photoCachedSize attributes, type and example +--- +## Constructor: photoCachedSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoCachedSize = ['_' => 'photoCachedSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photoEmpty.md b/docs/old/API_docs_v55/constructors/photoEmpty.md new file mode 100644 index 00000000..91696690 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photoEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoEmpty +description: photoEmpty attributes, type and example +--- +## Constructor: photoEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [Photo](../types/Photo.md) + + +### Example: + +``` +$photoEmpty = ['_' => 'photoEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photoSize.md b/docs/old/API_docs_v55/constructors/photoSize.md new file mode 100644 index 00000000..71536b87 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photoSize.md @@ -0,0 +1,30 @@ +--- +title: photoSize +description: photoSize attributes, type and example +--- +## Constructor: photoSize +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|location|[FileLocation](../types/FileLocation.md) | Required| +|w|[int](../types/int.md) | Required| +|h|[int](../types/int.md) | Required| +|size|[int](../types/int.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photoSizeEmpty.md b/docs/old/API_docs_v55/constructors/photoSizeEmpty.md new file mode 100644 index 00000000..2c9bccf2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photoSizeEmpty.md @@ -0,0 +1,26 @@ +--- +title: photoSizeEmpty +description: photoSizeEmpty attributes, type and example +--- +## Constructor: photoSizeEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| + + + +### Type: [PhotoSize](../types/PhotoSize.md) + + +### Example: + +``` +$photoSizeEmpty = ['_' => 'photoSizeEmpty', 'type' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photos_photo.md b/docs/old/API_docs_v55/constructors/photos_photo.md new file mode 100644 index 00000000..c9b46117 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photos_photo.md @@ -0,0 +1,27 @@ +--- +title: photos_photo +description: photos_photo attributes, type and example +--- +## Constructor: photos\_photo +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo|[Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photo](../types/photos_Photo.md) + + +### Example: + +``` +$photos_photo = ['_' => 'photos_photo', 'photo' => Photo, 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photos_photos.md b/docs/old/API_docs_v55/constructors/photos_photos.md new file mode 100644 index 00000000..54db2ec2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photos_photos.md @@ -0,0 +1,27 @@ +--- +title: photos_photos +description: photos_photos attributes, type and example +--- +## Constructor: photos\_photos +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photos = ['_' => 'photos_photos', 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/photos_photosSlice.md b/docs/old/API_docs_v55/constructors/photos_photosSlice.md new file mode 100644 index 00000000..ca98a280 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/photos_photosSlice.md @@ -0,0 +1,28 @@ +--- +title: photos_photosSlice +description: photos_photosSlice attributes, type and example +--- +## Constructor: photos\_photosSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|count|[int](../types/int.md) | Required| +|photos|Array of [Photo](../types/Photo.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [photos\_Photos](../types/photos_Photos.md) + + +### Example: + +``` +$photos_photosSlice = ['_' => 'photos_photosSlice', 'count' => int, 'photos' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyKeyChatInvite.md b/docs/old/API_docs_v55/constructors/privacyKeyChatInvite.md new file mode 100644 index 00000000..b7fd53b0 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyKeyChatInvite.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyChatInvite +description: privacyKeyChatInvite attributes, type and example +--- +## Constructor: privacyKeyChatInvite +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyChatInvite = ['_' => 'privacyKeyChatInvite', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyKeyStatusTimestamp.md b/docs/old/API_docs_v55/constructors/privacyKeyStatusTimestamp.md new file mode 100644 index 00000000..22e8d211 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyKeyStatusTimestamp.md @@ -0,0 +1,21 @@ +--- +title: privacyKeyStatusTimestamp +description: privacyKeyStatusTimestamp attributes, type and example +--- +## Constructor: privacyKeyStatusTimestamp +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyKey](../types/PrivacyKey.md) + + +### Example: + +``` +$privacyKeyStatusTimestamp = ['_' => 'privacyKeyStatusTimestamp', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueAllowAll.md b/docs/old/API_docs_v55/constructors/privacyValueAllowAll.md new file mode 100644 index 00000000..1cff3e2d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueAllowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowAll +description: privacyValueAllowAll attributes, type and example +--- +## Constructor: privacyValueAllowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowAll = ['_' => 'privacyValueAllowAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueAllowContacts.md b/docs/old/API_docs_v55/constructors/privacyValueAllowContacts.md new file mode 100644 index 00000000..01dcdbaa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueAllowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueAllowContacts +description: privacyValueAllowContacts attributes, type and example +--- +## Constructor: privacyValueAllowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowContacts = ['_' => 'privacyValueAllowContacts', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueAllowUsers.md b/docs/old/API_docs_v55/constructors/privacyValueAllowUsers.md new file mode 100644 index 00000000..996abd14 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueAllowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueAllowUsers +description: privacyValueAllowUsers attributes, type and example +--- +## Constructor: privacyValueAllowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueAllowUsers = ['_' => 'privacyValueAllowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueDisallowAll.md b/docs/old/API_docs_v55/constructors/privacyValueDisallowAll.md new file mode 100644 index 00000000..1276b3d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueDisallowAll.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowAll +description: privacyValueDisallowAll attributes, type and example +--- +## Constructor: privacyValueDisallowAll +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueDisallowContacts.md b/docs/old/API_docs_v55/constructors/privacyValueDisallowContacts.md new file mode 100644 index 00000000..991292db --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueDisallowContacts.md @@ -0,0 +1,21 @@ +--- +title: privacyValueDisallowContacts +description: privacyValueDisallowContacts attributes, type and example +--- +## Constructor: privacyValueDisallowContacts +[Back to constructors index](index.md) + + + + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowContacts = ['_' => 'privacyValueDisallowContacts', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/privacyValueDisallowUsers.md b/docs/old/API_docs_v55/constructors/privacyValueDisallowUsers.md new file mode 100644 index 00000000..f3cca325 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/privacyValueDisallowUsers.md @@ -0,0 +1,26 @@ +--- +title: privacyValueDisallowUsers +description: privacyValueDisallowUsers attributes, type and example +--- +## Constructor: privacyValueDisallowUsers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [int](../types/int.md) | Required| + + + +### Type: [PrivacyRule](../types/PrivacyRule.md) + + +### Example: + +``` +$privacyValueDisallowUsers = ['_' => 'privacyValueDisallowUsers', 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/receivedNotifyMessage.md b/docs/old/API_docs_v55/constructors/receivedNotifyMessage.md new file mode 100644 index 00000000..19092f28 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/receivedNotifyMessage.md @@ -0,0 +1,26 @@ +--- +title: receivedNotifyMessage +description: receivedNotifyMessage attributes, type and example +--- +## Constructor: receivedNotifyMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + + +### Example: + +``` +$receivedNotifyMessage = ['_' => 'receivedNotifyMessage', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/replyInlineMarkup.md b/docs/old/API_docs_v55/constructors/replyInlineMarkup.md new file mode 100644 index 00000000..e4453700 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/replyInlineMarkup.md @@ -0,0 +1,26 @@ +--- +title: replyInlineMarkup +description: replyInlineMarkup attributes, type and example +--- +## Constructor: replyInlineMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyInlineMarkup = ['_' => 'replyInlineMarkup', 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/replyKeyboardForceReply.md b/docs/old/API_docs_v55/constructors/replyKeyboardForceReply.md new file mode 100644 index 00000000..85b38fbc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/replyKeyboardForceReply.md @@ -0,0 +1,27 @@ +--- +title: replyKeyboardForceReply +description: replyKeyboardForceReply attributes, type and example +--- +## Constructor: replyKeyboardForceReply +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/replyKeyboardHide.md b/docs/old/API_docs_v55/constructors/replyKeyboardHide.md new file mode 100644 index 00000000..7c382a66 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/replyKeyboardHide.md @@ -0,0 +1,26 @@ +--- +title: replyKeyboardHide +description: replyKeyboardHide attributes, type and example +--- +## Constructor: replyKeyboardHide +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|selective|[Bool](../types/Bool.md) | Optional| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/replyKeyboardMarkup.md b/docs/old/API_docs_v55/constructors/replyKeyboardMarkup.md new file mode 100644 index 00000000..b9664ed1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/replyKeyboardMarkup.md @@ -0,0 +1,29 @@ +--- +title: replyKeyboardMarkup +description: replyKeyboardMarkup attributes, type and example +--- +## Constructor: replyKeyboardMarkup +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|resize|[Bool](../types/Bool.md) | Optional| +|single\_use|[Bool](../types/Bool.md) | Optional| +|selective|[Bool](../types/Bool.md) | Optional| +|rows|Array of [KeyboardButtonRow](../types/KeyboardButtonRow.md) | Required| + + + +### Type: [ReplyMarkup](../types/ReplyMarkup.md) + + +### Example: + +``` +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageCancelAction.md b/docs/old/API_docs_v55/constructors/sendMessageCancelAction.md new file mode 100644 index 00000000..be96f001 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageCancelAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageCancelAction +description: sendMessageCancelAction attributes, type and example +--- +## Constructor: sendMessageCancelAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageCancelAction = ['_' => 'sendMessageCancelAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageChooseContactAction.md b/docs/old/API_docs_v55/constructors/sendMessageChooseContactAction.md new file mode 100644 index 00000000..e1509841 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageChooseContactAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageChooseContactAction +description: sendMessageChooseContactAction attributes, type and example +--- +## Constructor: sendMessageChooseContactAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageChooseContactAction = ['_' => 'sendMessageChooseContactAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageGeoLocationAction.md b/docs/old/API_docs_v55/constructors/sendMessageGeoLocationAction.md new file mode 100644 index 00000000..d345f5ea --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageGeoLocationAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageGeoLocationAction +description: sendMessageGeoLocationAction attributes, type and example +--- +## Constructor: sendMessageGeoLocationAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageGeoLocationAction = ['_' => 'sendMessageGeoLocationAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageRecordAudioAction.md b/docs/old/API_docs_v55/constructors/sendMessageRecordAudioAction.md new file mode 100644 index 00000000..c338e4a9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageRecordAudioAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordAudioAction +description: sendMessageRecordAudioAction attributes, type and example +--- +## Constructor: sendMessageRecordAudioAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordAudioAction = ['_' => 'sendMessageRecordAudioAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageRecordVideoAction.md b/docs/old/API_docs_v55/constructors/sendMessageRecordVideoAction.md new file mode 100644 index 00000000..984bb6c8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageRecordVideoAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageRecordVideoAction +description: sendMessageRecordVideoAction attributes, type and example +--- +## Constructor: sendMessageRecordVideoAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageRecordVideoAction = ['_' => 'sendMessageRecordVideoAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageTypingAction.md b/docs/old/API_docs_v55/constructors/sendMessageTypingAction.md new file mode 100644 index 00000000..616e75e6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageTypingAction.md @@ -0,0 +1,21 @@ +--- +title: sendMessageTypingAction +description: sendMessageTypingAction attributes, type and example +--- +## Constructor: sendMessageTypingAction +[Back to constructors index](index.md) + + + + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageTypingAction = ['_' => 'sendMessageTypingAction', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageUploadAudioAction.md b/docs/old/API_docs_v55/constructors/sendMessageUploadAudioAction.md new file mode 100644 index 00000000..42592348 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageUploadAudioAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadAudioAction +description: sendMessageUploadAudioAction attributes, type and example +--- +## Constructor: sendMessageUploadAudioAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadAudioAction = ['_' => 'sendMessageUploadAudioAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageUploadDocumentAction.md b/docs/old/API_docs_v55/constructors/sendMessageUploadDocumentAction.md new file mode 100644 index 00000000..b0a7a0bd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageUploadDocumentAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadDocumentAction +description: sendMessageUploadDocumentAction attributes, type and example +--- +## Constructor: sendMessageUploadDocumentAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadDocumentAction = ['_' => 'sendMessageUploadDocumentAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageUploadPhotoAction.md b/docs/old/API_docs_v55/constructors/sendMessageUploadPhotoAction.md new file mode 100644 index 00000000..d74c8540 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageUploadPhotoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadPhotoAction +description: sendMessageUploadPhotoAction attributes, type and example +--- +## Constructor: sendMessageUploadPhotoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadPhotoAction = ['_' => 'sendMessageUploadPhotoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/sendMessageUploadVideoAction.md b/docs/old/API_docs_v55/constructors/sendMessageUploadVideoAction.md new file mode 100644 index 00000000..449826cd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/sendMessageUploadVideoAction.md @@ -0,0 +1,26 @@ +--- +title: sendMessageUploadVideoAction +description: sendMessageUploadVideoAction attributes, type and example +--- +## Constructor: sendMessageUploadVideoAction +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|progress|[int](../types/int.md) | Required| + + + +### Type: [SendMessageAction](../types/SendMessageAction.md) + + +### Example: + +``` +$sendMessageUploadVideoAction = ['_' => 'sendMessageUploadVideoAction', 'progress' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/stickerPack.md b/docs/old/API_docs_v55/constructors/stickerPack.md new file mode 100644 index 00000000..a4bea99b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/stickerPack.md @@ -0,0 +1,27 @@ +--- +title: stickerPack +description: stickerPack attributes, type and example +--- +## Constructor: stickerPack +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|documents|Array of [long](../types/long.md) | Required| + + + +### Type: [StickerPack](../types/StickerPack.md) + + +### Example: + +``` +$stickerPack = ['_' => 'stickerPack', 'emoticon' => string, 'documents' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/stickerSet.md b/docs/old/API_docs_v55/constructors/stickerSet.md new file mode 100644 index 00000000..fb961a3c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/stickerSet.md @@ -0,0 +1,34 @@ +--- +title: stickerSet +description: stickerSet attributes, type and example +--- +## Constructor: stickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|installed|[Bool](../types/Bool.md) | Optional| +|archived|[Bool](../types/Bool.md) | Optional| +|official|[Bool](../types/Bool.md) | Optional| +|id|[long](../types/long.md) | Required| +|access\_hash|[long](../types/long.md) | Required| +|title|[string](../types/string.md) | Required| +|short\_name|[string](../types/string.md) | Required| +|count|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + + +### Type: [StickerSet](../types/StickerSet.md) + + +### Example: + +``` +$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +``` + diff --git a/docs/API_docs_55/constructors/stickerSetCovered.md b/docs/old/API_docs_v55/constructors/stickerSetCovered.md similarity index 98% rename from docs/API_docs_55/constructors/stickerSetCovered.md rename to docs/old/API_docs_v55/constructors/stickerSetCovered.md index b636245d..9377b9fc 100644 --- a/docs/API_docs_55/constructors/stickerSetCovered.md +++ b/docs/old/API_docs_v55/constructors/stickerSetCovered.md @@ -23,4 +23,5 @@ description: stickerSetCovered attributes, type and example ``` $stickerSetCovered = ['_' => 'stickerSetCovered', 'set' => StickerSet, 'cover' => Document, ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileGif.md b/docs/old/API_docs_v55/constructors/storage_fileGif.md new file mode 100644 index 00000000..c979ebb8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileGif.md @@ -0,0 +1,21 @@ +--- +title: storage_fileGif +description: storage_fileGif attributes, type and example +--- +## Constructor: storage\_fileGif +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileGif = ['_' => 'storage_fileGif', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileJpeg.md b/docs/old/API_docs_v55/constructors/storage_fileJpeg.md new file mode 100644 index 00000000..77836683 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileJpeg.md @@ -0,0 +1,21 @@ +--- +title: storage_fileJpeg +description: storage_fileJpeg attributes, type and example +--- +## Constructor: storage\_fileJpeg +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileJpeg = ['_' => 'storage_fileJpeg', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileMov.md b/docs/old/API_docs_v55/constructors/storage_fileMov.md new file mode 100644 index 00000000..05ded79b --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileMov.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMov +description: storage_fileMov attributes, type and example +--- +## Constructor: storage\_fileMov +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMov = ['_' => 'storage_fileMov', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileMp3.md b/docs/old/API_docs_v55/constructors/storage_fileMp3.md new file mode 100644 index 00000000..b6e5add5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileMp3.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp3 +description: storage_fileMp3 attributes, type and example +--- +## Constructor: storage\_fileMp3 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp3 = ['_' => 'storage_fileMp3', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileMp4.md b/docs/old/API_docs_v55/constructors/storage_fileMp4.md new file mode 100644 index 00000000..f1d762b7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileMp4.md @@ -0,0 +1,21 @@ +--- +title: storage_fileMp4 +description: storage_fileMp4 attributes, type and example +--- +## Constructor: storage\_fileMp4 +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileMp4 = ['_' => 'storage_fileMp4', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_filePartial.md b/docs/old/API_docs_v55/constructors/storage_filePartial.md new file mode 100644 index 00000000..39d80a9a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_filePartial.md @@ -0,0 +1,21 @@ +--- +title: storage_filePartial +description: storage_filePartial attributes, type and example +--- +## Constructor: storage\_filePartial +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePartial = ['_' => 'storage_filePartial', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_filePdf.md b/docs/old/API_docs_v55/constructors/storage_filePdf.md new file mode 100644 index 00000000..2a33ae05 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_filePdf.md @@ -0,0 +1,21 @@ +--- +title: storage_filePdf +description: storage_filePdf attributes, type and example +--- +## Constructor: storage\_filePdf +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePdf = ['_' => 'storage_filePdf', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_filePng.md b/docs/old/API_docs_v55/constructors/storage_filePng.md new file mode 100644 index 00000000..4e53632a --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_filePng.md @@ -0,0 +1,21 @@ +--- +title: storage_filePng +description: storage_filePng attributes, type and example +--- +## Constructor: storage\_filePng +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_filePng = ['_' => 'storage_filePng', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileUnknown.md b/docs/old/API_docs_v55/constructors/storage_fileUnknown.md new file mode 100644 index 00000000..42b3ecc9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileUnknown.md @@ -0,0 +1,21 @@ +--- +title: storage_fileUnknown +description: storage_fileUnknown attributes, type and example +--- +## Constructor: storage\_fileUnknown +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileUnknown = ['_' => 'storage_fileUnknown', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/storage_fileWebp.md b/docs/old/API_docs_v55/constructors/storage_fileWebp.md new file mode 100644 index 00000000..f3faf322 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/storage_fileWebp.md @@ -0,0 +1,21 @@ +--- +title: storage_fileWebp +description: storage_fileWebp attributes, type and example +--- +## Constructor: storage\_fileWebp +[Back to constructors index](index.md) + + + + + + +### Type: [storage\_FileType](../types/storage_FileType.md) + + +### Example: + +``` +$storage_fileWebp = ['_' => 'storage_fileWebp', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeer.md b/docs/old/API_docs_v55/constructors/topPeer.md new file mode 100644 index 00000000..a2916c90 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeer.md @@ -0,0 +1,27 @@ +--- +title: topPeer +description: topPeer attributes, type and example +--- +## Constructor: topPeer +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|rating|[double](../types/double.md) | Required| + + + +### Type: [TopPeer](../types/TopPeer.md) + + +### Example: + +``` +$topPeer = ['_' => 'topPeer', 'peer' => Peer, 'rating' => double, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryBotsInline.md b/docs/old/API_docs_v55/constructors/topPeerCategoryBotsInline.md new file mode 100644 index 00000000..085b2345 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryBotsInline.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryBotsInline +description: topPeerCategoryBotsInline attributes, type and example +--- +## Constructor: topPeerCategoryBotsInline +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryBotsInline = ['_' => 'topPeerCategoryBotsInline', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryBotsPM.md b/docs/old/API_docs_v55/constructors/topPeerCategoryBotsPM.md new file mode 100644 index 00000000..27b3b2aa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryBotsPM.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryBotsPM +description: topPeerCategoryBotsPM attributes, type and example +--- +## Constructor: topPeerCategoryBotsPM +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryBotsPM = ['_' => 'topPeerCategoryBotsPM', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryChannels.md b/docs/old/API_docs_v55/constructors/topPeerCategoryChannels.md new file mode 100644 index 00000000..f3e2cb35 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryChannels.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryChannels +description: topPeerCategoryChannels attributes, type and example +--- +## Constructor: topPeerCategoryChannels +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryChannels = ['_' => 'topPeerCategoryChannels', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryCorrespondents.md b/docs/old/API_docs_v55/constructors/topPeerCategoryCorrespondents.md new file mode 100644 index 00000000..179ecbca --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryCorrespondents.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryCorrespondents +description: topPeerCategoryCorrespondents attributes, type and example +--- +## Constructor: topPeerCategoryCorrespondents +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryCorrespondents = ['_' => 'topPeerCategoryCorrespondents', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryGroups.md b/docs/old/API_docs_v55/constructors/topPeerCategoryGroups.md new file mode 100644 index 00000000..3b1a38d9 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryGroups.md @@ -0,0 +1,21 @@ +--- +title: topPeerCategoryGroups +description: topPeerCategoryGroups attributes, type and example +--- +## Constructor: topPeerCategoryGroups +[Back to constructors index](index.md) + + + + + + +### Type: [TopPeerCategory](../types/TopPeerCategory.md) + + +### Example: + +``` +$topPeerCategoryGroups = ['_' => 'topPeerCategoryGroups', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/topPeerCategoryPeers.md b/docs/old/API_docs_v55/constructors/topPeerCategoryPeers.md new file mode 100644 index 00000000..bd7e7a90 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/topPeerCategoryPeers.md @@ -0,0 +1,28 @@ +--- +title: topPeerCategoryPeers +description: topPeerCategoryPeers attributes, type and example +--- +## Constructor: topPeerCategoryPeers +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| +|count|[int](../types/int.md) | Required| +|peers|Array of [TopPeer](../types/TopPeer.md) | Required| + + + +### Type: [TopPeerCategoryPeers](../types/TopPeerCategoryPeers.md) + + +### Example: + +``` +$topPeerCategoryPeers = ['_' => 'topPeerCategoryPeers', 'category' => TopPeerCategory, 'count' => int, 'peers' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/true.md b/docs/old/API_docs_v55/constructors/true.md new file mode 100644 index 00000000..5d7dfca5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/true.md @@ -0,0 +1,21 @@ +--- +title: true +description: true attributes, type and example +--- +## Constructor: true +[Back to constructors index](index.md) + + + + + + +### Type: [True](../types/True.md) + + +### Example: + +``` +$true = ['_' => 'true', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateBotCallbackQuery.md b/docs/old/API_docs_v55/constructors/updateBotCallbackQuery.md new file mode 100644 index 00000000..f5ec2720 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateBotCallbackQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotCallbackQuery +description: updateBotCallbackQuery attributes, type and example +--- +## Constructor: updateBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|peer|[Peer](../types/Peer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateBotInlineQuery.md b/docs/old/API_docs_v55/constructors/updateBotInlineQuery.md new file mode 100644 index 00000000..78bbff4f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateBotInlineQuery.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineQuery +description: updateBotInlineQuery attributes, type and example +--- +## Constructor: updateBotInlineQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|offset|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'offset' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateBotInlineSend.md b/docs/old/API_docs_v55/constructors/updateBotInlineSend.md new file mode 100644 index 00000000..846f8978 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateBotInlineSend.md @@ -0,0 +1,30 @@ +--- +title: updateBotInlineSend +description: updateBotInlineSend attributes, type and example +--- +## Constructor: updateBotInlineSend +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|query|[string](../types/string.md) | Required| +|geo|[GeoPoint](../types/GeoPoint.md) | Optional| +|id|[string](../types/string.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateBotInlineSend = ['_' => 'updateBotInlineSend', 'user_id' => int, 'query' => string, 'geo' => GeoPoint, 'id' => string, 'msg_id' => InputBotInlineMessageID, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChannel.md b/docs/old/API_docs_v55/constructors/updateChannel.md new file mode 100644 index 00000000..e6a0eb00 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChannel.md @@ -0,0 +1,26 @@ +--- +title: updateChannel +description: updateChannel attributes, type and example +--- +## Constructor: updateChannel +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannel = ['_' => 'updateChannel', 'channel_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChannelMessageViews.md b/docs/old/API_docs_v55/constructors/updateChannelMessageViews.md new file mode 100644 index 00000000..9c42a3e8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChannelMessageViews.md @@ -0,0 +1,28 @@ +--- +title: updateChannelMessageViews +description: updateChannelMessageViews attributes, type and example +--- +## Constructor: updateChannelMessageViews +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| +|views|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelMessageViews = ['_' => 'updateChannelMessageViews', 'channel_id' => int, 'id' => int, 'views' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChannelPinnedMessage.md b/docs/old/API_docs_v55/constructors/updateChannelPinnedMessage.md new file mode 100644 index 00000000..b00702c1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChannelPinnedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateChannelPinnedMessage +description: updateChannelPinnedMessage attributes, type and example +--- +## Constructor: updateChannelPinnedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelPinnedMessage = ['_' => 'updateChannelPinnedMessage', 'channel_id' => int, 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChannelTooLong.md b/docs/old/API_docs_v55/constructors/updateChannelTooLong.md new file mode 100644 index 00000000..0e6c5f49 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChannelTooLong.md @@ -0,0 +1,27 @@ +--- +title: updateChannelTooLong +description: updateChannelTooLong attributes, type and example +--- +## Constructor: updateChannelTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Optional| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChannelTooLong = ['_' => 'updateChannelTooLong', 'channel_id' => int, 'pts' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatAdmins.md b/docs/old/API_docs_v55/constructors/updateChatAdmins.md new file mode 100644 index 00000000..22eeb7a3 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatAdmins.md @@ -0,0 +1,28 @@ +--- +title: updateChatAdmins +description: updateChatAdmins attributes, type and example +--- +## Constructor: updateChatAdmins +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatAdmins = ['_' => 'updateChatAdmins', 'chat_id' => int, 'enabled' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatParticipantAdd.md b/docs/old/API_docs_v55/constructors/updateChatParticipantAdd.md new file mode 100644 index 00000000..3c6b14c3 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatParticipantAdd.md @@ -0,0 +1,30 @@ +--- +title: updateChatParticipantAdd +description: updateChatParticipantAdd attributes, type and example +--- +## Constructor: updateChatParticipantAdd +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|inviter\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatParticipantAdmin.md b/docs/old/API_docs_v55/constructors/updateChatParticipantAdmin.md new file mode 100644 index 00000000..6df0b9c1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatParticipantAdmin.md @@ -0,0 +1,29 @@ +--- +title: updateChatParticipantAdmin +description: updateChatParticipantAdmin attributes, type and example +--- +## Constructor: updateChatParticipantAdmin +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatParticipantDelete.md b/docs/old/API_docs_v55/constructors/updateChatParticipantDelete.md new file mode 100644 index 00000000..5bfd99ac --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatParticipantDelete.md @@ -0,0 +1,28 @@ +--- +title: updateChatParticipantDelete +description: updateChatParticipantDelete attributes, type and example +--- +## Constructor: updateChatParticipantDelete +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|version|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatParticipants.md b/docs/old/API_docs_v55/constructors/updateChatParticipants.md new file mode 100644 index 00000000..73c87f16 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatParticipants.md @@ -0,0 +1,26 @@ +--- +title: updateChatParticipants +description: updateChatParticipants attributes, type and example +--- +## Constructor: updateChatParticipants +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|participants|[ChatParticipants](../types/ChatParticipants.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateChatUserTyping.md b/docs/old/API_docs_v55/constructors/updateChatUserTyping.md new file mode 100644 index 00000000..247f0c83 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateChatUserTyping.md @@ -0,0 +1,28 @@ +--- +title: updateChatUserTyping +description: updateChatUserTyping attributes, type and example +--- +## Constructor: updateChatUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateChatUserTyping = ['_' => 'updateChatUserTyping', 'chat_id' => int, 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateContactLink.md b/docs/old/API_docs_v55/constructors/updateContactLink.md new file mode 100644 index 00000000..a03c6146 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateContactLink.md @@ -0,0 +1,28 @@ +--- +title: updateContactLink +description: updateContactLink attributes, type and example +--- +## Constructor: updateContactLink +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|my\_link|[ContactLink](../types/ContactLink.md) | Required| +|foreign\_link|[ContactLink](../types/ContactLink.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => ContactLink, 'foreign_link' => ContactLink, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateContactRegistered.md b/docs/old/API_docs_v55/constructors/updateContactRegistered.md new file mode 100644 index 00000000..bda6feb7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateContactRegistered.md @@ -0,0 +1,27 @@ +--- +title: updateContactRegistered +description: updateContactRegistered attributes, type and example +--- +## Constructor: updateContactRegistered +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateContactRegistered = ['_' => 'updateContactRegistered', 'user_id' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateDcOptions.md b/docs/old/API_docs_v55/constructors/updateDcOptions.md new file mode 100644 index 00000000..7dc053d2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateDcOptions.md @@ -0,0 +1,26 @@ +--- +title: updateDcOptions +description: updateDcOptions attributes, type and example +--- +## Constructor: updateDcOptions +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_options|Array of [DcOption](../types/DcOption.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDcOptions = ['_' => 'updateDcOptions', 'dc_options' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateDeleteChannelMessages.md b/docs/old/API_docs_v55/constructors/updateDeleteChannelMessages.md new file mode 100644 index 00000000..30a5fa61 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateDeleteChannelMessages.md @@ -0,0 +1,29 @@ +--- +title: updateDeleteChannelMessages +description: updateDeleteChannelMessages attributes, type and example +--- +## Constructor: updateDeleteChannelMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteChannelMessages = ['_' => 'updateDeleteChannelMessages', 'channel_id' => int, 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateDeleteMessages.md b/docs/old/API_docs_v55/constructors/updateDeleteMessages.md new file mode 100644 index 00000000..9870db34 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateDeleteMessages.md @@ -0,0 +1,28 @@ +--- +title: updateDeleteMessages +description: updateDeleteMessages attributes, type and example +--- +## Constructor: updateDeleteMessages +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDeleteMessages = ['_' => 'updateDeleteMessages', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateDraftMessage.md b/docs/old/API_docs_v55/constructors/updateDraftMessage.md new file mode 100644 index 00000000..42cda353 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateDraftMessage.md @@ -0,0 +1,27 @@ +--- +title: updateDraftMessage +description: updateDraftMessage attributes, type and example +--- +## Constructor: updateDraftMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|draft|[DraftMessage](../types/DraftMessage.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateDraftMessage = ['_' => 'updateDraftMessage', 'peer' => Peer, 'draft' => DraftMessage, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateEditChannelMessage.md b/docs/old/API_docs_v55/constructors/updateEditChannelMessage.md new file mode 100644 index 00000000..30f9ad2e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateEditChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditChannelMessage +description: updateEditChannelMessage attributes, type and example +--- +## Constructor: updateEditChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditChannelMessage = ['_' => 'updateEditChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateEditMessage.md b/docs/old/API_docs_v55/constructors/updateEditMessage.md new file mode 100644 index 00000000..cda9fb4c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateEditMessage.md @@ -0,0 +1,28 @@ +--- +title: updateEditMessage +description: updateEditMessage attributes, type and example +--- +## Constructor: updateEditMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEditMessage = ['_' => 'updateEditMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateEncryptedChatTyping.md b/docs/old/API_docs_v55/constructors/updateEncryptedChatTyping.md new file mode 100644 index 00000000..8a7a6127 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateEncryptedChatTyping.md @@ -0,0 +1,26 @@ +--- +title: updateEncryptedChatTyping +description: updateEncryptedChatTyping attributes, type and example +--- +## Constructor: updateEncryptedChatTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedChatTyping = ['_' => 'updateEncryptedChatTyping', 'chat_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateEncryptedMessagesRead.md b/docs/old/API_docs_v55/constructors/updateEncryptedMessagesRead.md new file mode 100644 index 00000000..62ddba0f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateEncryptedMessagesRead.md @@ -0,0 +1,28 @@ +--- +title: updateEncryptedMessagesRead +description: updateEncryptedMessagesRead attributes, type and example +--- +## Constructor: updateEncryptedMessagesRead +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryptedMessagesRead = ['_' => 'updateEncryptedMessagesRead', 'chat_id' => int, 'max_date' => int, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateEncryption.md b/docs/old/API_docs_v55/constructors/updateEncryption.md new file mode 100644 index 00000000..a5b65b1d --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateEncryption.md @@ -0,0 +1,27 @@ +--- +title: updateEncryption +description: updateEncryption attributes, type and example +--- +## Constructor: updateEncryption +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat|[EncryptedChat](../types/EncryptedChat.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateEncryption = ['_' => 'updateEncryption', 'chat' => EncryptedChat, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateInlineBotCallbackQuery.md b/docs/old/API_docs_v55/constructors/updateInlineBotCallbackQuery.md new file mode 100644 index 00000000..47df8db5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateInlineBotCallbackQuery.md @@ -0,0 +1,29 @@ +--- +title: updateInlineBotCallbackQuery +description: updateInlineBotCallbackQuery attributes, type and example +--- +## Constructor: updateInlineBotCallbackQuery +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query\_id|[long](../types/long.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|msg\_id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateInlineBotCallbackQuery = ['_' => 'updateInlineBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'msg_id' => InputBotInlineMessageID, 'data' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateMessageID.md b/docs/old/API_docs_v55/constructors/updateMessageID.md new file mode 100644 index 00000000..34d5039f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateMessageID.md @@ -0,0 +1,26 @@ +--- +title: updateMessageID +description: updateMessageID attributes, type and example +--- +## Constructor: updateMessageID +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateMessageID = ['_' => 'updateMessageID', 'id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNewAuthorization.md b/docs/old/API_docs_v55/constructors/updateNewAuthorization.md new file mode 100644 index 00000000..ae6a74f1 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNewAuthorization.md @@ -0,0 +1,29 @@ +--- +title: updateNewAuthorization +description: updateNewAuthorization attributes, type and example +--- +## Constructor: updateNewAuthorization +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|auth\_key\_id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| +|device|[string](../types/string.md) | Required| +|location|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewAuthorization = ['_' => 'updateNewAuthorization', 'auth_key_id' => long, 'date' => int, 'device' => string, 'location' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNewChannelMessage.md b/docs/old/API_docs_v55/constructors/updateNewChannelMessage.md new file mode 100644 index 00000000..a3661f35 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNewChannelMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewChannelMessage +description: updateNewChannelMessage attributes, type and example +--- +## Constructor: updateNewChannelMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewChannelMessage = ['_' => 'updateNewChannelMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNewEncryptedMessage.md b/docs/old/API_docs_v55/constructors/updateNewEncryptedMessage.md new file mode 100644 index 00000000..0f66cdae --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNewEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: updateNewEncryptedMessage +description: updateNewEncryptedMessage attributes, type and example +--- +## Constructor: updateNewEncryptedMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[EncryptedMessage](../types/EncryptedMessage.md) | Required| +|qts|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewEncryptedMessage = ['_' => 'updateNewEncryptedMessage', 'message' => EncryptedMessage, 'qts' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNewMessage.md b/docs/old/API_docs_v55/constructors/updateNewMessage.md new file mode 100644 index 00000000..6030f854 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNewMessage.md @@ -0,0 +1,28 @@ +--- +title: updateNewMessage +description: updateNewMessage attributes, type and example +--- +## Constructor: updateNewMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[Message](../types/Message.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewMessage = ['_' => 'updateNewMessage', 'message' => Message, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNewStickerSet.md b/docs/old/API_docs_v55/constructors/updateNewStickerSet.md new file mode 100644 index 00000000..aaa27d56 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNewStickerSet.md @@ -0,0 +1,26 @@ +--- +title: updateNewStickerSet +description: updateNewStickerSet attributes, type and example +--- +## Constructor: updateNewStickerSet +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[messages\_StickerSet](../types/messages_StickerSet.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateNotifySettings.md b/docs/old/API_docs_v55/constructors/updateNotifySettings.md new file mode 100644 index 00000000..dd5651de --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateNotifySettings.md @@ -0,0 +1,27 @@ +--- +title: updateNotifySettings +description: updateNotifySettings attributes, type and example +--- +## Constructor: updateNotifySettings +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[NotifyPeer](../types/NotifyPeer.md) | Required| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateNotifySettings = ['_' => 'updateNotifySettings', 'peer' => NotifyPeer, 'notify_settings' => PeerNotifySettings, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updatePrivacy.md b/docs/old/API_docs_v55/constructors/updatePrivacy.md new file mode 100644 index 00000000..f5acb8a3 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updatePrivacy.md @@ -0,0 +1,27 @@ +--- +title: updatePrivacy +description: updatePrivacy attributes, type and example +--- +## Constructor: updatePrivacy +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[PrivacyKey](../types/PrivacyKey.md) | Required| +|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updatePrivacy = ['_' => 'updatePrivacy', 'key' => PrivacyKey, 'rules' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateReadChannelInbox.md b/docs/old/API_docs_v55/constructors/updateReadChannelInbox.md new file mode 100644 index 00000000..c52c1a52 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateReadChannelInbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelInbox +description: updateReadChannelInbox attributes, type and example +--- +## Constructor: updateReadChannelInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateReadChannelOutbox.md b/docs/old/API_docs_v55/constructors/updateReadChannelOutbox.md new file mode 100644 index 00000000..624edd55 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateReadChannelOutbox.md @@ -0,0 +1,27 @@ +--- +title: updateReadChannelOutbox +description: updateReadChannelOutbox attributes, type and example +--- +## Constructor: updateReadChannelOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel\_id|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadChannelOutbox = ['_' => 'updateReadChannelOutbox', 'channel_id' => int, 'max_id' => int, ]; +``` + diff --git a/docs/API_docs_55/constructors/updateReadFeaturedStickers.md b/docs/old/API_docs_v55/constructors/updateReadFeaturedStickers.md similarity index 97% rename from docs/API_docs_55/constructors/updateReadFeaturedStickers.md rename to docs/old/API_docs_v55/constructors/updateReadFeaturedStickers.md index 65a4eb80..1d845d2a 100644 --- a/docs/API_docs_55/constructors/updateReadFeaturedStickers.md +++ b/docs/old/API_docs_v55/constructors/updateReadFeaturedStickers.md @@ -17,4 +17,5 @@ description: updateReadFeaturedStickers attributes, type and example ``` $updateReadFeaturedStickers = ['_' => 'updateReadFeaturedStickers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/updateReadHistoryInbox.md b/docs/old/API_docs_v55/constructors/updateReadHistoryInbox.md new file mode 100644 index 00000000..ca60b3a7 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateReadHistoryInbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryInbox +description: updateReadHistoryInbox attributes, type and example +--- +## Constructor: updateReadHistoryInbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateReadHistoryOutbox.md b/docs/old/API_docs_v55/constructors/updateReadHistoryOutbox.md new file mode 100644 index 00000000..5a0459eb --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateReadHistoryOutbox.md @@ -0,0 +1,29 @@ +--- +title: updateReadHistoryOutbox +description: updateReadHistoryOutbox attributes, type and example +--- +## Constructor: updateReadHistoryOutbox +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[Peer](../types/Peer.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadHistoryOutbox = ['_' => 'updateReadHistoryOutbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateReadMessagesContents.md b/docs/old/API_docs_v55/constructors/updateReadMessagesContents.md new file mode 100644 index 00000000..8581cd73 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateReadMessagesContents.md @@ -0,0 +1,28 @@ +--- +title: updateReadMessagesContents +description: updateReadMessagesContents attributes, type and example +--- +## Constructor: updateReadMessagesContents +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|messages|Array of [int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateReadMessagesContents = ['_' => 'updateReadMessagesContents', 'messages' => [Vector t], 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/API_docs_55/constructors/updateRecentStickers.md b/docs/old/API_docs_v55/constructors/updateRecentStickers.md similarity index 97% rename from docs/API_docs_55/constructors/updateRecentStickers.md rename to docs/old/API_docs_v55/constructors/updateRecentStickers.md index 5a4edb48..0ac566a1 100644 --- a/docs/API_docs_55/constructors/updateRecentStickers.md +++ b/docs/old/API_docs_v55/constructors/updateRecentStickers.md @@ -17,4 +17,5 @@ description: updateRecentStickers attributes, type and example ``` $updateRecentStickers = ['_' => 'updateRecentStickers', ]; -``` \ No newline at end of file +``` + diff --git a/docs/old/API_docs_v55/constructors/updateSavedGifs.md b/docs/old/API_docs_v55/constructors/updateSavedGifs.md new file mode 100644 index 00000000..dd610b16 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateSavedGifs.md @@ -0,0 +1,21 @@ +--- +title: updateSavedGifs +description: updateSavedGifs attributes, type and example +--- +## Constructor: updateSavedGifs +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateSavedGifs = ['_' => 'updateSavedGifs', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateServiceNotification.md b/docs/old/API_docs_v55/constructors/updateServiceNotification.md new file mode 100644 index 00000000..039d7c81 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateServiceNotification.md @@ -0,0 +1,29 @@ +--- +title: updateServiceNotification +description: updateServiceNotification attributes, type and example +--- +## Constructor: updateServiceNotification +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Required| +|popup|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateServiceNotification = ['_' => 'updateServiceNotification', 'type' => string, 'message' => string, 'media' => MessageMedia, 'popup' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateShort.md b/docs/old/API_docs_v55/constructors/updateShort.md new file mode 100644 index 00000000..654cac90 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateShort.md @@ -0,0 +1,27 @@ +--- +title: updateShort +description: updateShort attributes, type and example +--- +## Constructor: updateShort +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|update|[Update](../types/Update.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShort = ['_' => 'updateShort', 'update' => Update, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateShortChatMessage.md b/docs/old/API_docs_v55/constructors/updateShortChatMessage.md new file mode 100644 index 00000000..2cd966b5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateShortChatMessage.md @@ -0,0 +1,40 @@ +--- +title: updateShortChatMessage +description: updateShortChatMessage attributes, type and example +--- +## Constructor: updateShortChatMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|from\_id|[int](../types/int.md) | Required| +|chat\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateShortMessage.md b/docs/old/API_docs_v55/constructors/updateShortMessage.md new file mode 100644 index 00000000..e51a4a57 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateShortMessage.md @@ -0,0 +1,39 @@ +--- +title: updateShortMessage +description: updateShortMessage attributes, type and example +--- +## Constructor: updateShortMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|mentioned|[Bool](../types/Bool.md) | Optional| +|media\_unread|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|user\_id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|fwd\_from|[MessageFwdHeader](../types/MessageFwdHeader.md) | Optional| +|via\_bot\_id|[int](../types/int.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateShortSentMessage.md b/docs/old/API_docs_v55/constructors/updateShortSentMessage.md new file mode 100644 index 00000000..b783723c --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateShortSentMessage.md @@ -0,0 +1,32 @@ +--- +title: updateShortSentMessage +description: updateShortSentMessage attributes, type and example +--- +## Constructor: updateShortSentMessage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|out|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|media|[MessageMedia](../types/MessageMedia.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateStickerSets.md b/docs/old/API_docs_v55/constructors/updateStickerSets.md new file mode 100644 index 00000000..7e0669ed --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateStickerSets.md @@ -0,0 +1,21 @@ +--- +title: updateStickerSets +description: updateStickerSets attributes, type and example +--- +## Constructor: updateStickerSets +[Back to constructors index](index.md) + + + + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSets = ['_' => 'updateStickerSets', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateStickerSetsOrder.md b/docs/old/API_docs_v55/constructors/updateStickerSetsOrder.md new file mode 100644 index 00000000..88965db2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateStickerSetsOrder.md @@ -0,0 +1,26 @@ +--- +title: updateStickerSetsOrder +description: updateStickerSetsOrder attributes, type and example +--- +## Constructor: updateStickerSetsOrder +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'order' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserBlocked.md b/docs/old/API_docs_v55/constructors/updateUserBlocked.md new file mode 100644 index 00000000..f9347846 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserBlocked.md @@ -0,0 +1,27 @@ +--- +title: updateUserBlocked +description: updateUserBlocked attributes, type and example +--- +## Constructor: updateUserBlocked +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|blocked|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserBlocked = ['_' => 'updateUserBlocked', 'user_id' => int, 'blocked' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserName.md b/docs/old/API_docs_v55/constructors/updateUserName.md new file mode 100644 index 00000000..d9ec4859 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserName.md @@ -0,0 +1,29 @@ +--- +title: updateUserName +description: updateUserName attributes, type and example +--- +## Constructor: updateUserName +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| +|username|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserName = ['_' => 'updateUserName', 'user_id' => int, 'first_name' => string, 'last_name' => string, 'username' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserPhone.md b/docs/old/API_docs_v55/constructors/updateUserPhone.md new file mode 100644 index 00000000..829d29a0 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserPhone.md @@ -0,0 +1,27 @@ +--- +title: updateUserPhone +description: updateUserPhone attributes, type and example +--- +## Constructor: updateUserPhone +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|phone|[string](../types/string.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => string, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserPhoto.md b/docs/old/API_docs_v55/constructors/updateUserPhoto.md new file mode 100644 index 00000000..0b6e7a42 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserPhoto.md @@ -0,0 +1,29 @@ +--- +title: updateUserPhoto +description: updateUserPhoto attributes, type and example +--- +## Constructor: updateUserPhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required| +|previous|[Bool](../types/Bool.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserStatus.md b/docs/old/API_docs_v55/constructors/updateUserStatus.md new file mode 100644 index 00000000..a46cabaa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserStatus.md @@ -0,0 +1,27 @@ +--- +title: updateUserStatus +description: updateUserStatus attributes, type and example +--- +## Constructor: updateUserStatus +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|status|[UserStatus](../types/UserStatus.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => int, 'status' => UserStatus, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateUserTyping.md b/docs/old/API_docs_v55/constructors/updateUserTyping.md new file mode 100644 index 00000000..cd966ed2 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateUserTyping.md @@ -0,0 +1,27 @@ +--- +title: updateUserTyping +description: updateUserTyping attributes, type and example +--- +## Constructor: updateUserTyping +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[int](../types/int.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updateWebPage.md b/docs/old/API_docs_v55/constructors/updateWebPage.md new file mode 100644 index 00000000..66605181 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updateWebPage.md @@ -0,0 +1,28 @@ +--- +title: updateWebPage +description: updateWebPage attributes, type and example +--- +## Constructor: updateWebPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|webpage|[WebPage](../types/WebPage.md) | Required| +|pts|[int](../types/int.md) | Required| +|pts\_count|[int](../types/int.md) | Required| + + + +### Type: [Update](../types/Update.md) + + +### Example: + +``` +$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates.md b/docs/old/API_docs_v55/constructors/updates.md new file mode 100644 index 00000000..0591e2d8 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates.md @@ -0,0 +1,30 @@ +--- +title: updates +description: updates attributes, type and example +--- +## Constructor: updates +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updates = ['_' => 'updates', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updatesCombined.md b/docs/old/API_docs_v55/constructors/updatesCombined.md new file mode 100644 index 00000000..733da382 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updatesCombined.md @@ -0,0 +1,31 @@ +--- +title: updatesCombined +description: updatesCombined attributes, type and example +--- +## Constructor: updatesCombined +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|updates|Array of [Update](../types/Update.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|date|[int](../types/int.md) | Required| +|seq\_start|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesCombined = ['_' => 'updatesCombined', 'updates' => [Vector t], 'users' => [Vector t], 'chats' => [Vector t], 'date' => int, 'seq_start' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updatesTooLong.md b/docs/old/API_docs_v55/constructors/updatesTooLong.md new file mode 100644 index 00000000..4e47e6ed --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updatesTooLong.md @@ -0,0 +1,21 @@ +--- +title: updatesTooLong +description: updatesTooLong attributes, type and example +--- +## Constructor: updatesTooLong +[Back to constructors index](index.md) + + + + + + +### Type: [Updates](../types/Updates.md) + + +### Example: + +``` +$updatesTooLong = ['_' => 'updatesTooLong', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_channelDifference.md b/docs/old/API_docs_v55/constructors/updates_channelDifference.md new file mode 100644 index 00000000..6ac95f10 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_channelDifference.md @@ -0,0 +1,32 @@ +--- +title: updates_channelDifference +description: updates_channelDifference attributes, type and example +--- +## Constructor: updates\_channelDifference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifference = ['_' => 'updates_channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_channelDifferenceEmpty.md b/docs/old/API_docs_v55/constructors/updates_channelDifferenceEmpty.md new file mode 100644 index 00000000..4ea0e94f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_channelDifferenceEmpty.md @@ -0,0 +1,28 @@ +--- +title: updates_channelDifferenceEmpty +description: updates_channelDifferenceEmpty attributes, type and example +--- +## Constructor: updates\_channelDifferenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceEmpty = ['_' => 'updates_channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_channelDifferenceTooLong.md b/docs/old/API_docs_v55/constructors/updates_channelDifferenceTooLong.md new file mode 100644 index 00000000..42370bcd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_channelDifferenceTooLong.md @@ -0,0 +1,35 @@ +--- +title: updates_channelDifferenceTooLong +description: updates_channelDifferenceTooLong attributes, type and example +--- +## Constructor: updates\_channelDifferenceTooLong +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|final|[Bool](../types/Bool.md) | Optional| +|pts|[int](../types/int.md) | Required| +|timeout|[int](../types/int.md) | Optional| +|top\_message|[int](../types/int.md) | Required| +|read\_inbox\_max\_id|[int](../types/int.md) | Required| +|read\_outbox\_max\_id|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| +|messages|Array of [Message](../types/Message.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| + + + +### Type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + + +### Example: + +``` +$updates_channelDifferenceTooLong = ['_' => 'updates_channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_difference.md b/docs/old/API_docs_v55/constructors/updates_difference.md new file mode 100644 index 00000000..5571d639 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_difference.md @@ -0,0 +1,31 @@ +--- +title: updates_difference +description: updates_difference attributes, type and example +--- +## Constructor: updates\_difference +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_difference = ['_' => 'updates_difference', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_differenceEmpty.md b/docs/old/API_docs_v55/constructors/updates_differenceEmpty.md new file mode 100644 index 00000000..64cf8770 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_differenceEmpty.md @@ -0,0 +1,27 @@ +--- +title: updates_differenceEmpty +description: updates_differenceEmpty attributes, type and example +--- +## Constructor: updates\_differenceEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceEmpty = ['_' => 'updates_differenceEmpty', 'date' => int, 'seq' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_differenceSlice.md b/docs/old/API_docs_v55/constructors/updates_differenceSlice.md new file mode 100644 index 00000000..183a0e83 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_differenceSlice.md @@ -0,0 +1,31 @@ +--- +title: updates_differenceSlice +description: updates_differenceSlice attributes, type and example +--- +## Constructor: updates\_differenceSlice +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|new\_messages|Array of [Message](../types/Message.md) | Required| +|new\_encrypted\_messages|Array of [EncryptedMessage](../types/EncryptedMessage.md) | Required| +|other\_updates|Array of [Update](../types/Update.md) | Required| +|chats|Array of [Chat](../types/Chat.md) | Required| +|users|Array of [User](../types/User.md) | Required| +|intermediate\_state|[updates\_State](../types/updates_State.md) | Required| + + + +### Type: [updates\_Difference](../types/updates_Difference.md) + + +### Example: + +``` +$updates_differenceSlice = ['_' => 'updates_differenceSlice', 'new_messages' => [Vector t], 'new_encrypted_messages' => [Vector t], 'other_updates' => [Vector t], 'chats' => [Vector t], 'users' => [Vector t], 'intermediate_state' => updates.State, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/updates_state.md b/docs/old/API_docs_v55/constructors/updates_state.md new file mode 100644 index 00000000..a41973db --- /dev/null +++ b/docs/old/API_docs_v55/constructors/updates_state.md @@ -0,0 +1,30 @@ +--- +title: updates_state +description: updates_state attributes, type and example +--- +## Constructor: updates\_state +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|seq|[int](../types/int.md) | Required| +|unread\_count|[int](../types/int.md) | Required| + + + +### Type: [updates\_State](../types/updates_State.md) + + +### Example: + +``` +$updates_state = ['_' => 'updates_state', 'pts' => int, 'qts' => int, 'date' => int, 'seq' => int, 'unread_count' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/upload_file.md b/docs/old/API_docs_v55/constructors/upload_file.md new file mode 100644 index 00000000..4b41092f --- /dev/null +++ b/docs/old/API_docs_v55/constructors/upload_file.md @@ -0,0 +1,28 @@ +--- +title: upload_file +description: upload_file attributes, type and example +--- +## Constructor: upload\_file +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|type|[storage\_FileType](../types/storage_FileType.md) | Required| +|mtime|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + + +### Type: [upload\_File](../types/upload_File.md) + + +### Example: + +``` +$upload_file = ['_' => 'upload_file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/user.md b/docs/old/API_docs_v55/constructors/user.md new file mode 100644 index 00000000..efd0a934 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/user.md @@ -0,0 +1,60 @@ +--- +title: user +description: user attributes, type and example +--- +## Constructor: user +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|self|[Bool](../types/Bool.md) | Optional| +|contact|[Bool](../types/Bool.md) | Optional| +|mutual\_contact|[Bool](../types/Bool.md) | Optional| +|deleted|[Bool](../types/Bool.md) | Optional| +|bot|[Bool](../types/Bool.md) | Optional| +|bot\_chat\_history|[Bool](../types/Bool.md) | Optional| +|bot\_nochats|[Bool](../types/Bool.md) | Optional| +|verified|[Bool](../types/Bool.md) | Optional| +|restricted|[Bool](../types/Bool.md) | Optional| +|min|[Bool](../types/Bool.md) | Optional| +|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional| +|id|[int](../types/int.md) | Required| +|access\_hash|[long](../types/long.md) | Optional| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|username|[string](../types/string.md) | Optional| +|phone|[string](../types/string.md) | Optional| +|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Optional| +|status|[UserStatus](../types/UserStatus.md) | Optional| +|bot\_info\_version|[int](../types/int.md) | Optional| +|restriction\_reason|[string](../types/string.md) | Optional| +|bot\_inline\_placeholder|[string](../types/string.md) | Optional| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +``` + +The following syntaxes can also be used: + +``` +$user = '@username'; // Username + +$user = 44700; // bot API id (users) +$user = -492772765; // bot API id (chats) +$user = -10038575794; // bot API id (channels) + +$user = 'user#44700'; // tg-cli style id (users) +$user = 'chat#492772765'; // tg-cli style id (chats) +$user = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/userEmpty.md b/docs/old/API_docs_v55/constructors/userEmpty.md new file mode 100644 index 00000000..f512d1b6 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userEmpty.md @@ -0,0 +1,39 @@ +--- +title: userEmpty +description: userEmpty attributes, type and example +--- +## Constructor: userEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| + + + +### Type: [User](../types/User.md) + + +### Example: + +``` +$userEmpty = ['_' => 'userEmpty', 'id' => int, ]; +``` + +The following syntaxes can also be used: + +``` +$userEmpty = '@username'; // Username + +$userEmpty = 44700; // bot API id (users) +$userEmpty = -492772765; // bot API id (chats) +$userEmpty = -10038575794; // bot API id (channels) + +$userEmpty = 'user#44700'; // tg-cli style id (users) +$userEmpty = 'chat#492772765'; // tg-cli style id (chats) +$userEmpty = 'channel#38575794'; // tg-cli style id (channels) +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/constructors/userFull.md b/docs/old/API_docs_v55/constructors/userFull.md new file mode 100644 index 00000000..d6a020a5 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userFull.md @@ -0,0 +1,32 @@ +--- +title: userFull +description: userFull attributes, type and example +--- +## Constructor: userFull +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|blocked|[Bool](../types/Bool.md) | Optional| +|user|[User](../types/User.md) | Required| +|about|[string](../types/string.md) | Optional| +|link|[contacts\_Link](../types/contacts_Link.md) | Required| +|profile\_photo|[Photo](../types/Photo.md) | Optional| +|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Required| +|bot\_info|[BotInfo](../types/BotInfo.md) | Optional| + + + +### Type: [UserFull](../types/UserFull.md) + + +### Example: + +``` +$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userProfilePhoto.md b/docs/old/API_docs_v55/constructors/userProfilePhoto.md new file mode 100644 index 00000000..83a2fd53 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userProfilePhoto.md @@ -0,0 +1,28 @@ +--- +title: userProfilePhoto +description: userProfilePhoto attributes, type and example +--- +## Constructor: userProfilePhoto +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|photo\_id|[long](../types/long.md) | Required| +|photo\_small|[FileLocation](../types/FileLocation.md) | Required| +|photo\_big|[FileLocation](../types/FileLocation.md) | Required| + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userProfilePhotoEmpty.md b/docs/old/API_docs_v55/constructors/userProfilePhotoEmpty.md new file mode 100644 index 00000000..e34a9f13 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userProfilePhotoEmpty.md @@ -0,0 +1,21 @@ +--- +title: userProfilePhotoEmpty +description: userProfilePhotoEmpty attributes, type and example +--- +## Constructor: userProfilePhotoEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserProfilePhoto](../types/UserProfilePhoto.md) + + +### Example: + +``` +$userProfilePhotoEmpty = ['_' => 'userProfilePhotoEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusEmpty.md b/docs/old/API_docs_v55/constructors/userStatusEmpty.md new file mode 100644 index 00000000..2da5acdc --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusEmpty.md @@ -0,0 +1,21 @@ +--- +title: userStatusEmpty +description: userStatusEmpty attributes, type and example +--- +## Constructor: userStatusEmpty +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusEmpty = ['_' => 'userStatusEmpty', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusLastMonth.md b/docs/old/API_docs_v55/constructors/userStatusLastMonth.md new file mode 100644 index 00000000..a69712d4 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusLastMonth.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastMonth +description: userStatusLastMonth attributes, type and example +--- +## Constructor: userStatusLastMonth +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastMonth = ['_' => 'userStatusLastMonth', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusLastWeek.md b/docs/old/API_docs_v55/constructors/userStatusLastWeek.md new file mode 100644 index 00000000..ae3b3c10 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusLastWeek.md @@ -0,0 +1,21 @@ +--- +title: userStatusLastWeek +description: userStatusLastWeek attributes, type and example +--- +## Constructor: userStatusLastWeek +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusLastWeek = ['_' => 'userStatusLastWeek', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusOffline.md b/docs/old/API_docs_v55/constructors/userStatusOffline.md new file mode 100644 index 00000000..1d612b73 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusOffline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOffline +description: userStatusOffline attributes, type and example +--- +## Constructor: userStatusOffline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|was\_online|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusOnline.md b/docs/old/API_docs_v55/constructors/userStatusOnline.md new file mode 100644 index 00000000..0f67d7fd --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusOnline.md @@ -0,0 +1,26 @@ +--- +title: userStatusOnline +description: userStatusOnline attributes, type and example +--- +## Constructor: userStatusOnline +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|expires|[int](../types/int.md) | Required| + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/userStatusRecently.md b/docs/old/API_docs_v55/constructors/userStatusRecently.md new file mode 100644 index 00000000..64477b99 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/userStatusRecently.md @@ -0,0 +1,21 @@ +--- +title: userStatusRecently +description: userStatusRecently attributes, type and example +--- +## Constructor: userStatusRecently +[Back to constructors index](index.md) + + + + + + +### Type: [UserStatus](../types/UserStatus.md) + + +### Example: + +``` +$userStatusRecently = ['_' => 'userStatusRecently', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/vector.md b/docs/old/API_docs_v55/constructors/vector.md new file mode 100644 index 00000000..f9567743 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/vector.md @@ -0,0 +1,21 @@ +--- +title: vector +description: vector attributes, type and example +--- +## Constructor: vector +[Back to constructors index](index.md) + + + + + + +### Type: [Vector t](../types/Vector t.md) + + +### Example: + +``` +$vector = ['_' => 'vector', ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/wallPaper.md b/docs/old/API_docs_v55/constructors/wallPaper.md new file mode 100644 index 00000000..dabeea9e --- /dev/null +++ b/docs/old/API_docs_v55/constructors/wallPaper.md @@ -0,0 +1,29 @@ +--- +title: wallPaper +description: wallPaper attributes, type and example +--- +## Constructor: wallPaper +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaper = ['_' => 'wallPaper', 'id' => int, 'title' => string, 'sizes' => [Vector t], 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/wallPaperSolid.md b/docs/old/API_docs_v55/constructors/wallPaperSolid.md new file mode 100644 index 00000000..c0b231fa --- /dev/null +++ b/docs/old/API_docs_v55/constructors/wallPaperSolid.md @@ -0,0 +1,29 @@ +--- +title: wallPaperSolid +description: wallPaperSolid attributes, type and example +--- +## Constructor: wallPaperSolid +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| +|bg\_color|[int](../types/int.md) | Required| +|color|[int](../types/int.md) | Required| + + + +### Type: [WallPaper](../types/WallPaper.md) + + +### Example: + +``` +$wallPaperSolid = ['_' => 'wallPaperSolid', 'id' => int, 'title' => string, 'bg_color' => int, 'color' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/webPage.md b/docs/old/API_docs_v55/constructors/webPage.md new file mode 100644 index 00000000..bef51109 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/webPage.md @@ -0,0 +1,40 @@ +--- +title: webPage +description: webPage attributes, type and example +--- +## Constructor: webPage +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|url|[string](../types/string.md) | Required| +|display\_url|[string](../types/string.md) | Required| +|type|[string](../types/string.md) | Optional| +|site\_name|[string](../types/string.md) | Optional| +|title|[string](../types/string.md) | Optional| +|description|[string](../types/string.md) | Optional| +|photo|[Photo](../types/Photo.md) | Optional| +|embed\_url|[string](../types/string.md) | Optional| +|embed\_type|[string](../types/string.md) | Optional| +|embed\_width|[int](../types/int.md) | Optional| +|embed\_height|[int](../types/int.md) | Optional| +|duration|[int](../types/int.md) | Optional| +|author|[string](../types/string.md) | Optional| +|document|[Document](../types/Document.md) | Optional| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPage = ['_' => 'webPage', 'id' => long, 'url' => string, 'display_url' => string, 'type' => string, 'site_name' => string, 'title' => string, 'description' => string, 'photo' => Photo, 'embed_url' => string, 'embed_type' => string, 'embed_width' => int, 'embed_height' => int, 'duration' => int, 'author' => string, 'document' => Document, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/webPageEmpty.md b/docs/old/API_docs_v55/constructors/webPageEmpty.md new file mode 100644 index 00000000..197335af --- /dev/null +++ b/docs/old/API_docs_v55/constructors/webPageEmpty.md @@ -0,0 +1,26 @@ +--- +title: webPageEmpty +description: webPageEmpty attributes, type and example +--- +## Constructor: webPageEmpty +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPageEmpty = ['_' => 'webPageEmpty', 'id' => long, ]; +``` + diff --git a/docs/old/API_docs_v55/constructors/webPagePending.md b/docs/old/API_docs_v55/constructors/webPagePending.md new file mode 100644 index 00000000..4bc45776 --- /dev/null +++ b/docs/old/API_docs_v55/constructors/webPagePending.md @@ -0,0 +1,27 @@ +--- +title: webPagePending +description: webPagePending attributes, type and example +--- +## Constructor: webPagePending +[Back to constructors index](index.md) + + + +### Attributes: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[long](../types/long.md) | Required| +|date|[int](../types/int.md) | Required| + + + +### Type: [WebPage](../types/WebPage.md) + + +### Example: + +``` +$webPagePending = ['_' => 'webPagePending', 'id' => long, 'date' => int, ]; +``` + diff --git a/docs/old/API_docs_v55/index.md b/docs/old/API_docs_v55/index.md new file mode 100644 index 00000000..43617478 --- /dev/null +++ b/docs/old/API_docs_v55/index.md @@ -0,0 +1,14 @@ +--- +title: MadelineProto API documentation (layer v55) +description: MadelineProto API documentation (layer v55) +--- +# MadelineProto API documentation (layer v55) + +[Methods](methods/) + +[Constructors](constructors/) + +[Types](types/) + + +[Back to main documentation](..) diff --git a/docs/old/API_docs_v55/methods/account_changePhone.md b/docs/old/API_docs_v55/methods/account_changePhone.md new file mode 100644 index 00000000..440614fd --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_changePhone.md @@ -0,0 +1,39 @@ +--- +title: account_changePhone +description: account_changePhone parameters, return type and example +--- +## Method: account\_changePhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_checkUsername.md b/docs/old/API_docs_v55/methods/account_checkUsername.md new file mode 100644 index 00000000..227397af --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_checkUsername.md @@ -0,0 +1,37 @@ +--- +title: account_checkUsername +description: account_checkUsername parameters, return type and example +--- +## Method: account\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->checkUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_confirmPhone.md b/docs/old/API_docs_v55/methods/account_confirmPhone.md similarity index 100% rename from docs/API_docs_55/methods/account_confirmPhone.md rename to docs/old/API_docs_v55/methods/account_confirmPhone.md diff --git a/docs/old/API_docs_v55/methods/account_deleteAccount.md b/docs/old/API_docs_v55/methods/account_deleteAccount.md new file mode 100644 index 00000000..108a8ffd --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_deleteAccount.md @@ -0,0 +1,37 @@ +--- +title: account_deleteAccount +description: account_deleteAccount parameters, return type and example +--- +## Method: account\_deleteAccount +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|reason|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getAccountTTL.md b/docs/old/API_docs_v55/methods/account_getAccountTTL.md new file mode 100644 index 00000000..50bf17d7 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getAccountTTL.md @@ -0,0 +1,32 @@ +--- +title: account_getAccountTTL +description: account_getAccountTTL parameters, return type and example +--- +## Method: account\_getAccountTTL +[Back to methods index](index.md) + + + + +### Return type: [AccountDaysTTL](../types/AccountDaysTTL.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$AccountDaysTTL = $MadelineProto->account->getAccountTTL(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getAuthorizations.md b/docs/old/API_docs_v55/methods/account_getAuthorizations.md new file mode 100644 index 00000000..889b01ab --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: account_getAuthorizations +description: account_getAuthorizations parameters, return type and example +--- +## Method: account\_getAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [account\_Authorizations](../types/account_Authorizations.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Authorizations = $MadelineProto->account->getAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getNotifySettings.md b/docs/old/API_docs_v55/methods/account_getNotifySettings.md new file mode 100644 index 00000000..158882a3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getNotifySettings.md @@ -0,0 +1,37 @@ +--- +title: account_getNotifySettings +description: account_getNotifySettings parameters, return type and example +--- +## Method: account\_getNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| + + +### Return type: [PeerNotifySettings](../types/PeerNotifySettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getPassword.md b/docs/old/API_docs_v55/methods/account_getPassword.md new file mode 100644 index 00000000..2604bba5 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getPassword.md @@ -0,0 +1,32 @@ +--- +title: account_getPassword +description: account_getPassword parameters, return type and example +--- +## Method: account\_getPassword +[Back to methods index](index.md) + + + + +### Return type: [account\_Password](../types/account_Password.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_Password = $MadelineProto->account->getPassword(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getPasswordSettings.md b/docs/old/API_docs_v55/methods/account_getPasswordSettings.md new file mode 100644 index 00000000..5d3a3b1d --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getPasswordSettings.md @@ -0,0 +1,37 @@ +--- +title: account_getPasswordSettings +description: account_getPasswordSettings parameters, return type and example +--- +## Method: account\_getPasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [account\_PasswordSettings](../types/account_PasswordSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getPrivacy.md b/docs/old/API_docs_v55/methods/account_getPrivacy.md new file mode 100644 index 00000000..19efe04b --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getPrivacy.md @@ -0,0 +1,37 @@ +--- +title: account_getPrivacy +description: account_getPrivacy parameters, return type and example +--- +## Method: account\_getPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_getWallPapers.md b/docs/old/API_docs_v55/methods/account_getWallPapers.md new file mode 100644 index 00000000..350fe01e --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_getWallPapers.md @@ -0,0 +1,32 @@ +--- +title: account_getWallPapers +description: account_getWallPapers parameters, return type and example +--- +## Method: account\_getWallPapers +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_WallPaper](../types/WallPaper.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_WallPaper = $MadelineProto->account->getWallPapers(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_registerDevice.md b/docs/old/API_docs_v55/methods/account_registerDevice.md new file mode 100644 index 00000000..8bbd8756 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_registerDevice.md @@ -0,0 +1,38 @@ +--- +title: account_registerDevice +description: account_registerDevice parameters, return type and example +--- +## Method: account\_registerDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_reportPeer.md b/docs/old/API_docs_v55/methods/account_reportPeer.md new file mode 100644 index 00000000..ec2a3db1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_reportPeer.md @@ -0,0 +1,38 @@ +--- +title: account_reportPeer +description: account_reportPeer parameters, return type and example +--- +## Method: account\_reportPeer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reason|[ReportReason](../types/ReportReason.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_resetAuthorization.md b/docs/old/API_docs_v55/methods/account_resetAuthorization.md new file mode 100644 index 00000000..f7be9b89 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_resetAuthorization.md @@ -0,0 +1,37 @@ +--- +title: account_resetAuthorization +description: account_resetAuthorization parameters, return type and example +--- +## Method: account\_resetAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_resetNotifySettings.md b/docs/old/API_docs_v55/methods/account_resetNotifySettings.md new file mode 100644 index 00000000..edf89b11 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_resetNotifySettings.md @@ -0,0 +1,32 @@ +--- +title: account_resetNotifySettings +description: account_resetNotifySettings parameters, return type and example +--- +## Method: account\_resetNotifySettings +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->resetNotifySettings(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_sendChangePhoneCode.md b/docs/old/API_docs_v55/methods/account_sendChangePhoneCode.md new file mode 100644 index 00000000..0d767c8b --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_sendChangePhoneCode.md @@ -0,0 +1,39 @@ +--- +title: account_sendChangePhoneCode +description: account_sendChangePhoneCode parameters, return type and example +--- +## Method: account\_sendChangePhoneCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/account_sendConfirmPhoneCode.md b/docs/old/API_docs_v55/methods/account_sendConfirmPhoneCode.md similarity index 100% rename from docs/API_docs_55/methods/account_sendConfirmPhoneCode.md rename to docs/old/API_docs_v55/methods/account_sendConfirmPhoneCode.md diff --git a/docs/old/API_docs_v55/methods/account_setAccountTTL.md b/docs/old/API_docs_v55/methods/account_setAccountTTL.md new file mode 100644 index 00000000..f778cbc3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_setAccountTTL.md @@ -0,0 +1,37 @@ +--- +title: account_setAccountTTL +description: account_setAccountTTL parameters, return type and example +--- +## Method: account\_setAccountTTL +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|ttl|[AccountDaysTTL](../types/AccountDaysTTL.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_setPrivacy.md b/docs/old/API_docs_v55/methods/account_setPrivacy.md new file mode 100644 index 00000000..4459f7d9 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_setPrivacy.md @@ -0,0 +1,38 @@ +--- +title: account_setPrivacy +description: account_setPrivacy parameters, return type and example +--- +## Method: account\_setPrivacy +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|key|[InputPrivacyKey](../types/InputPrivacyKey.md) | Required| +|rules|Array of [InputPrivacyRule](../types/InputPrivacyRule.md) | Required| + + +### Return type: [account\_PrivacyRules](../types/account_PrivacyRules.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_unregisterDevice.md b/docs/old/API_docs_v55/methods/account_unregisterDevice.md new file mode 100644 index 00000000..638ed69d --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_unregisterDevice.md @@ -0,0 +1,38 @@ +--- +title: account_unregisterDevice +description: account_unregisterDevice parameters, return type and example +--- +## Method: account\_unregisterDevice +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|token\_type|[int](../types/int.md) | Required| +|token|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updateDeviceLocked.md b/docs/old/API_docs_v55/methods/account_updateDeviceLocked.md new file mode 100644 index 00000000..79ef3731 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updateDeviceLocked.md @@ -0,0 +1,37 @@ +--- +title: account_updateDeviceLocked +description: account_updateDeviceLocked parameters, return type and example +--- +## Method: account\_updateDeviceLocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|period|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updateNotifySettings.md b/docs/old/API_docs_v55/methods/account_updateNotifySettings.md new file mode 100644 index 00000000..9507ce08 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updateNotifySettings.md @@ -0,0 +1,38 @@ +--- +title: account_updateNotifySettings +description: account_updateNotifySettings parameters, return type and example +--- +## Method: account\_updateNotifySettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputNotifyPeer](../types/InputNotifyPeer.md) | Required| +|settings|[InputPeerNotifySettings](../types/InputPeerNotifySettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updatePasswordSettings.md b/docs/old/API_docs_v55/methods/account_updatePasswordSettings.md new file mode 100644 index 00000000..f1dd9b84 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updatePasswordSettings.md @@ -0,0 +1,38 @@ +--- +title: account_updatePasswordSettings +description: account_updatePasswordSettings parameters, return type and example +--- +## Method: account\_updatePasswordSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|current\_password\_hash|[bytes](../types/bytes.md) | Required| +|new\_settings|[account\_PasswordInputSettings](../types/account_PasswordInputSettings.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updateProfile.md b/docs/old/API_docs_v55/methods/account_updateProfile.md new file mode 100644 index 00000000..8076a484 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updateProfile.md @@ -0,0 +1,39 @@ +--- +title: account_updateProfile +description: account_updateProfile parameters, return type and example +--- +## Method: account\_updateProfile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|first\_name|[string](../types/string.md) | Optional| +|last\_name|[string](../types/string.md) | Optional| +|about|[string](../types/string.md) | Optional| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updateStatus.md b/docs/old/API_docs_v55/methods/account_updateStatus.md new file mode 100644 index 00000000..c130e5ab --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updateStatus.md @@ -0,0 +1,37 @@ +--- +title: account_updateStatus +description: account_updateStatus parameters, return type and example +--- +## Method: account\_updateStatus +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offline|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/account_updateUsername.md b/docs/old/API_docs_v55/methods/account_updateUsername.md new file mode 100644 index 00000000..22e31b43 --- /dev/null +++ b/docs/old/API_docs_v55/methods/account_updateUsername.md @@ -0,0 +1,37 @@ +--- +title: account_updateUsername +description: account_updateUsername parameters, return type and example +--- +## Method: account\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->account->updateUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_bindTempAuthKey.md b/docs/old/API_docs_v55/methods/auth_bindTempAuthKey.md new file mode 100644 index 00000000..9fec7643 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_bindTempAuthKey.md @@ -0,0 +1,40 @@ +--- +title: auth_bindTempAuthKey +description: auth_bindTempAuthKey parameters, return type and example +--- +## Method: auth\_bindTempAuthKey +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|perm\_auth\_key\_id|[long](../types/long.md) | Required| +|nonce|[long](../types/long.md) | Required| +|expires\_at|[int](../types/int.md) | Required| +|encrypted\_message|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_cancelCode.md b/docs/old/API_docs_v55/methods/auth_cancelCode.md new file mode 100644 index 00000000..090e1386 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_cancelCode.md @@ -0,0 +1,38 @@ +--- +title: auth_cancelCode +description: auth_cancelCode parameters, return type and example +--- +## Method: auth\_cancelCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_checkPassword.md b/docs/old/API_docs_v55/methods/auth_checkPassword.md new file mode 100644 index 00000000..5becf2bd --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_checkPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPassword +description: auth_checkPassword parameters, return type and example +--- +## Method: auth\_checkPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|password\_hash|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_checkPhone.md b/docs/old/API_docs_v55/methods/auth_checkPhone.md new file mode 100644 index 00000000..4f505fb8 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_checkPhone.md @@ -0,0 +1,37 @@ +--- +title: auth_checkPhone +description: auth_checkPhone parameters, return type and example +--- +## Method: auth\_checkPhone +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| + + +### Return type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_exportAuthorization.md b/docs/old/API_docs_v55/methods/auth_exportAuthorization.md new file mode 100644 index 00000000..08069550 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_exportAuthorization.md @@ -0,0 +1,37 @@ +--- +title: auth_exportAuthorization +description: auth_exportAuthorization parameters, return type and example +--- +## Method: auth\_exportAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|dc\_id|[int](../types/int.md) | Required| + + +### Return type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_importAuthorization.md b/docs/old/API_docs_v55/methods/auth_importAuthorization.md new file mode 100644 index 00000000..085d3f07 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_importAuthorization.md @@ -0,0 +1,38 @@ +--- +title: auth_importAuthorization +description: auth_importAuthorization parameters, return type and example +--- +## Method: auth\_importAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_importBotAuthorization.md b/docs/old/API_docs_v55/methods/auth_importBotAuthorization.md new file mode 100644 index 00000000..5ca247c1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_importBotAuthorization.md @@ -0,0 +1,39 @@ +--- +title: auth_importBotAuthorization +description: auth_importBotAuthorization parameters, return type and example +--- +## Method: auth\_importBotAuthorization +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| +|bot\_auth\_token|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_logOut.md b/docs/old/API_docs_v55/methods/auth_logOut.md new file mode 100644 index 00000000..06ec11b3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_logOut.md @@ -0,0 +1,32 @@ +--- +title: auth_logOut +description: auth_logOut parameters, return type and example +--- +## Method: auth\_logOut +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->logOut(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_recoverPassword.md b/docs/old/API_docs_v55/methods/auth_recoverPassword.md new file mode 100644 index 00000000..33fd30f7 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_recoverPassword.md @@ -0,0 +1,37 @@ +--- +title: auth_recoverPassword +description: auth_recoverPassword parameters, return type and example +--- +## Method: auth\_recoverPassword +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_requestPasswordRecovery.md b/docs/old/API_docs_v55/methods/auth_requestPasswordRecovery.md new file mode 100644 index 00000000..2126d4d9 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_requestPasswordRecovery.md @@ -0,0 +1,32 @@ +--- +title: auth_requestPasswordRecovery +description: auth_requestPasswordRecovery parameters, return type and example +--- +## Method: auth\_requestPasswordRecovery +[Back to methods index](index.md) + + + + +### Return type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_resendCode.md b/docs/old/API_docs_v55/methods/auth_resendCode.md new file mode 100644 index 00000000..ad47ec76 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_resendCode.md @@ -0,0 +1,38 @@ +--- +title: auth_resendCode +description: auth_resendCode parameters, return type and example +--- +## Method: auth\_resendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_resetAuthorizations.md b/docs/old/API_docs_v55/methods/auth_resetAuthorizations.md new file mode 100644 index 00000000..1f4213fb --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_resetAuthorizations.md @@ -0,0 +1,32 @@ +--- +title: auth_resetAuthorizations +description: auth_resetAuthorizations parameters, return type and example +--- +## Method: auth\_resetAuthorizations +[Back to methods index](index.md) + + + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->resetAuthorizations(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_sendCode.md b/docs/old/API_docs_v55/methods/auth_sendCode.md new file mode 100644 index 00000000..d7d821c6 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_sendCode.md @@ -0,0 +1,41 @@ +--- +title: auth_sendCode +description: auth_sendCode parameters, return type and example +--- +## Method: auth\_sendCode +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|allow\_flashcall|[Bool](../types/Bool.md) | Optional| +|phone\_number|[string](../types/string.md) | Required| +|current\_number|[Bool](../types/Bool.md) | Optional| +|api\_id|[int](../types/int.md) | Required| +|api\_hash|[string](../types/string.md) | Required| + + +### Return type: [auth\_SentCode](../types/auth_SentCode.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_sendInvites.md b/docs/old/API_docs_v55/methods/auth_sendInvites.md new file mode 100644 index 00000000..f1b14d68 --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_sendInvites.md @@ -0,0 +1,38 @@ +--- +title: auth_sendInvites +description: auth_sendInvites parameters, return type and example +--- +## Method: auth\_sendInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_numbers|Array of [string](../types/string.md) | Required| +|message|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_signIn.md b/docs/old/API_docs_v55/methods/auth_signIn.md new file mode 100644 index 00000000..9ea95d2b --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_signIn.md @@ -0,0 +1,39 @@ +--- +title: auth_signIn +description: auth_signIn parameters, return type and example +--- +## Method: auth\_signIn +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/auth_signUp.md b/docs/old/API_docs_v55/methods/auth_signUp.md new file mode 100644 index 00000000..6b847d5f --- /dev/null +++ b/docs/old/API_docs_v55/methods/auth_signUp.md @@ -0,0 +1,41 @@ +--- +title: auth_signUp +description: auth_signUp parameters, return type and example +--- +## Method: auth\_signUp +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|phone\_number|[string](../types/string.md) | Required| +|phone\_code\_hash|[string](../types/string.md) | Required| +|phone\_code|[string](../types/string.md) | Required| +|first\_name|[string](../types/string.md) | Required| +|last\_name|[string](../types/string.md) | Required| + + +### Return type: [auth\_Authorization](../types/auth_Authorization.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_checkUsername.md b/docs/old/API_docs_v55/methods/channels_checkUsername.md new file mode 100644 index 00000000..14712d9e --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_checkUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_checkUsername +description: channels_checkUsername parameters, return type and example +--- +## Method: channels\_checkUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_createChannel.md b/docs/old/API_docs_v55/methods/channels_createChannel.md new file mode 100644 index 00000000..1464d196 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_createChannel.md @@ -0,0 +1,40 @@ +--- +title: channels_createChannel +description: channels_createChannel parameters, return type and example +--- +## Method: channels\_createChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|broadcast|[Bool](../types/Bool.md) | Optional| +|megagroup|[Bool](../types/Bool.md) | Optional| +|title|[string](../types/string.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_deleteChannel.md b/docs/old/API_docs_v55/methods/channels_deleteChannel.md new file mode 100644 index 00000000..f8258a9b --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_deleteChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_deleteChannel +description: channels_deleteChannel parameters, return type and example +--- +## Method: channels\_deleteChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_deleteMessages.md b/docs/old/API_docs_v55/methods/channels_deleteMessages.md new file mode 100644 index 00000000..1ae4e3f7 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_deleteMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteMessages +description: channels_deleteMessages parameters, return type and example +--- +## Method: channels\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_deleteUserHistory.md b/docs/old/API_docs_v55/methods/channels_deleteUserHistory.md new file mode 100644 index 00000000..f7ba739a --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_deleteUserHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_deleteUserHistory +description: channels_deleteUserHistory parameters, return type and example +--- +## Method: channels\_deleteUserHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_editAbout.md b/docs/old/API_docs_v55/methods/channels_editAbout.md new file mode 100644 index 00000000..77b39b6d --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_editAbout.md @@ -0,0 +1,38 @@ +--- +title: channels_editAbout +description: channels_editAbout parameters, return type and example +--- +## Method: channels\_editAbout +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|about|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_editAdmin.md b/docs/old/API_docs_v55/methods/channels_editAdmin.md new file mode 100644 index 00000000..ec2492af --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_editAdmin.md @@ -0,0 +1,39 @@ +--- +title: channels_editAdmin +description: channels_editAdmin parameters, return type and example +--- +## Method: channels\_editAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_editPhoto.md b/docs/old/API_docs_v55/methods/channels_editPhoto.md new file mode 100644 index 00000000..3dd965f0 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_editPhoto.md @@ -0,0 +1,38 @@ +--- +title: channels_editPhoto +description: channels_editPhoto parameters, return type and example +--- +## Method: channels\_editPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_editTitle.md b/docs/old/API_docs_v55/methods/channels_editTitle.md new file mode 100644 index 00000000..8f719d4e --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_editTitle.md @@ -0,0 +1,38 @@ +--- +title: channels_editTitle +description: channels_editTitle parameters, return type and example +--- +## Method: channels\_editTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_exportInvite.md b/docs/old/API_docs_v55/methods/channels_exportInvite.md new file mode 100644 index 00000000..e978afde --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_exportInvite.md @@ -0,0 +1,37 @@ +--- +title: channels_exportInvite +description: channels_exportInvite parameters, return type and example +--- +## Method: channels\_exportInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_exportMessageLink.md b/docs/old/API_docs_v55/methods/channels_exportMessageLink.md new file mode 100644 index 00000000..4c4d4b61 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_exportMessageLink.md @@ -0,0 +1,38 @@ +--- +title: channels_exportMessageLink +description: channels_exportMessageLink parameters, return type and example +--- +## Method: channels\_exportMessageLink +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [ExportedMessageLink](../types/ExportedMessageLink.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_getChannels.md b/docs/old/API_docs_v55/methods/channels_getChannels.md new file mode 100644 index 00000000..48b25a19 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_getChannels.md @@ -0,0 +1,37 @@ +--- +title: channels_getChannels +description: channels_getChannels parameters, return type and example +--- +## Method: channels\_getChannels +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_getFullChannel.md b/docs/old/API_docs_v55/methods/channels_getFullChannel.md new file mode 100644 index 00000000..1a6ca5cc --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_getFullChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_getFullChannel +description: channels_getFullChannel parameters, return type and example +--- +## Method: channels\_getFullChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_getMessages.md b/docs/old/API_docs_v55/methods/channels_getMessages.md new file mode 100644 index 00000000..1535271f --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_getMessages.md @@ -0,0 +1,38 @@ +--- +title: channels_getMessages +description: channels_getMessages parameters, return type and example +--- +## Method: channels\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_getParticipant.md b/docs/old/API_docs_v55/methods/channels_getParticipant.md new file mode 100644 index 00000000..c94a152d --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_getParticipant.md @@ -0,0 +1,38 @@ +--- +title: channels_getParticipant +description: channels_getParticipant parameters, return type and example +--- +## Method: channels\_getParticipant +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_getParticipants.md b/docs/old/API_docs_v55/methods/channels_getParticipants.md new file mode 100644 index 00000000..6e3eecc7 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_getParticipants.md @@ -0,0 +1,40 @@ +--- +title: channels_getParticipants +description: channels_getParticipants parameters, return type and example +--- +## Method: channels\_getParticipants +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_inviteToChannel.md b/docs/old/API_docs_v55/methods/channels_inviteToChannel.md new file mode 100644 index 00000000..914ca03f --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_inviteToChannel.md @@ -0,0 +1,38 @@ +--- +title: channels_inviteToChannel +description: channels_inviteToChannel parameters, return type and example +--- +## Method: channels\_inviteToChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|users|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_joinChannel.md b/docs/old/API_docs_v55/methods/channels_joinChannel.md new file mode 100644 index 00000000..76c6a8e0 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_joinChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_joinChannel +description: channels_joinChannel parameters, return type and example +--- +## Method: channels\_joinChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_kickFromChannel.md b/docs/old/API_docs_v55/methods/channels_kickFromChannel.md new file mode 100644 index 00000000..48409587 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_kickFromChannel.md @@ -0,0 +1,39 @@ +--- +title: channels_kickFromChannel +description: channels_kickFromChannel parameters, return type and example +--- +## Method: channels\_kickFromChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|kicked|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_leaveChannel.md b/docs/old/API_docs_v55/methods/channels_leaveChannel.md new file mode 100644 index 00000000..df549a4a --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_leaveChannel.md @@ -0,0 +1,37 @@ +--- +title: channels_leaveChannel +description: channels_leaveChannel parameters, return type and example +--- +## Method: channels\_leaveChannel +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_readHistory.md b/docs/old/API_docs_v55/methods/channels_readHistory.md new file mode 100644 index 00000000..3393fe9a --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_readHistory.md @@ -0,0 +1,38 @@ +--- +title: channels_readHistory +description: channels_readHistory parameters, return type and example +--- +## Method: channels\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_reportSpam.md b/docs/old/API_docs_v55/methods/channels_reportSpam.md new file mode 100644 index 00000000..8b55336a --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_reportSpam.md @@ -0,0 +1,39 @@ +--- +title: channels_reportSpam +description: channels_reportSpam parameters, return type and example +--- +## Method: channels\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_toggleInvites.md b/docs/old/API_docs_v55/methods/channels_toggleInvites.md new file mode 100644 index 00000000..e85d7195 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_toggleInvites.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleInvites +description: channels_toggleInvites parameters, return type and example +--- +## Method: channels\_toggleInvites +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_toggleSignatures.md b/docs/old/API_docs_v55/methods/channels_toggleSignatures.md new file mode 100644 index 00000000..a2785e3e --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_toggleSignatures.md @@ -0,0 +1,38 @@ +--- +title: channels_toggleSignatures +description: channels_toggleSignatures parameters, return type and example +--- +## Method: channels\_toggleSignatures +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_updatePinnedMessage.md b/docs/old/API_docs_v55/methods/channels_updatePinnedMessage.md new file mode 100644 index 00000000..79909c6b --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_updatePinnedMessage.md @@ -0,0 +1,39 @@ +--- +title: channels_updatePinnedMessage +description: channels_updatePinnedMessage parameters, return type and example +--- +## Method: channels\_updatePinnedMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/channels_updateUsername.md b/docs/old/API_docs_v55/methods/channels_updateUsername.md new file mode 100644 index 00000000..9cd671a4 --- /dev/null +++ b/docs/old/API_docs_v55/methods/channels_updateUsername.md @@ -0,0 +1,38 @@ +--- +title: channels_updateUsername +description: channels_updateUsername parameters, return type and example +--- +## Method: channels\_updateUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|username|[string](../types/string.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_block.md b/docs/old/API_docs_v55/methods/contacts_block.md new file mode 100644 index 00000000..bfcfedde --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_block.md @@ -0,0 +1,37 @@ +--- +title: contacts_block +description: contacts_block parameters, return type and example +--- +## Method: contacts\_block +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_deleteContact.md b/docs/old/API_docs_v55/methods/contacts_deleteContact.md new file mode 100644 index 00000000..16395b67 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_deleteContact.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContact +description: contacts_deleteContact parameters, return type and example +--- +## Method: contacts\_deleteContact +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [contacts\_Link](../types/contacts_Link.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_deleteContacts.md b/docs/old/API_docs_v55/methods/contacts_deleteContacts.md new file mode 100644 index 00000000..bc403ee9 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_deleteContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_deleteContacts +description: contacts_deleteContacts parameters, return type and example +--- +## Method: contacts\_deleteContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_exportCard.md b/docs/old/API_docs_v55/methods/contacts_exportCard.md new file mode 100644 index 00000000..adefa30d --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_exportCard.md @@ -0,0 +1,32 @@ +--- +title: contacts_exportCard +description: contacts_exportCard parameters, return type and example +--- +## Method: contacts\_exportCard +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->contacts->exportCard(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_getBlocked.md b/docs/old/API_docs_v55/methods/contacts_getBlocked.md new file mode 100644 index 00000000..42ca81cc --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_getBlocked.md @@ -0,0 +1,38 @@ +--- +title: contacts_getBlocked +description: contacts_getBlocked parameters, return type and example +--- +## Method: contacts\_getBlocked +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Blocked](../types/contacts_Blocked.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_getContacts.md b/docs/old/API_docs_v55/methods/contacts_getContacts.md new file mode 100644 index 00000000..16d26f6c --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_getContacts.md @@ -0,0 +1,37 @@ +--- +title: contacts_getContacts +description: contacts_getContacts parameters, return type and example +--- +## Method: contacts\_getContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [contacts\_Contacts](../types/contacts_Contacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_getStatuses.md b/docs/old/API_docs_v55/methods/contacts_getStatuses.md new file mode 100644 index 00000000..9ce03e57 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_getStatuses.md @@ -0,0 +1,32 @@ +--- +title: contacts_getStatuses +description: contacts_getStatuses parameters, return type and example +--- +## Method: contacts\_getStatuses +[Back to methods index](index.md) + + + + +### Return type: [Vector\_of\_ContactStatus](../types/ContactStatus.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_getTopPeers.md b/docs/old/API_docs_v55/methods/contacts_getTopPeers.md new file mode 100644 index 00000000..c054df70 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_getTopPeers.md @@ -0,0 +1,44 @@ +--- +title: contacts_getTopPeers +description: contacts_getTopPeers parameters, return type and example +--- +## Method: contacts\_getTopPeers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|correspondents|[Bool](../types/Bool.md) | Optional| +|bots\_pm|[Bool](../types/Bool.md) | Optional| +|bots\_inline|[Bool](../types/Bool.md) | Optional| +|groups|[Bool](../types/Bool.md) | Optional| +|channels|[Bool](../types/Bool.md) | Optional| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|hash|[int](../types/int.md) | Required| + + +### Return type: [contacts\_TopPeers](../types/contacts_TopPeers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_importCard.md b/docs/old/API_docs_v55/methods/contacts_importCard.md new file mode 100644 index 00000000..23e33156 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_importCard.md @@ -0,0 +1,37 @@ +--- +title: contacts_importCard +description: contacts_importCard parameters, return type and example +--- +## Method: contacts\_importCard +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|export\_card|Array of [int](../types/int.md) | Required| + + +### Return type: [User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_importContacts.md b/docs/old/API_docs_v55/methods/contacts_importContacts.md new file mode 100644 index 00000000..e8270460 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_importContacts.md @@ -0,0 +1,38 @@ +--- +title: contacts_importContacts +description: contacts_importContacts parameters, return type and example +--- +## Method: contacts\_importContacts +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputContact](../types/InputContact.md) | Required| +|replace|[Bool](../types/Bool.md) | Required| + + +### Return type: [contacts\_ImportedContacts](../types/contacts_ImportedContacts.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_resetTopPeerRating.md b/docs/old/API_docs_v55/methods/contacts_resetTopPeerRating.md new file mode 100644 index 00000000..2d1faea8 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_resetTopPeerRating.md @@ -0,0 +1,38 @@ +--- +title: contacts_resetTopPeerRating +description: contacts_resetTopPeerRating parameters, return type and example +--- +## Method: contacts\_resetTopPeerRating +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|category|[TopPeerCategory](../types/TopPeerCategory.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_resolveUsername.md b/docs/old/API_docs_v55/methods/contacts_resolveUsername.md new file mode 100644 index 00000000..3aa2adaa --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_resolveUsername.md @@ -0,0 +1,37 @@ +--- +title: contacts_resolveUsername +description: contacts_resolveUsername parameters, return type and example +--- +## Method: contacts\_resolveUsername +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|username|[string](../types/string.md) | Required| + + +### Return type: [contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_search.md b/docs/old/API_docs_v55/methods/contacts_search.md new file mode 100644 index 00000000..fcf9bcd2 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_search.md @@ -0,0 +1,38 @@ +--- +title: contacts_search +description: contacts_search parameters, return type and example +--- +## Method: contacts\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [contacts\_Found](../types/contacts_Found.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/contacts_unblock.md b/docs/old/API_docs_v55/methods/contacts_unblock.md new file mode 100644 index 00000000..2f4db066 --- /dev/null +++ b/docs/old/API_docs_v55/methods/contacts_unblock.md @@ -0,0 +1,37 @@ +--- +title: contacts_unblock +description: contacts_unblock parameters, return type and example +--- +## Method: contacts\_unblock +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getAppChangelog.md b/docs/old/API_docs_v55/methods/help_getAppChangelog.md new file mode 100644 index 00000000..dd6553e9 --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getAppChangelog.md @@ -0,0 +1,32 @@ +--- +title: help_getAppChangelog +description: help_getAppChangelog parameters, return type and example +--- +## Method: help\_getAppChangelog +[Back to methods index](index.md) + + + + +### Return type: [help\_AppChangelog](../types/help_AppChangelog.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppChangelog = $MadelineProto->help->getAppChangelog(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getAppUpdate.md b/docs/old/API_docs_v55/methods/help_getAppUpdate.md new file mode 100644 index 00000000..acfae6c6 --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getAppUpdate.md @@ -0,0 +1,32 @@ +--- +title: help_getAppUpdate +description: help_getAppUpdate parameters, return type and example +--- +## Method: help\_getAppUpdate +[Back to methods index](index.md) + + + + +### Return type: [help\_AppUpdate](../types/help_AppUpdate.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_AppUpdate = $MadelineProto->help->getAppUpdate(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getConfig.md b/docs/old/API_docs_v55/methods/help_getConfig.md new file mode 100644 index 00000000..3389764d --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getConfig.md @@ -0,0 +1,32 @@ +--- +title: help_getConfig +description: help_getConfig parameters, return type and example +--- +## Method: help\_getConfig +[Back to methods index](index.md) + + + + +### Return type: [Config](../types/Config.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Config = $MadelineProto->help->getConfig(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getInviteText.md b/docs/old/API_docs_v55/methods/help_getInviteText.md new file mode 100644 index 00000000..93663b07 --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getInviteText.md @@ -0,0 +1,32 @@ +--- +title: help_getInviteText +description: help_getInviteText parameters, return type and example +--- +## Method: help\_getInviteText +[Back to methods index](index.md) + + + + +### Return type: [help\_InviteText](../types/help_InviteText.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_InviteText = $MadelineProto->help->getInviteText(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getNearestDc.md b/docs/old/API_docs_v55/methods/help_getNearestDc.md new file mode 100644 index 00000000..4151e46c --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getNearestDc.md @@ -0,0 +1,32 @@ +--- +title: help_getNearestDc +description: help_getNearestDc parameters, return type and example +--- +## Method: help\_getNearestDc +[Back to methods index](index.md) + + + + +### Return type: [NearestDc](../types/NearestDc.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$NearestDc = $MadelineProto->help->getNearestDc(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getSupport.md b/docs/old/API_docs_v55/methods/help_getSupport.md new file mode 100644 index 00000000..5b7ad3e3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getSupport.md @@ -0,0 +1,32 @@ +--- +title: help_getSupport +description: help_getSupport parameters, return type and example +--- +## Method: help\_getSupport +[Back to methods index](index.md) + + + + +### Return type: [help\_Support](../types/help_Support.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_Support = $MadelineProto->help->getSupport(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_getTermsOfService.md b/docs/old/API_docs_v55/methods/help_getTermsOfService.md new file mode 100644 index 00000000..a49d3d3f --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_getTermsOfService.md @@ -0,0 +1,32 @@ +--- +title: help_getTermsOfService +description: help_getTermsOfService parameters, return type and example +--- +## Method: help\_getTermsOfService +[Back to methods index](index.md) + + + + +### Return type: [help\_TermsOfService](../types/help_TermsOfService.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$help_TermsOfService = $MadelineProto->help->getTermsOfService(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/help_saveAppLog.md b/docs/old/API_docs_v55/methods/help_saveAppLog.md new file mode 100644 index 00000000..dc45cdd5 --- /dev/null +++ b/docs/old/API_docs_v55/methods/help_saveAppLog.md @@ -0,0 +1,37 @@ +--- +title: help_saveAppLog +description: help_saveAppLog parameters, return type and example +--- +## Method: help\_saveAppLog +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|events|Array of [InputAppEvent](../types/InputAppEvent.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/index.md b/docs/old/API_docs_v55/methods/index.md similarity index 100% rename from docs/API_docs_55/methods/index.md rename to docs/old/API_docs_v55/methods/index.md diff --git a/docs/old/API_docs_v55/methods/initConnection.md b/docs/old/API_docs_v55/methods/initConnection.md new file mode 100644 index 00000000..3d3f7d74 --- /dev/null +++ b/docs/old/API_docs_v55/methods/initConnection.md @@ -0,0 +1,42 @@ +--- +title: initConnection +description: initConnection parameters, return type and example +--- +## Method: initConnection +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|api\_id|[int](../types/int.md) | Required| +|device\_model|[string](../types/string.md) | Required| +|system\_version|[string](../types/string.md) | Required| +|app\_version|[string](../types/string.md) | Required| +|lang\_code|[string](../types/string.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/invokeAfterMsg.md b/docs/old/API_docs_v55/methods/invokeAfterMsg.md new file mode 100644 index 00000000..eb99ff09 --- /dev/null +++ b/docs/old/API_docs_v55/methods/invokeAfterMsg.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsg +description: invokeAfterMsg parameters, return type and example +--- +## Method: invokeAfterMsg +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_id|[long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsg(['msg_id' => long, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/invokeAfterMsgs.md b/docs/old/API_docs_v55/methods/invokeAfterMsgs.md new file mode 100644 index 00000000..fe66e41c --- /dev/null +++ b/docs/old/API_docs_v55/methods/invokeAfterMsgs.md @@ -0,0 +1,38 @@ +--- +title: invokeAfterMsgs +description: invokeAfterMsgs parameters, return type and example +--- +## Method: invokeAfterMsgs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|msg\_ids|Array of [long](../types/long.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeAfterMsgs(['msg_ids' => [long], 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/invokeWithLayer.md b/docs/old/API_docs_v55/methods/invokeWithLayer.md new file mode 100644 index 00000000..3b193626 --- /dev/null +++ b/docs/old/API_docs_v55/methods/invokeWithLayer.md @@ -0,0 +1,38 @@ +--- +title: invokeWithLayer +description: invokeWithLayer parameters, return type and example +--- +## Method: invokeWithLayer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|layer|[int](../types/int.md) | Required| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithLayer(['layer' => int, 'query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/invokeWithoutUpdates.md b/docs/old/API_docs_v55/methods/invokeWithoutUpdates.md new file mode 100644 index 00000000..dfd69f8a --- /dev/null +++ b/docs/old/API_docs_v55/methods/invokeWithoutUpdates.md @@ -0,0 +1,37 @@ +--- +title: invokeWithoutUpdates +description: invokeWithoutUpdates parameters, return type and example +--- +## Method: invokeWithoutUpdates +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|query|[!X](../types/!X.md) | Required| + + +### Return type: [X](../types/X.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$X = $MadelineProto->invokeWithoutUpdates(['query' => !X, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_acceptEncryption.md b/docs/old/API_docs_v55/methods/messages_acceptEncryption.md new file mode 100644 index 00000000..30bc0f55 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_acceptEncryption.md @@ -0,0 +1,39 @@ +--- +title: messages_acceptEncryption +description: messages_acceptEncryption parameters, return type and example +--- +## Method: messages\_acceptEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|g\_b|[bytes](../types/bytes.md) | Required| +|key\_fingerprint|[long](../types/long.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_addChatUser.md b/docs/old/API_docs_v55/methods/messages_addChatUser.md new file mode 100644 index 00000000..c34fe295 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_addChatUser.md @@ -0,0 +1,39 @@ +--- +title: messages_addChatUser +description: messages_addChatUser parameters, return type and example +--- +## Method: messages\_addChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|fwd\_limit|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_checkChatInvite.md b/docs/old/API_docs_v55/methods/messages_checkChatInvite.md new file mode 100644 index 00000000..78498741 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_checkChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_checkChatInvite +description: messages_checkChatInvite parameters, return type and example +--- +## Method: messages\_checkChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [ChatInvite](../types/ChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_clearRecentStickers.md b/docs/old/API_docs_v55/methods/messages_clearRecentStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_clearRecentStickers.md rename to docs/old/API_docs_v55/methods/messages_clearRecentStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_createChat.md b/docs/old/API_docs_v55/methods/messages_createChat.md new file mode 100644 index 00000000..fe19f7d1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_createChat.md @@ -0,0 +1,38 @@ +--- +title: messages_createChat +description: messages_createChat parameters, return type and example +--- +## Method: messages\_createChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|users|Array of [InputUser](../types/InputUser.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_deleteChatUser.md b/docs/old/API_docs_v55/methods/messages_deleteChatUser.md new file mode 100644 index 00000000..50b4177e --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_deleteChatUser.md @@ -0,0 +1,38 @@ +--- +title: messages_deleteChatUser +description: messages_deleteChatUser parameters, return type and example +--- +## Method: messages\_deleteChatUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_deleteHistory.md b/docs/old/API_docs_v55/methods/messages_deleteHistory.md new file mode 100644 index 00000000..31b11a96 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_deleteHistory.md @@ -0,0 +1,39 @@ +--- +title: messages_deleteHistory +description: messages_deleteHistory parameters, return type and example +--- +## Method: messages\_deleteHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|just\_clear|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_deleteMessages.md b/docs/old/API_docs_v55/methods/messages_deleteMessages.md new file mode 100644 index 00000000..1b90d1a8 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_deleteMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_deleteMessages +description: messages_deleteMessages parameters, return type and example +--- +## Method: messages\_deleteMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->deleteMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_discardEncryption.md b/docs/old/API_docs_v55/methods/messages_discardEncryption.md new file mode 100644 index 00000000..2f5f6f79 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_discardEncryption.md @@ -0,0 +1,37 @@ +--- +title: messages_discardEncryption +description: messages_discardEncryption parameters, return type and example +--- +## Method: messages\_discardEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->discardEncryption(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_editChatAdmin.md b/docs/old/API_docs_v55/methods/messages_editChatAdmin.md new file mode 100644 index 00000000..85c8c379 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_editChatAdmin.md @@ -0,0 +1,39 @@ +--- +title: messages_editChatAdmin +description: messages_editChatAdmin parameters, return type and example +--- +## Method: messages\_editChatAdmin +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|is\_admin|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editChatAdmin(['chat_id' => int, 'user_id' => InputUser, 'is_admin' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_editChatPhoto.md b/docs/old/API_docs_v55/methods/messages_editChatPhoto.md new file mode 100644 index 00000000..b66d2d56 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_editChatPhoto.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatPhoto +description: messages_editChatPhoto parameters, return type and example +--- +## Method: messages\_editChatPhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|photo|[InputChatPhoto](../types/InputChatPhoto.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatPhoto(['chat_id' => int, 'photo' => InputChatPhoto, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_editChatTitle.md b/docs/old/API_docs_v55/methods/messages_editChatTitle.md new file mode 100644 index 00000000..b4abfc52 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_editChatTitle.md @@ -0,0 +1,38 @@ +--- +title: messages_editChatTitle +description: messages_editChatTitle parameters, return type and example +--- +## Method: messages\_editChatTitle +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|title|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editChatTitle(['chat_id' => int, 'title' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_editInlineBotMessage.md b/docs/old/API_docs_v55/methods/messages_editInlineBotMessage.md new file mode 100644 index 00000000..03c0a08a --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_editInlineBotMessage.md @@ -0,0 +1,41 @@ +--- +title: messages_editInlineBotMessage +description: messages_editInlineBotMessage parameters, return type and example +--- +## Method: messages\_editInlineBotMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|id|[InputBotInlineMessageID](../types/InputBotInlineMessageID.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->editInlineBotMessage(['no_webpage' => Bool, 'id' => InputBotInlineMessageID, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_editMessage.md b/docs/old/API_docs_v55/methods/messages_editMessage.md new file mode 100644 index 00000000..6aaa666a --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_editMessage.md @@ -0,0 +1,42 @@ +--- +title: messages_editMessage +description: messages_editMessage parameters, return type and example +--- +## Method: messages\_editMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| +|message|[string](../types/string.md) | Optional| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_exportChatInvite.md b/docs/old/API_docs_v55/methods/messages_exportChatInvite.md new file mode 100644 index 00000000..c0bfdf30 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_exportChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_exportChatInvite +description: messages_exportChatInvite parameters, return type and example +--- +## Method: messages\_exportChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$ExportedChatInvite = $MadelineProto->messages->exportChatInvite(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_forwardMessage.md b/docs/old/API_docs_v55/methods/messages_forwardMessage.md new file mode 100644 index 00000000..e9fa210d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_forwardMessage.md @@ -0,0 +1,38 @@ +--- +title: messages_forwardMessage +description: messages_forwardMessage parameters, return type and example +--- +## Method: messages\_forwardMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessage(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_forwardMessages.md b/docs/old/API_docs_v55/methods/messages_forwardMessages.md new file mode 100644 index 00000000..06fd1f2f --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_forwardMessages.md @@ -0,0 +1,41 @@ +--- +title: messages_forwardMessages +description: messages_forwardMessages parameters, return type and example +--- +## Method: messages\_forwardMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|from\_peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|to\_peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getAllDrafts.md b/docs/old/API_docs_v55/methods/messages_getAllDrafts.md new file mode 100644 index 00000000..3b1c2437 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getAllDrafts.md @@ -0,0 +1,32 @@ +--- +title: messages_getAllDrafts +description: messages_getAllDrafts parameters, return type and example +--- +## Method: messages\_getAllDrafts +[Back to methods index](index.md) + + + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->getAllDrafts(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getAllStickers.md b/docs/old/API_docs_v55/methods/messages_getAllStickers.md new file mode 100644 index 00000000..a9a4d8c0 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getAllStickers.md @@ -0,0 +1,37 @@ +--- +title: messages_getAllStickers +description: messages_getAllStickers parameters, return type and example +--- +## Method: messages\_getAllStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_AllStickers](../types/messages_AllStickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AllStickers = $MadelineProto->messages->getAllStickers(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getArchivedStickers.md b/docs/old/API_docs_v55/methods/messages_getArchivedStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getArchivedStickers.md rename to docs/old/API_docs_v55/methods/messages_getArchivedStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_getBotCallbackAnswer.md b/docs/old/API_docs_v55/methods/messages_getBotCallbackAnswer.md new file mode 100644 index 00000000..63e2dd6e --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getBotCallbackAnswer.md @@ -0,0 +1,39 @@ +--- +title: messages_getBotCallbackAnswer +description: messages_getBotCallbackAnswer parameters, return type and example +--- +## Method: messages\_getBotCallbackAnswer +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|msg\_id|[int](../types/int.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotCallbackAnswer = $MadelineProto->messages->getBotCallbackAnswer(['peer' => InputPeer, 'msg_id' => int, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getChats.md b/docs/old/API_docs_v55/methods/messages_getChats.md new file mode 100644 index 00000000..32bfbfa0 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getChats.md @@ -0,0 +1,37 @@ +--- +title: messages_getChats +description: messages_getChats parameters, return type and example +--- +## Method: messages\_getChats +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Chats](../types/messages_Chats.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Chats = $MadelineProto->messages->getChats(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getDhConfig.md b/docs/old/API_docs_v55/methods/messages_getDhConfig.md new file mode 100644 index 00000000..bfcd03aa --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getDhConfig.md @@ -0,0 +1,38 @@ +--- +title: messages_getDhConfig +description: messages_getDhConfig parameters, return type and example +--- +## Method: messages\_getDhConfig +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|version|[int](../types/int.md) | Required| +|random\_length|[int](../types/int.md) | Required| + + +### Return type: [messages\_DhConfig](../types/messages_DhConfig.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_DhConfig = $MadelineProto->messages->getDhConfig(['version' => int, 'random_length' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getDialogs.md b/docs/old/API_docs_v55/methods/messages_getDialogs.md new file mode 100644 index 00000000..85470cba --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getDialogs.md @@ -0,0 +1,40 @@ +--- +title: messages_getDialogs +description: messages_getDialogs parameters, return type and example +--- +## Method: messages\_getDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|offset\_date|[int](../types/int.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Dialogs](../types/messages_Dialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Dialogs = $MadelineProto->messages->getDialogs(['offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getDocumentByHash.md b/docs/old/API_docs_v55/methods/messages_getDocumentByHash.md new file mode 100644 index 00000000..9c379bae --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getDocumentByHash.md @@ -0,0 +1,39 @@ +--- +title: messages_getDocumentByHash +description: messages_getDocumentByHash parameters, return type and example +--- +## Method: messages\_getDocumentByHash +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|sha256|[bytes](../types/bytes.md) | Required| +|size|[int](../types/int.md) | Required| +|mime\_type|[string](../types/string.md) | Required| + + +### Return type: [Document](../types/Document.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Document = $MadelineProto->messages->getDocumentByHash(['sha256' => bytes, 'size' => int, 'mime_type' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getFeaturedStickers.md b/docs/old/API_docs_v55/methods/messages_getFeaturedStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getFeaturedStickers.md rename to docs/old/API_docs_v55/methods/messages_getFeaturedStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_getFullChat.md b/docs/old/API_docs_v55/methods/messages_getFullChat.md new file mode 100644 index 00000000..ce1b4aee --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getFullChat.md @@ -0,0 +1,37 @@ +--- +title: messages_getFullChat +description: messages_getFullChat parameters, return type and example +--- +## Method: messages\_getFullChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_ChatFull](../types/messages_ChatFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_ChatFull = $MadelineProto->messages->getFullChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getHistory.md b/docs/old/API_docs_v55/methods/messages_getHistory.md new file mode 100644 index 00000000..6f79903d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getHistory.md @@ -0,0 +1,43 @@ +--- +title: messages_getHistory +description: messages_getHistory parameters, return type and example +--- +## Method: messages\_getHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|add\_offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|min\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getHistory(['peer' => InputPeer, 'offset_id' => int, 'offset_date' => int, 'add_offset' => int, 'limit' => int, 'max_id' => int, 'min_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getInlineBotResults.md b/docs/old/API_docs_v55/methods/messages_getInlineBotResults.md new file mode 100644 index 00000000..d456eca9 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getInlineBotResults.md @@ -0,0 +1,41 @@ +--- +title: messages_getInlineBotResults +description: messages_getInlineBotResults parameters, return type and example +--- +## Method: messages\_getInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional| +|query|[string](../types/string.md) | Required| +|offset|[string](../types/string.md) | Required| + + +### Return type: [messages\_BotResults](../types/messages_BotResults.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_BotResults = $MadelineProto->messages->getInlineBotResults(['bot' => InputUser, 'peer' => InputPeer, 'geo_point' => InputGeoPoint, 'query' => string, 'offset' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getMessageEditData.md b/docs/old/API_docs_v55/methods/messages_getMessageEditData.md new file mode 100644 index 00000000..7669e380 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getMessageEditData.md @@ -0,0 +1,38 @@ +--- +title: messages_getMessageEditData +description: messages_getMessageEditData parameters, return type and example +--- +## Method: messages\_getMessageEditData +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|[int](../types/int.md) | Required| + + +### Return type: [messages\_MessageEditData](../types/messages_MessageEditData.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_MessageEditData = $MadelineProto->messages->getMessageEditData(['peer' => InputPeer, 'id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getMessages.md b/docs/old/API_docs_v55/methods/messages_getMessages.md new file mode 100644 index 00000000..b2bfb29d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_getMessages +description: messages_getMessages parameters, return type and example +--- +## Method: messages\_getMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->getMessages(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getMessagesViews.md b/docs/old/API_docs_v55/methods/messages_getMessagesViews.md new file mode 100644 index 00000000..119a6288 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getMessagesViews.md @@ -0,0 +1,39 @@ +--- +title: messages_getMessagesViews +description: messages_getMessagesViews parameters, return type and example +--- +## Method: messages\_getMessagesViews +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|id|Array of [int](../types/int.md) | Required| +|increment|[Bool](../types/Bool.md) | Required| + + +### Return type: [Vector\_of\_int](../types/int.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_int = $MadelineProto->messages->getMessagesViews(['peer' => InputPeer, 'id' => [int], 'increment' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getPeerDialogs.md b/docs/old/API_docs_v55/methods/messages_getPeerDialogs.md new file mode 100644 index 00000000..e87cc2f2 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getPeerDialogs.md @@ -0,0 +1,37 @@ +--- +title: messages_getPeerDialogs +description: messages_getPeerDialogs parameters, return type and example +--- +## Method: messages\_getPeerDialogs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peers|Array of [InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_PeerDialogs = $MadelineProto->messages->getPeerDialogs(['peers' => [InputPeer], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getPeerSettings.md b/docs/old/API_docs_v55/methods/messages_getPeerSettings.md new file mode 100644 index 00000000..9edbb91e --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getPeerSettings.md @@ -0,0 +1,37 @@ +--- +title: messages_getPeerSettings +description: messages_getPeerSettings parameters, return type and example +--- +## Method: messages\_getPeerSettings +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [PeerSettings](../types/PeerSettings.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$PeerSettings = $MadelineProto->messages->getPeerSettings(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getRecentStickers.md b/docs/old/API_docs_v55/methods/messages_getRecentStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getRecentStickers.md rename to docs/old/API_docs_v55/methods/messages_getRecentStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_getSavedGifs.md b/docs/old/API_docs_v55/methods/messages_getSavedGifs.md new file mode 100644 index 00000000..29aab1d1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getSavedGifs.md @@ -0,0 +1,37 @@ +--- +title: messages_getSavedGifs +description: messages_getSavedGifs parameters, return type and example +--- +## Method: messages\_getSavedGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[int](../types/int.md) | Required| + + +### Return type: [messages\_SavedGifs](../types/messages_SavedGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SavedGifs = $MadelineProto->messages->getSavedGifs(['hash' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getStickerSet.md b/docs/old/API_docs_v55/methods/messages_getStickerSet.md new file mode 100644 index 00000000..5904a26c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_getStickerSet +description: messages_getStickerSet parameters, return type and example +--- +## Method: messages\_getStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [messages\_StickerSet](../types/messages_StickerSet.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_StickerSet = $MadelineProto->messages->getStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_getStickers.md b/docs/old/API_docs_v55/methods/messages_getStickers.md new file mode 100644 index 00000000..6d059c8d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getStickers.md @@ -0,0 +1,38 @@ +--- +title: messages_getStickers +description: messages_getStickers parameters, return type and example +--- +## Method: messages\_getStickers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|emoticon|[string](../types/string.md) | Required| +|hash|[string](../types/string.md) | Required| + + +### Return type: [messages\_Stickers](../types/messages_Stickers.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Stickers = $MadelineProto->messages->getStickers(['emoticon' => string, 'hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_getUnusedStickers.md b/docs/old/API_docs_v55/methods/messages_getUnusedStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_getUnusedStickers.md rename to docs/old/API_docs_v55/methods/messages_getUnusedStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_getWebPagePreview.md b/docs/old/API_docs_v55/methods/messages_getWebPagePreview.md new file mode 100644 index 00000000..548e084c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_getWebPagePreview.md @@ -0,0 +1,37 @@ +--- +title: messages_getWebPagePreview +description: messages_getWebPagePreview parameters, return type and example +--- +## Method: messages\_getWebPagePreview +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|message|[string](../types/string.md) | Required| + + +### Return type: [MessageMedia](../types/MessageMedia.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$MessageMedia = $MadelineProto->messages->getWebPagePreview(['message' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_hideReportSpam.md b/docs/old/API_docs_v55/methods/messages_hideReportSpam.md new file mode 100644 index 00000000..5c3acb86 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_hideReportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_hideReportSpam +description: messages_hideReportSpam parameters, return type and example +--- +## Method: messages\_hideReportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->hideReportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_importChatInvite.md b/docs/old/API_docs_v55/methods/messages_importChatInvite.md new file mode 100644 index 00000000..977e247b --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_importChatInvite.md @@ -0,0 +1,37 @@ +--- +title: messages_importChatInvite +description: messages_importChatInvite parameters, return type and example +--- +## Method: messages\_importChatInvite +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|hash|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->importChatInvite(['hash' => string, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_installStickerSet.md b/docs/old/API_docs_v55/methods/messages_installStickerSet.md similarity index 100% rename from docs/API_docs_55/methods/messages_installStickerSet.md rename to docs/old/API_docs_v55/methods/messages_installStickerSet.md diff --git a/docs/old/API_docs_v55/methods/messages_migrateChat.md b/docs/old/API_docs_v55/methods/messages_migrateChat.md new file mode 100644 index 00000000..a262e2d4 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_migrateChat.md @@ -0,0 +1,37 @@ +--- +title: messages_migrateChat +description: messages_migrateChat parameters, return type and example +--- +## Method: messages\_migrateChat +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->migrateChat(['chat_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_readEncryptedHistory.md b/docs/old/API_docs_v55/methods/messages_readEncryptedHistory.md new file mode 100644 index 00000000..ccddcfbd --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_readEncryptedHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readEncryptedHistory +description: messages_readEncryptedHistory parameters, return type and example +--- +## Method: messages\_readEncryptedHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|max\_date|[int](../types/int.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->readEncryptedHistory(['peer' => InputEncryptedChat, 'max_date' => int, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_readFeaturedStickers.md b/docs/old/API_docs_v55/methods/messages_readFeaturedStickers.md similarity index 100% rename from docs/API_docs_55/methods/messages_readFeaturedStickers.md rename to docs/old/API_docs_v55/methods/messages_readFeaturedStickers.md diff --git a/docs/old/API_docs_v55/methods/messages_readHistory.md b/docs/old/API_docs_v55/methods/messages_readHistory.md new file mode 100644 index 00000000..f4f6cdc6 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_readHistory.md @@ -0,0 +1,38 @@ +--- +title: messages_readHistory +description: messages_readHistory parameters, return type and example +--- +## Method: messages\_readHistory +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readHistory(['peer' => InputPeer, 'max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_readMessageContents.md b/docs/old/API_docs_v55/methods/messages_readMessageContents.md new file mode 100644 index 00000000..8bc8c36b --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_readMessageContents.md @@ -0,0 +1,37 @@ +--- +title: messages_readMessageContents +description: messages_readMessageContents parameters, return type and example +--- +## Method: messages\_readMessageContents +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [int](../types/int.md) | Required| + + +### Return type: [messages\_AffectedMessages](../types/messages_AffectedMessages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_AffectedMessages = $MadelineProto->messages->readMessageContents(['id' => [int], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_receivedMessages.md b/docs/old/API_docs_v55/methods/messages_receivedMessages.md new file mode 100644 index 00000000..b1dd693c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_receivedMessages.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedMessages +description: messages_receivedMessages parameters, return type and example +--- +## Method: messages\_receivedMessages +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_id|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_ReceivedNotifyMessage = $MadelineProto->messages->receivedMessages(['max_id' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_receivedQueue.md b/docs/old/API_docs_v55/methods/messages_receivedQueue.md new file mode 100644 index 00000000..1be5d18c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_receivedQueue.md @@ -0,0 +1,37 @@ +--- +title: messages_receivedQueue +description: messages_receivedQueue parameters, return type and example +--- +## Method: messages\_receivedQueue +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|max\_qts|[int](../types/int.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->messages->receivedQueue(['max_qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_reorderStickerSets.md b/docs/old/API_docs_v55/methods/messages_reorderStickerSets.md new file mode 100644 index 00000000..5857c31b --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_reorderStickerSets.md @@ -0,0 +1,37 @@ +--- +title: messages_reorderStickerSets +description: messages_reorderStickerSets parameters, return type and example +--- +## Method: messages\_reorderStickerSets +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|order|Array of [long](../types/long.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reorderStickerSets(['order' => [long], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_reportSpam.md b/docs/old/API_docs_v55/methods/messages_reportSpam.md new file mode 100644 index 00000000..fa0276cb --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_reportSpam.md @@ -0,0 +1,37 @@ +--- +title: messages_reportSpam +description: messages_reportSpam parameters, return type and example +--- +## Method: messages\_reportSpam +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->reportSpam(['peer' => InputPeer, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_requestEncryption.md b/docs/old/API_docs_v55/methods/messages_requestEncryption.md new file mode 100644 index 00000000..7d0efe0d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_requestEncryption.md @@ -0,0 +1,38 @@ +--- +title: messages_requestEncryption +description: messages_requestEncryption parameters, return type and example +--- +## Method: messages\_requestEncryption +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|g\_a|[bytes](../types/bytes.md) | Required| + + +### Return type: [EncryptedChat](../types/EncryptedChat.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$EncryptedChat = $MadelineProto->messages->requestEncryption(['user_id' => InputUser, 'g_a' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_saveDraft.md b/docs/old/API_docs_v55/methods/messages_saveDraft.md new file mode 100644 index 00000000..88540c98 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_saveDraft.md @@ -0,0 +1,41 @@ +--- +title: messages_saveDraft +description: messages_saveDraft parameters, return type and example +--- +## Method: messages\_saveDraft +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|message|[string](../types/string.md) | Required| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->saveDraft(['no_webpage' => Bool, 'reply_to_msg_id' => int, 'peer' => InputPeer, 'message' => string, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_saveGif.md b/docs/old/API_docs_v55/methods/messages_saveGif.md new file mode 100644 index 00000000..e006a9d6 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_saveGif.md @@ -0,0 +1,38 @@ +--- +title: messages_saveGif +description: messages_saveGif parameters, return type and example +--- +## Method: messages\_saveGif +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputDocument](../types/InputDocument.md) | Required| +|unsave|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->saveGif(['id' => InputDocument, 'unsave' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_saveRecentSticker.md b/docs/old/API_docs_v55/methods/messages_saveRecentSticker.md similarity index 100% rename from docs/API_docs_55/methods/messages_saveRecentSticker.md rename to docs/old/API_docs_v55/methods/messages_saveRecentSticker.md diff --git a/docs/old/API_docs_v55/methods/messages_search.md b/docs/old/API_docs_v55/methods/messages_search.md new file mode 100644 index 00000000..5c6fe5bc --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_search.md @@ -0,0 +1,44 @@ +--- +title: messages_search +description: messages_search parameters, return type and example +--- +## Method: messages\_search +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|q|[string](../types/string.md) | Required| +|filter|[MessagesFilter](../types/MessagesFilter.md) | Required| +|min\_date|[int](../types/int.md) | Required| +|max\_date|[int](../types/int.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_searchGifs.md b/docs/old/API_docs_v55/methods/messages_searchGifs.md new file mode 100644 index 00000000..bef02816 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_searchGifs.md @@ -0,0 +1,38 @@ +--- +title: messages_searchGifs +description: messages_searchGifs parameters, return type and example +--- +## Method: messages\_searchGifs +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset|[int](../types/int.md) | Required| + + +### Return type: [messages\_FoundGifs](../types/messages_FoundGifs.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_FoundGifs = $MadelineProto->messages->searchGifs(['q' => string, 'offset' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_searchGlobal.md b/docs/old/API_docs_v55/methods/messages_searchGlobal.md new file mode 100644 index 00000000..63c90751 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_searchGlobal.md @@ -0,0 +1,41 @@ +--- +title: messages_searchGlobal +description: messages_searchGlobal parameters, return type and example +--- +## Method: messages\_searchGlobal +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|q|[string](../types/string.md) | Required| +|offset\_date|[int](../types/int.md) | Required| +|offset\_peer|[InputPeer](../types/InputPeer.md) | Required| +|offset\_id|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [messages\_Messages](../types/messages_Messages.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => string, 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendBroadcast.md b/docs/old/API_docs_v55/methods/messages_sendBroadcast.md new file mode 100644 index 00000000..c53a614c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendBroadcast.md @@ -0,0 +1,39 @@ +--- +title: messages_sendBroadcast +description: messages_sendBroadcast parameters, return type and example +--- +## Method: messages\_sendBroadcast +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|contacts|Array of [InputUser](../types/InputUser.md) | Required| +|message|[string](../types/string.md) | Required| +|media|[InputMedia](../types/InputMedia.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendBroadcast(['contacts' => [InputUser], 'message' => string, 'media' => InputMedia, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendEncrypted.md b/docs/old/API_docs_v55/methods/messages_sendEncrypted.md new file mode 100644 index 00000000..d3758b1d --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendEncrypted.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncrypted +description: messages_sendEncrypted parameters, return type and example +--- +## Method: messages\_sendEncrypted +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncrypted(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendEncryptedFile.md b/docs/old/API_docs_v55/methods/messages_sendEncryptedFile.md new file mode 100644 index 00000000..da77b55a --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendEncryptedFile.md @@ -0,0 +1,39 @@ +--- +title: messages_sendEncryptedFile +description: messages_sendEncryptedFile parameters, return type and example +--- +## Method: messages\_sendEncryptedFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| +|file|[InputEncryptedFile](../types/InputEncryptedFile.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedFile(['peer' => InputEncryptedChat, 'data' => bytes, 'file' => InputEncryptedFile, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendEncryptedService.md b/docs/old/API_docs_v55/methods/messages_sendEncryptedService.md new file mode 100644 index 00000000..38ac9255 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendEncryptedService.md @@ -0,0 +1,38 @@ +--- +title: messages_sendEncryptedService +description: messages_sendEncryptedService parameters, return type and example +--- +## Method: messages\_sendEncryptedService +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|data|[bytes](../types/bytes.md) | Required| + + +### Return type: [messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$messages_SentEncryptedMessage = $MadelineProto->messages->sendEncryptedService(['peer' => InputEncryptedChat, 'data' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendInlineBotResult.md b/docs/old/API_docs_v55/methods/messages_sendInlineBotResult.md new file mode 100644 index 00000000..1e6fd0e3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendInlineBotResult.md @@ -0,0 +1,43 @@ +--- +title: messages_sendInlineBotResult +description: messages_sendInlineBotResult parameters, return type and example +--- +## Method: messages\_sendInlineBotResult +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|id|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendInlineBotResult(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'query_id' => long, 'id' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendMedia.md b/docs/old/API_docs_v55/methods/messages_sendMedia.md new file mode 100644 index 00000000..027d687f --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendMedia.md @@ -0,0 +1,43 @@ +--- +title: messages_sendMedia +description: messages_sendMedia parameters, return type and example +--- +## Method: messages\_sendMedia +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|media|[InputMedia](../types/InputMedia.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'media' => InputMedia, 'reply_markup' => ReplyMarkup, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_sendMessage.md b/docs/old/API_docs_v55/methods/messages_sendMessage.md new file mode 100644 index 00000000..188eebeb --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_sendMessage.md @@ -0,0 +1,45 @@ +--- +title: messages_sendMessage +description: messages_sendMessage parameters, return type and example +--- +## Method: messages\_sendMessage +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|no\_webpage|[Bool](../types/Bool.md) | Optional| +|silent|[Bool](../types/Bool.md) | Optional| +|background|[Bool](../types/Bool.md) | Optional| +|clear\_draft|[Bool](../types/Bool.md) | Optional| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|reply\_to\_msg\_id|[int](../types/int.md) | Optional| +|message|[string](../types/string.md) | Required| +|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional| +|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->sendMessage(['no_webpage' => Bool, 'silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'message' => string, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], ]); +``` \ No newline at end of file diff --git a/docs/API_docs_55/methods/messages_setBotCallbackAnswer.md b/docs/old/API_docs_v55/methods/messages_setBotCallbackAnswer.md similarity index 100% rename from docs/API_docs_55/methods/messages_setBotCallbackAnswer.md rename to docs/old/API_docs_v55/methods/messages_setBotCallbackAnswer.md diff --git a/docs/old/API_docs_v55/methods/messages_setEncryptedTyping.md b/docs/old/API_docs_v55/methods/messages_setEncryptedTyping.md new file mode 100644 index 00000000..ffdfebc1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_setEncryptedTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setEncryptedTyping +description: messages_setEncryptedTyping parameters, return type and example +--- +## Method: messages\_setEncryptedTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputEncryptedChat](../types/InputEncryptedChat.md) | Required| +|typing|[Bool](../types/Bool.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setEncryptedTyping(['peer' => InputEncryptedChat, 'typing' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_setInlineBotResults.md b/docs/old/API_docs_v55/methods/messages_setInlineBotResults.md new file mode 100644 index 00000000..a5c1a3ee --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_setInlineBotResults.md @@ -0,0 +1,43 @@ +--- +title: messages_setInlineBotResults +description: messages_setInlineBotResults parameters, return type and example +--- +## Method: messages\_setInlineBotResults +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|gallery|[Bool](../types/Bool.md) | Optional| +|private|[Bool](../types/Bool.md) | Optional| +|query\_id|[long](../types/long.md) | Required| +|results|Array of [InputBotInlineResult](../types/InputBotInlineResult.md) | Required| +|cache\_time|[int](../types/int.md) | Required| +|next\_offset|[string](../types/string.md) | Optional| +|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setInlineBotResults(['gallery' => Bool, 'private' => Bool, 'query_id' => long, 'results' => [InputBotInlineResult], 'cache_time' => int, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_setTyping.md b/docs/old/API_docs_v55/methods/messages_setTyping.md new file mode 100644 index 00000000..ed6731c5 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_setTyping.md @@ -0,0 +1,38 @@ +--- +title: messages_setTyping +description: messages_setTyping parameters, return type and example +--- +## Method: messages\_setTyping +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|action|[SendMessageAction](../types/SendMessageAction.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->setTyping(['peer' => InputPeer, 'action' => SendMessageAction, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_startBot.md b/docs/old/API_docs_v55/methods/messages_startBot.md new file mode 100644 index 00000000..9cf5250c --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_startBot.md @@ -0,0 +1,39 @@ +--- +title: messages_startBot +description: messages_startBot parameters, return type and example +--- +## Method: messages\_startBot +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|bot|[InputUser](../types/InputUser.md) | Required| +|peer|[InputPeer](../types/InputPeer.md) | Required| +|start\_param|[string](../types/string.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->startBot(['bot' => InputUser, 'peer' => InputPeer, 'start_param' => string, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_toggleChatAdmins.md b/docs/old/API_docs_v55/methods/messages_toggleChatAdmins.md new file mode 100644 index 00000000..8a6dc6c2 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_toggleChatAdmins.md @@ -0,0 +1,38 @@ +--- +title: messages_toggleChatAdmins +description: messages_toggleChatAdmins parameters, return type and example +--- +## Method: messages\_toggleChatAdmins +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|chat\_id|[int](../types/int.md) | Required| +|enabled|[Bool](../types/Bool.md) | Required| + + +### Return type: [Updates](../types/Updates.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Updates = $MadelineProto->messages->toggleChatAdmins(['chat_id' => int, 'enabled' => Bool, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/messages_uninstallStickerSet.md b/docs/old/API_docs_v55/methods/messages_uninstallStickerSet.md new file mode 100644 index 00000000..75f004f2 --- /dev/null +++ b/docs/old/API_docs_v55/methods/messages_uninstallStickerSet.md @@ -0,0 +1,37 @@ +--- +title: messages_uninstallStickerSet +description: messages_uninstallStickerSet parameters, return type and example +--- +## Method: messages\_uninstallStickerSet +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->messages->uninstallStickerSet(['stickerset' => InputStickerSet, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/photos_deletePhotos.md b/docs/old/API_docs_v55/methods/photos_deletePhotos.md new file mode 100644 index 00000000..6086f1d1 --- /dev/null +++ b/docs/old/API_docs_v55/methods/photos_deletePhotos.md @@ -0,0 +1,37 @@ +--- +title: photos_deletePhotos +description: photos_deletePhotos parameters, return type and example +--- +## Method: photos\_deletePhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputPhoto](../types/InputPhoto.md) | Required| + + +### Return type: [Vector\_of\_long](../types/long.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_long = $MadelineProto->photos->deletePhotos(['id' => [InputPhoto], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/photos_getUserPhotos.md b/docs/old/API_docs_v55/methods/photos_getUserPhotos.md new file mode 100644 index 00000000..03408772 --- /dev/null +++ b/docs/old/API_docs_v55/methods/photos_getUserPhotos.md @@ -0,0 +1,40 @@ +--- +title: photos_getUserPhotos +description: photos_getUserPhotos parameters, return type and example +--- +## Method: photos\_getUserPhotos +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|user\_id|[InputUser](../types/InputUser.md) | Required| +|offset|[int](../types/int.md) | Required| +|max\_id|[long](../types/long.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [photos\_Photos](../types/photos_Photos.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photos = $MadelineProto->photos->getUserPhotos(['user_id' => InputUser, 'offset' => int, 'max_id' => long, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/photos_updateProfilePhoto.md b/docs/old/API_docs_v55/methods/photos_updateProfilePhoto.md new file mode 100644 index 00000000..6811069e --- /dev/null +++ b/docs/old/API_docs_v55/methods/photos_updateProfilePhoto.md @@ -0,0 +1,38 @@ +--- +title: photos_updateProfilePhoto +description: photos_updateProfilePhoto parameters, return type and example +--- +## Method: photos\_updateProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputPhoto](../types/InputPhoto.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [UserProfilePhoto](../types/UserProfilePhoto.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserProfilePhoto = $MadelineProto->photos->updateProfilePhoto(['id' => InputPhoto, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/photos_uploadProfilePhoto.md b/docs/old/API_docs_v55/methods/photos_uploadProfilePhoto.md new file mode 100644 index 00000000..8230071c --- /dev/null +++ b/docs/old/API_docs_v55/methods/photos_uploadProfilePhoto.md @@ -0,0 +1,40 @@ +--- +title: photos_uploadProfilePhoto +description: photos_uploadProfilePhoto parameters, return type and example +--- +## Method: photos\_uploadProfilePhoto +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file|[InputFile](../types/InputFile.md) | Required| +|caption|[string](../types/string.md) | Required| +|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Required| +|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required| + + +### Return type: [photos\_Photo](../types/photos_Photo.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$photos_Photo = $MadelineProto->photos->uploadProfilePhoto(['file' => InputFile, 'caption' => string, 'geo_point' => InputGeoPoint, 'crop' => InputPhotoCrop, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/updates_getChannelDifference.md b/docs/old/API_docs_v55/methods/updates_getChannelDifference.md new file mode 100644 index 00000000..d9e3b6c3 --- /dev/null +++ b/docs/old/API_docs_v55/methods/updates_getChannelDifference.md @@ -0,0 +1,40 @@ +--- +title: updates_getChannelDifference +description: updates_getChannelDifference parameters, return type and example +--- +## Method: updates\_getChannelDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|channel|[InputChannel](../types/InputChannel.md) | Required| +|filter|[ChannelMessagesFilter](../types/ChannelMessagesFilter.md) | Required| +|pts|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [updates\_ChannelDifference](../types/updates_ChannelDifference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_ChannelDifference = $MadelineProto->updates->getChannelDifference(['channel' => InputChannel, 'filter' => ChannelMessagesFilter, 'pts' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/updates_getDifference.md b/docs/old/API_docs_v55/methods/updates_getDifference.md new file mode 100644 index 00000000..e4e74545 --- /dev/null +++ b/docs/old/API_docs_v55/methods/updates_getDifference.md @@ -0,0 +1,39 @@ +--- +title: updates_getDifference +description: updates_getDifference parameters, return type and example +--- +## Method: updates\_getDifference +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|pts|[int](../types/int.md) | Required| +|date|[int](../types/int.md) | Required| +|qts|[int](../types/int.md) | Required| + + +### Return type: [updates\_Difference](../types/updates_Difference.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_Difference = $MadelineProto->updates->getDifference(['pts' => int, 'date' => int, 'qts' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/updates_getState.md b/docs/old/API_docs_v55/methods/updates_getState.md new file mode 100644 index 00000000..b3aa7998 --- /dev/null +++ b/docs/old/API_docs_v55/methods/updates_getState.md @@ -0,0 +1,32 @@ +--- +title: updates_getState +description: updates_getState parameters, return type and example +--- +## Method: updates\_getState +[Back to methods index](index.md) + + + + +### Return type: [updates\_State](../types/updates_State.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$updates_State = $MadelineProto->updates->getState(); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/upload_getFile.md b/docs/old/API_docs_v55/methods/upload_getFile.md new file mode 100644 index 00000000..21905470 --- /dev/null +++ b/docs/old/API_docs_v55/methods/upload_getFile.md @@ -0,0 +1,39 @@ +--- +title: upload_getFile +description: upload_getFile parameters, return type and example +--- +## Method: upload\_getFile +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|location|[InputFileLocation](../types/InputFileLocation.md) | Required| +|offset|[int](../types/int.md) | Required| +|limit|[int](../types/int.md) | Required| + + +### Return type: [upload\_File](../types/upload_File.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$upload_File = $MadelineProto->upload->getFile(['location' => InputFileLocation, 'offset' => int, 'limit' => int, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/upload_saveBigFilePart.md b/docs/old/API_docs_v55/methods/upload_saveBigFilePart.md new file mode 100644 index 00000000..d0bc8950 --- /dev/null +++ b/docs/old/API_docs_v55/methods/upload_saveBigFilePart.md @@ -0,0 +1,40 @@ +--- +title: upload_saveBigFilePart +description: upload_saveBigFilePart parameters, return type and example +--- +## Method: upload\_saveBigFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|file\_total\_parts|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveBigFilePart(['file_id' => long, 'file_part' => int, 'file_total_parts' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/upload_saveFilePart.md b/docs/old/API_docs_v55/methods/upload_saveFilePart.md new file mode 100644 index 00000000..659ce008 --- /dev/null +++ b/docs/old/API_docs_v55/methods/upload_saveFilePart.md @@ -0,0 +1,39 @@ +--- +title: upload_saveFilePart +description: upload_saveFilePart parameters, return type and example +--- +## Method: upload\_saveFilePart +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|file\_id|[long](../types/long.md) | Required| +|file\_part|[int](../types/int.md) | Required| +|bytes|[bytes](../types/bytes.md) | Required| + + +### Return type: [Bool](../types/Bool.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Bool = $MadelineProto->upload->saveFilePart(['file_id' => long, 'file_part' => int, 'bytes' => bytes, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/users_getFullUser.md b/docs/old/API_docs_v55/methods/users_getFullUser.md new file mode 100644 index 00000000..1a75c24c --- /dev/null +++ b/docs/old/API_docs_v55/methods/users_getFullUser.md @@ -0,0 +1,37 @@ +--- +title: users_getFullUser +description: users_getFullUser parameters, return type and example +--- +## Method: users\_getFullUser +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|[InputUser](../types/InputUser.md) | Required| + + +### Return type: [UserFull](../types/UserFull.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$UserFull = $MadelineProto->users->getFullUser(['id' => InputUser, ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/methods/users_getUsers.md b/docs/old/API_docs_v55/methods/users_getUsers.md new file mode 100644 index 00000000..1658257b --- /dev/null +++ b/docs/old/API_docs_v55/methods/users_getUsers.md @@ -0,0 +1,37 @@ +--- +title: users_getUsers +description: users_getUsers parameters, return type and example +--- +## Method: users\_getUsers +[Back to methods index](index.md) + + +### Parameters: + +| Name | Type | Required | +|----------|:-------------:|---------:| +|id|Array of [InputUser](../types/InputUser.md) | Required| + + +### Return type: [Vector\_of\_User](../types/User.md) + +### Example: + + +``` +$MadelineProto = new \danog\MadelineProto\API(); +if (isset($token)) { + $this->bot_login($token); +} +if (isset($number)) { + $sentCode = $MadelineProto->phone_login($number); + echo 'Enter the code you received: '; + $code = ''; + for ($x = 0; $x < $sentCode['type']['length']; $x++) { + $code .= fgetc(STDIN); + } + $MadelineProto->complete_phone_login($code); +} + +$Vector_of_User = $MadelineProto->users->getUsers(['id' => [InputUser], ]); +``` \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/!X.md b/docs/old/API_docs_v55/types/!X.md new file mode 100644 index 00000000..b52cc64f --- /dev/null +++ b/docs/old/API_docs_v55/types/!X.md @@ -0,0 +1,8 @@ +--- +title: !X +description: Represents a TL serialized payload +--- +## Type: !X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/AccountDaysTTL.md b/docs/old/API_docs_v55/types/AccountDaysTTL.md new file mode 100644 index 00000000..c0363572 --- /dev/null +++ b/docs/old/API_docs_v55/types/AccountDaysTTL.md @@ -0,0 +1,21 @@ +--- +title: AccountDaysTTL +description: constructors and methods of type AccountDaysTTL +--- +## Type: AccountDaysTTL +[Back to types index](index.md) + + + +### Possible values (constructors): + +[accountDaysTTL](../constructors/accountDaysTTL.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAccountTTL](../methods/account_getAccountTTL.md) + + + diff --git a/docs/old/API_docs_v55/types/Authorization.md b/docs/old/API_docs_v55/types/Authorization.md new file mode 100644 index 00000000..db9d3a79 --- /dev/null +++ b/docs/old/API_docs_v55/types/Authorization.md @@ -0,0 +1,19 @@ +--- +title: Authorization +description: constructors and methods of type Authorization +--- +## Type: Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[authorization](../constructors/authorization.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Bool.md b/docs/old/API_docs_v55/types/Bool.md new file mode 100644 index 00000000..e108e862 --- /dev/null +++ b/docs/old/API_docs_v55/types/Bool.md @@ -0,0 +1,8 @@ +--- +title: Bool +description: Represents a boolean. +--- +# Bool +[Back to types index](index.md) + +Represents a boolean. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/BotCommand.md b/docs/old/API_docs_v55/types/BotCommand.md new file mode 100644 index 00000000..9b5c86b1 --- /dev/null +++ b/docs/old/API_docs_v55/types/BotCommand.md @@ -0,0 +1,19 @@ +--- +title: BotCommand +description: constructors and methods of type BotCommand +--- +## Type: BotCommand +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botCommand](../constructors/botCommand.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/BotInfo.md b/docs/old/API_docs_v55/types/BotInfo.md new file mode 100644 index 00000000..5a74c1ae --- /dev/null +++ b/docs/old/API_docs_v55/types/BotInfo.md @@ -0,0 +1,19 @@ +--- +title: BotInfo +description: constructors and methods of type BotInfo +--- +## Type: BotInfo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInfo](../constructors/botInfo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/BotInlineMessage.md b/docs/old/API_docs_v55/types/BotInlineMessage.md new file mode 100644 index 00000000..3d514e86 --- /dev/null +++ b/docs/old/API_docs_v55/types/BotInlineMessage.md @@ -0,0 +1,27 @@ +--- +title: BotInlineMessage +description: constructors and methods of type BotInlineMessage +--- +## Type: BotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineMessageMediaAuto](../constructors/botInlineMessageMediaAuto.md) + +[botInlineMessageText](../constructors/botInlineMessageText.md) + +[botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) + +[botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) + +[botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/BotInlineResult.md b/docs/old/API_docs_v55/types/BotInlineResult.md new file mode 100644 index 00000000..cbbc151b --- /dev/null +++ b/docs/old/API_docs_v55/types/BotInlineResult.md @@ -0,0 +1,21 @@ +--- +title: BotInlineResult +description: constructors and methods of type BotInlineResult +--- +## Type: BotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[botInlineResult](../constructors/botInlineResult.md) + +[botInlineMediaResult](../constructors/botInlineMediaResult.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChannelMessagesFilter.md b/docs/old/API_docs_v55/types/ChannelMessagesFilter.md new file mode 100644 index 00000000..099f2dcf --- /dev/null +++ b/docs/old/API_docs_v55/types/ChannelMessagesFilter.md @@ -0,0 +1,21 @@ +--- +title: ChannelMessagesFilter +description: constructors and methods of type ChannelMessagesFilter +--- +## Type: ChannelMessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelMessagesFilterEmpty](../constructors/channelMessagesFilterEmpty.md) + +[channelMessagesFilter](../constructors/channelMessagesFilter.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChannelParticipant.md b/docs/old/API_docs_v55/types/ChannelParticipant.md new file mode 100644 index 00000000..31640ae0 --- /dev/null +++ b/docs/old/API_docs_v55/types/ChannelParticipant.md @@ -0,0 +1,29 @@ +--- +title: ChannelParticipant +description: constructors and methods of type ChannelParticipant +--- +## Type: ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipant](../constructors/channelParticipant.md) + +[channelParticipantSelf](../constructors/channelParticipantSelf.md) + +[channelParticipantModerator](../constructors/channelParticipantModerator.md) + +[channelParticipantEditor](../constructors/channelParticipantEditor.md) + +[channelParticipantKicked](../constructors/channelParticipantKicked.md) + +[channelParticipantCreator](../constructors/channelParticipantCreator.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChannelParticipantRole.md b/docs/old/API_docs_v55/types/ChannelParticipantRole.md new file mode 100644 index 00000000..81bf38ec --- /dev/null +++ b/docs/old/API_docs_v55/types/ChannelParticipantRole.md @@ -0,0 +1,23 @@ +--- +title: ChannelParticipantRole +description: constructors and methods of type ChannelParticipantRole +--- +## Type: ChannelParticipantRole +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelRoleEmpty](../constructors/channelRoleEmpty.md) + +[channelRoleModerator](../constructors/channelRoleModerator.md) + +[channelRoleEditor](../constructors/channelRoleEditor.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChannelParticipantsFilter.md b/docs/old/API_docs_v55/types/ChannelParticipantsFilter.md new file mode 100644 index 00000000..4d1e54ec --- /dev/null +++ b/docs/old/API_docs_v55/types/ChannelParticipantsFilter.md @@ -0,0 +1,25 @@ +--- +title: ChannelParticipantsFilter +description: constructors and methods of type ChannelParticipantsFilter +--- +## Type: ChannelParticipantsFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channelParticipantsRecent](../constructors/channelParticipantsRecent.md) + +[channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) + +[channelParticipantsKicked](../constructors/channelParticipantsKicked.md) + +[channelParticipantsBots](../constructors/channelParticipantsBots.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Chat.md b/docs/old/API_docs_v55/types/Chat.md new file mode 100644 index 00000000..1dc2c40e --- /dev/null +++ b/docs/old/API_docs_v55/types/Chat.md @@ -0,0 +1,27 @@ +--- +title: Chat +description: constructors and methods of type Chat +--- +## Type: Chat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatEmpty](../constructors/chatEmpty.md) + +[chat](../constructors/chat.md) + +[chatForbidden](../constructors/chatForbidden.md) + +[channel](../constructors/channel.md) + +[channelForbidden](../constructors/channelForbidden.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChatFull.md b/docs/old/API_docs_v55/types/ChatFull.md new file mode 100644 index 00000000..e5ec1ffd --- /dev/null +++ b/docs/old/API_docs_v55/types/ChatFull.md @@ -0,0 +1,21 @@ +--- +title: ChatFull +description: constructors and methods of type ChatFull +--- +## Type: ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatFull](../constructors/chatFull.md) + +[channelFull](../constructors/channelFull.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChatInvite.md b/docs/old/API_docs_v55/types/ChatInvite.md new file mode 100644 index 00000000..a8e2f3ed --- /dev/null +++ b/docs/old/API_docs_v55/types/ChatInvite.md @@ -0,0 +1,23 @@ +--- +title: ChatInvite +description: constructors and methods of type ChatInvite +--- +## Type: ChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteAlready](../constructors/chatInviteAlready.md) + +[chatInvite](../constructors/chatInvite.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->checkChatInvite](../methods/messages_checkChatInvite.md) + + + diff --git a/docs/old/API_docs_v55/types/ChatParticipant.md b/docs/old/API_docs_v55/types/ChatParticipant.md new file mode 100644 index 00000000..64996f55 --- /dev/null +++ b/docs/old/API_docs_v55/types/ChatParticipant.md @@ -0,0 +1,23 @@ +--- +title: ChatParticipant +description: constructors and methods of type ChatParticipant +--- +## Type: ChatParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipant](../constructors/chatParticipant.md) + +[chatParticipantCreator](../constructors/chatParticipantCreator.md) + +[chatParticipantAdmin](../constructors/chatParticipantAdmin.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChatParticipants.md b/docs/old/API_docs_v55/types/ChatParticipants.md new file mode 100644 index 00000000..49fca52e --- /dev/null +++ b/docs/old/API_docs_v55/types/ChatParticipants.md @@ -0,0 +1,21 @@ +--- +title: ChatParticipants +description: constructors and methods of type ChatParticipants +--- +## Type: ChatParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) + +[chatParticipants](../constructors/chatParticipants.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ChatPhoto.md b/docs/old/API_docs_v55/types/ChatPhoto.md new file mode 100644 index 00000000..87a20f80 --- /dev/null +++ b/docs/old/API_docs_v55/types/ChatPhoto.md @@ -0,0 +1,21 @@ +--- +title: ChatPhoto +description: constructors and methods of type ChatPhoto +--- +## Type: ChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatPhotoEmpty](../constructors/chatPhotoEmpty.md) + +[chatPhoto](../constructors/chatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Config.md b/docs/old/API_docs_v55/types/Config.md new file mode 100644 index 00000000..4c200515 --- /dev/null +++ b/docs/old/API_docs_v55/types/Config.md @@ -0,0 +1,21 @@ +--- +title: Config +description: constructors and methods of type Config +--- +## Type: Config +[Back to types index](index.md) + + + +### Possible values (constructors): + +[config](../constructors/config.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getConfig](../methods/help_getConfig.md) + + + diff --git a/docs/old/API_docs_v55/types/Contact.md b/docs/old/API_docs_v55/types/Contact.md new file mode 100644 index 00000000..e8f33b6d --- /dev/null +++ b/docs/old/API_docs_v55/types/Contact.md @@ -0,0 +1,19 @@ +--- +title: Contact +description: constructors and methods of type Contact +--- +## Type: Contact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contact](../constructors/contact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ContactBlocked.md b/docs/old/API_docs_v55/types/ContactBlocked.md new file mode 100644 index 00000000..87bb970c --- /dev/null +++ b/docs/old/API_docs_v55/types/ContactBlocked.md @@ -0,0 +1,19 @@ +--- +title: ContactBlocked +description: constructors and methods of type ContactBlocked +--- +## Type: ContactBlocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactBlocked](../constructors/contactBlocked.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ContactLink.md b/docs/old/API_docs_v55/types/ContactLink.md new file mode 100644 index 00000000..c9a28009 --- /dev/null +++ b/docs/old/API_docs_v55/types/ContactLink.md @@ -0,0 +1,25 @@ +--- +title: ContactLink +description: constructors and methods of type ContactLink +--- +## Type: ContactLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactLinkUnknown](../constructors/contactLinkUnknown.md) + +[contactLinkNone](../constructors/contactLinkNone.md) + +[contactLinkHasPhone](../constructors/contactLinkHasPhone.md) + +[contactLinkContact](../constructors/contactLinkContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ContactStatus.md b/docs/old/API_docs_v55/types/ContactStatus.md new file mode 100644 index 00000000..28257d0e --- /dev/null +++ b/docs/old/API_docs_v55/types/ContactStatus.md @@ -0,0 +1,21 @@ +--- +title: ContactStatus +description: constructors and methods of type ContactStatus +--- +## Type: ContactStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contactStatus](../constructors/contactStatus.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getStatuses](../methods/contacts_getStatuses.md) + + + diff --git a/docs/old/API_docs_v55/types/DcOption.md b/docs/old/API_docs_v55/types/DcOption.md new file mode 100644 index 00000000..ac726d6d --- /dev/null +++ b/docs/old/API_docs_v55/types/DcOption.md @@ -0,0 +1,19 @@ +--- +title: DcOption +description: constructors and methods of type DcOption +--- +## Type: DcOption +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dcOption](../constructors/dcOption.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Dialog.md b/docs/old/API_docs_v55/types/Dialog.md new file mode 100644 index 00000000..88398fb5 --- /dev/null +++ b/docs/old/API_docs_v55/types/Dialog.md @@ -0,0 +1,19 @@ +--- +title: Dialog +description: constructors and methods of type Dialog +--- +## Type: Dialog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[dialog](../constructors/dialog.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/DisabledFeature.md b/docs/old/API_docs_v55/types/DisabledFeature.md new file mode 100644 index 00000000..d1695c5b --- /dev/null +++ b/docs/old/API_docs_v55/types/DisabledFeature.md @@ -0,0 +1,19 @@ +--- +title: DisabledFeature +description: constructors and methods of type DisabledFeature +--- +## Type: DisabledFeature +[Back to types index](index.md) + + + +### Possible values (constructors): + +[disabledFeature](../constructors/disabledFeature.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Document.md b/docs/old/API_docs_v55/types/Document.md new file mode 100644 index 00000000..52c3c5a9 --- /dev/null +++ b/docs/old/API_docs_v55/types/Document.md @@ -0,0 +1,23 @@ +--- +title: Document +description: constructors and methods of type Document +--- +## Type: Document +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentEmpty](../constructors/documentEmpty.md) + +[document](../constructors/document.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDocumentByHash](../methods/messages_getDocumentByHash.md) + + + diff --git a/docs/old/API_docs_v55/types/DocumentAttribute.md b/docs/old/API_docs_v55/types/DocumentAttribute.md new file mode 100644 index 00000000..5d3c0752 --- /dev/null +++ b/docs/old/API_docs_v55/types/DocumentAttribute.md @@ -0,0 +1,29 @@ +--- +title: DocumentAttribute +description: constructors and methods of type DocumentAttribute +--- +## Type: DocumentAttribute +[Back to types index](index.md) + + + +### Possible values (constructors): + +[documentAttributeImageSize](../constructors/documentAttributeImageSize.md) + +[documentAttributeAnimated](../constructors/documentAttributeAnimated.md) + +[documentAttributeSticker](../constructors/documentAttributeSticker.md) + +[documentAttributeVideo](../constructors/documentAttributeVideo.md) + +[documentAttributeAudio](../constructors/documentAttributeAudio.md) + +[documentAttributeFilename](../constructors/documentAttributeFilename.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/DraftMessage.md b/docs/old/API_docs_v55/types/DraftMessage.md new file mode 100644 index 00000000..7ef53cdb --- /dev/null +++ b/docs/old/API_docs_v55/types/DraftMessage.md @@ -0,0 +1,21 @@ +--- +title: DraftMessage +description: constructors and methods of type DraftMessage +--- +## Type: DraftMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[draftMessageEmpty](../constructors/draftMessageEmpty.md) + +[draftMessage](../constructors/draftMessage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/EncryptedChat.md b/docs/old/API_docs_v55/types/EncryptedChat.md new file mode 100644 index 00000000..d352bfb2 --- /dev/null +++ b/docs/old/API_docs_v55/types/EncryptedChat.md @@ -0,0 +1,31 @@ +--- +title: EncryptedChat +description: constructors and methods of type EncryptedChat +--- +## Type: EncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedChatEmpty](../constructors/encryptedChatEmpty.md) + +[encryptedChatWaiting](../constructors/encryptedChatWaiting.md) + +[encryptedChatRequested](../constructors/encryptedChatRequested.md) + +[encryptedChat](../constructors/encryptedChat.md) + +[encryptedChatDiscarded](../constructors/encryptedChatDiscarded.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->requestEncryption](../methods/messages_requestEncryption.md) + +[$MadelineProto->messages->acceptEncryption](../methods/messages_acceptEncryption.md) + + + diff --git a/docs/old/API_docs_v55/types/EncryptedFile.md b/docs/old/API_docs_v55/types/EncryptedFile.md new file mode 100644 index 00000000..5926c088 --- /dev/null +++ b/docs/old/API_docs_v55/types/EncryptedFile.md @@ -0,0 +1,21 @@ +--- +title: EncryptedFile +description: constructors and methods of type EncryptedFile +--- +## Type: EncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedFileEmpty](../constructors/encryptedFileEmpty.md) + +[encryptedFile](../constructors/encryptedFile.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/EncryptedMessage.md b/docs/old/API_docs_v55/types/EncryptedMessage.md new file mode 100644 index 00000000..f7474a3b --- /dev/null +++ b/docs/old/API_docs_v55/types/EncryptedMessage.md @@ -0,0 +1,21 @@ +--- +title: EncryptedMessage +description: constructors and methods of type EncryptedMessage +--- +## Type: EncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[encryptedMessage](../constructors/encryptedMessage.md) + +[encryptedMessageService](../constructors/encryptedMessageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Error.md b/docs/old/API_docs_v55/types/Error.md new file mode 100644 index 00000000..a3ab3577 --- /dev/null +++ b/docs/old/API_docs_v55/types/Error.md @@ -0,0 +1,19 @@ +--- +title: Error +description: constructors and methods of type Error +--- +## Type: Error +[Back to types index](index.md) + + + +### Possible values (constructors): + +[error](../constructors/error.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ExportedChatInvite.md b/docs/old/API_docs_v55/types/ExportedChatInvite.md new file mode 100644 index 00000000..60c51dfc --- /dev/null +++ b/docs/old/API_docs_v55/types/ExportedChatInvite.md @@ -0,0 +1,25 @@ +--- +title: ExportedChatInvite +description: constructors and methods of type ExportedChatInvite +--- +## Type: ExportedChatInvite +[Back to types index](index.md) + + + +### Possible values (constructors): + +[chatInviteEmpty](../constructors/chatInviteEmpty.md) + +[chatInviteExported](../constructors/chatInviteExported.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->exportChatInvite](../methods/messages_exportChatInvite.md) + +[$MadelineProto->channels->exportInvite](../methods/channels_exportInvite.md) + + + diff --git a/docs/old/API_docs_v55/types/ExportedMessageLink.md b/docs/old/API_docs_v55/types/ExportedMessageLink.md new file mode 100644 index 00000000..6d8dbd5b --- /dev/null +++ b/docs/old/API_docs_v55/types/ExportedMessageLink.md @@ -0,0 +1,21 @@ +--- +title: ExportedMessageLink +description: constructors and methods of type ExportedMessageLink +--- +## Type: ExportedMessageLink +[Back to types index](index.md) + + + +### Possible values (constructors): + +[exportedMessageLink](../constructors/exportedMessageLink.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->exportMessageLink](../methods/channels_exportMessageLink.md) + + + diff --git a/docs/old/API_docs_v55/types/FileLocation.md b/docs/old/API_docs_v55/types/FileLocation.md new file mode 100644 index 00000000..09ad6ded --- /dev/null +++ b/docs/old/API_docs_v55/types/FileLocation.md @@ -0,0 +1,21 @@ +--- +title: FileLocation +description: constructors and methods of type FileLocation +--- +## Type: FileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[fileLocationUnavailable](../constructors/fileLocationUnavailable.md) + +[fileLocation](../constructors/fileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/FoundGif.md b/docs/old/API_docs_v55/types/FoundGif.md new file mode 100644 index 00000000..e366c303 --- /dev/null +++ b/docs/old/API_docs_v55/types/FoundGif.md @@ -0,0 +1,21 @@ +--- +title: FoundGif +description: constructors and methods of type FoundGif +--- +## Type: FoundGif +[Back to types index](index.md) + + + +### Possible values (constructors): + +[foundGif](../constructors/foundGif.md) + +[foundGifCached](../constructors/foundGifCached.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/GeoPoint.md b/docs/old/API_docs_v55/types/GeoPoint.md new file mode 100644 index 00000000..0b0b8a0b --- /dev/null +++ b/docs/old/API_docs_v55/types/GeoPoint.md @@ -0,0 +1,21 @@ +--- +title: GeoPoint +description: constructors and methods of type GeoPoint +--- +## Type: GeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[geoPointEmpty](../constructors/geoPointEmpty.md) + +[geoPoint](../constructors/geoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ImportedContact.md b/docs/old/API_docs_v55/types/ImportedContact.md new file mode 100644 index 00000000..c6aca02c --- /dev/null +++ b/docs/old/API_docs_v55/types/ImportedContact.md @@ -0,0 +1,19 @@ +--- +title: ImportedContact +description: constructors and methods of type ImportedContact +--- +## Type: ImportedContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[importedContact](../constructors/importedContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InlineBotSwitchPM.md b/docs/old/API_docs_v55/types/InlineBotSwitchPM.md new file mode 100644 index 00000000..f9d4c077 --- /dev/null +++ b/docs/old/API_docs_v55/types/InlineBotSwitchPM.md @@ -0,0 +1,19 @@ +--- +title: InlineBotSwitchPM +description: constructors and methods of type InlineBotSwitchPM +--- +## Type: InlineBotSwitchPM +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inlineBotSwitchPM](../constructors/inlineBotSwitchPM.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputAppEvent.md b/docs/old/API_docs_v55/types/InputAppEvent.md new file mode 100644 index 00000000..5cacbf28 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputAppEvent.md @@ -0,0 +1,19 @@ +--- +title: InputAppEvent +description: constructors and methods of type InputAppEvent +--- +## Type: InputAppEvent +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputAppEvent](../constructors/inputAppEvent.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputBotInlineMessage.md b/docs/old/API_docs_v55/types/InputBotInlineMessage.md new file mode 100644 index 00000000..61a9d0b2 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputBotInlineMessage.md @@ -0,0 +1,27 @@ +--- +title: InputBotInlineMessage +description: constructors and methods of type InputBotInlineMessage +--- +## Type: InputBotInlineMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineMessageMediaAuto](../constructors/inputBotInlineMessageMediaAuto.md) + +[inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) + +[inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) + +[inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) + +[inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputBotInlineMessageID.md b/docs/old/API_docs_v55/types/InputBotInlineMessageID.md new file mode 100644 index 00000000..9e5ef2e3 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputBotInlineMessageID.md @@ -0,0 +1,19 @@ +--- +title: InputBotInlineMessageID +description: constructors and methods of type InputBotInlineMessageID +--- +## Type: InputBotInlineMessageID +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineMessageID](../constructors/inputBotInlineMessageID.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputBotInlineResult.md b/docs/old/API_docs_v55/types/InputBotInlineResult.md new file mode 100644 index 00000000..07732506 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputBotInlineResult.md @@ -0,0 +1,23 @@ +--- +title: InputBotInlineResult +description: constructors and methods of type InputBotInlineResult +--- +## Type: InputBotInlineResult +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputBotInlineResult](../constructors/inputBotInlineResult.md) + +[inputBotInlineResultPhoto](../constructors/inputBotInlineResultPhoto.md) + +[inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputChannel.md b/docs/old/API_docs_v55/types/InputChannel.md new file mode 100644 index 00000000..b573025d --- /dev/null +++ b/docs/old/API_docs_v55/types/InputChannel.md @@ -0,0 +1,21 @@ +--- +title: InputChannel +description: constructors and methods of type InputChannel +--- +## Type: InputChannel +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChannelEmpty](../constructors/inputChannelEmpty.md) + +[inputChannel](../constructors/inputChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputChatPhoto.md b/docs/old/API_docs_v55/types/InputChatPhoto.md new file mode 100644 index 00000000..02670513 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputChatPhoto.md @@ -0,0 +1,23 @@ +--- +title: InputChatPhoto +description: constructors and methods of type InputChatPhoto +--- +## Type: InputChatPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputChatPhotoEmpty](../constructors/inputChatPhotoEmpty.md) + +[inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) + +[inputChatPhoto](../constructors/inputChatPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputContact.md b/docs/old/API_docs_v55/types/InputContact.md new file mode 100644 index 00000000..d02cb4a4 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputContact.md @@ -0,0 +1,19 @@ +--- +title: InputContact +description: constructors and methods of type InputContact +--- +## Type: InputContact +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhoneContact](../constructors/inputPhoneContact.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputDocument.md b/docs/old/API_docs_v55/types/InputDocument.md new file mode 100644 index 00000000..ef551639 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputDocument.md @@ -0,0 +1,21 @@ +--- +title: InputDocument +description: constructors and methods of type InputDocument +--- +## Type: InputDocument +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputDocumentEmpty](../constructors/inputDocumentEmpty.md) + +[inputDocument](../constructors/inputDocument.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputEncryptedChat.md b/docs/old/API_docs_v55/types/InputEncryptedChat.md new file mode 100644 index 00000000..5809c265 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputEncryptedChat.md @@ -0,0 +1,19 @@ +--- +title: InputEncryptedChat +description: constructors and methods of type InputEncryptedChat +--- +## Type: InputEncryptedChat +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedChat](../constructors/inputEncryptedChat.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputEncryptedFile.md b/docs/old/API_docs_v55/types/InputEncryptedFile.md new file mode 100644 index 00000000..ef69ee82 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputEncryptedFile.md @@ -0,0 +1,25 @@ +--- +title: InputEncryptedFile +description: constructors and methods of type InputEncryptedFile +--- +## Type: InputEncryptedFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md) + +[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md) + +[inputEncryptedFile](../constructors/inputEncryptedFile.md) + +[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputFile.md b/docs/old/API_docs_v55/types/InputFile.md new file mode 100644 index 00000000..aa204fa9 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputFile.md @@ -0,0 +1,21 @@ +--- +title: InputFile +description: constructors and methods of type InputFile +--- +## Type: InputFile +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFile](../constructors/inputFile.md) + +[inputFileBig](../constructors/inputFileBig.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputFileLocation.md b/docs/old/API_docs_v55/types/InputFileLocation.md new file mode 100644 index 00000000..e15184d4 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputFileLocation.md @@ -0,0 +1,23 @@ +--- +title: InputFileLocation +description: constructors and methods of type InputFileLocation +--- +## Type: InputFileLocation +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputFileLocation](../constructors/inputFileLocation.md) + +[inputEncryptedFileLocation](../constructors/inputEncryptedFileLocation.md) + +[inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputGeoPoint.md b/docs/old/API_docs_v55/types/InputGeoPoint.md new file mode 100644 index 00000000..cde0c7a9 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputGeoPoint.md @@ -0,0 +1,21 @@ +--- +title: InputGeoPoint +description: constructors and methods of type InputGeoPoint +--- +## Type: InputGeoPoint +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) + +[inputGeoPoint](../constructors/inputGeoPoint.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputMedia.md b/docs/old/API_docs_v55/types/InputMedia.md new file mode 100644 index 00000000..e3a8492a --- /dev/null +++ b/docs/old/API_docs_v55/types/InputMedia.md @@ -0,0 +1,37 @@ +--- +title: InputMedia +description: constructors and methods of type InputMedia +--- +## Type: InputMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMediaEmpty](../constructors/inputMediaEmpty.md) + +[inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) + +[inputMediaPhoto](../constructors/inputMediaPhoto.md) + +[inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) + +[inputMediaContact](../constructors/inputMediaContact.md) + +[inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) + +[inputMediaUploadedThumbDocument](../constructors/inputMediaUploadedThumbDocument.md) + +[inputMediaDocument](../constructors/inputMediaDocument.md) + +[inputMediaVenue](../constructors/inputMediaVenue.md) + +[inputMediaGifExternal](../constructors/inputMediaGifExternal.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputNotifyPeer.md b/docs/old/API_docs_v55/types/InputNotifyPeer.md new file mode 100644 index 00000000..896c992d --- /dev/null +++ b/docs/old/API_docs_v55/types/InputNotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: InputNotifyPeer +description: constructors and methods of type InputNotifyPeer +--- +## Type: InputNotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputNotifyPeer](../constructors/inputNotifyPeer.md) + +[inputNotifyUsers](../constructors/inputNotifyUsers.md) + +[inputNotifyChats](../constructors/inputNotifyChats.md) + +[inputNotifyAll](../constructors/inputNotifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPeer.md b/docs/old/API_docs_v55/types/InputPeer.md new file mode 100644 index 00000000..7adf47ab --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPeer.md @@ -0,0 +1,27 @@ +--- +title: InputPeer +description: constructors and methods of type InputPeer +--- +## Type: InputPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerEmpty](../constructors/inputPeerEmpty.md) + +[inputPeerSelf](../constructors/inputPeerSelf.md) + +[inputPeerChat](../constructors/inputPeerChat.md) + +[inputPeerUser](../constructors/inputPeerUser.md) + +[inputPeerChannel](../constructors/inputPeerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPeerNotifyEvents.md b/docs/old/API_docs_v55/types/InputPeerNotifyEvents.md new file mode 100644 index 00000000..7ac6803e --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: InputPeerNotifyEvents +description: constructors and methods of type InputPeerNotifyEvents +--- +## Type: InputPeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) + +[inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPeerNotifySettings.md b/docs/old/API_docs_v55/types/InputPeerNotifySettings.md new file mode 100644 index 00000000..49afc1f3 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPeerNotifySettings.md @@ -0,0 +1,19 @@ +--- +title: InputPeerNotifySettings +description: constructors and methods of type InputPeerNotifySettings +--- +## Type: InputPeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPhoto.md b/docs/old/API_docs_v55/types/InputPhoto.md new file mode 100644 index 00000000..fa563d57 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPhoto.md @@ -0,0 +1,21 @@ +--- +title: InputPhoto +description: constructors and methods of type InputPhoto +--- +## Type: InputPhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoEmpty](../constructors/inputPhotoEmpty.md) + +[inputPhoto](../constructors/inputPhoto.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPhotoCrop.md b/docs/old/API_docs_v55/types/InputPhotoCrop.md new file mode 100644 index 00000000..31648f3f --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPhotoCrop.md @@ -0,0 +1,21 @@ +--- +title: InputPhotoCrop +description: constructors and methods of type InputPhotoCrop +--- +## Type: InputPhotoCrop +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPhotoCropAuto](../constructors/inputPhotoCropAuto.md) + +[inputPhotoCrop](../constructors/inputPhotoCrop.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPrivacyKey.md b/docs/old/API_docs_v55/types/InputPrivacyKey.md new file mode 100644 index 00000000..b3d401e4 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPrivacyKey.md @@ -0,0 +1,21 @@ +--- +title: InputPrivacyKey +description: constructors and methods of type InputPrivacyKey +--- +## Type: InputPrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.md) + +[inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputPrivacyRule.md b/docs/old/API_docs_v55/types/InputPrivacyRule.md new file mode 100644 index 00000000..55869dea --- /dev/null +++ b/docs/old/API_docs_v55/types/InputPrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: InputPrivacyRule +description: constructors and methods of type InputPrivacyRule +--- +## Type: InputPrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) + +[inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) + +[inputPrivacyValueAllowUsers](../constructors/inputPrivacyValueAllowUsers.md) + +[inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) + +[inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) + +[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputStickerSet.md b/docs/old/API_docs_v55/types/InputStickerSet.md new file mode 100644 index 00000000..bc9abeca --- /dev/null +++ b/docs/old/API_docs_v55/types/InputStickerSet.md @@ -0,0 +1,23 @@ +--- +title: InputStickerSet +description: constructors and methods of type InputStickerSet +--- +## Type: InputStickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) + +[inputStickerSetID](../constructors/inputStickerSetID.md) + +[inputStickerSetShortName](../constructors/inputStickerSetShortName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/InputUser.md b/docs/old/API_docs_v55/types/InputUser.md new file mode 100644 index 00000000..c5ced2f7 --- /dev/null +++ b/docs/old/API_docs_v55/types/InputUser.md @@ -0,0 +1,23 @@ +--- +title: InputUser +description: constructors and methods of type InputUser +--- +## Type: InputUser +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputUserEmpty](../constructors/inputUserEmpty.md) + +[inputUserSelf](../constructors/inputUserSelf.md) + +[inputUser](../constructors/inputUser.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/KeyboardButton.md b/docs/old/API_docs_v55/types/KeyboardButton.md new file mode 100644 index 00000000..5bc043e6 --- /dev/null +++ b/docs/old/API_docs_v55/types/KeyboardButton.md @@ -0,0 +1,29 @@ +--- +title: KeyboardButton +description: constructors and methods of type KeyboardButton +--- +## Type: KeyboardButton +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButton](../constructors/keyboardButton.md) + +[keyboardButtonUrl](../constructors/keyboardButtonUrl.md) + +[keyboardButtonCallback](../constructors/keyboardButtonCallback.md) + +[keyboardButtonRequestPhone](../constructors/keyboardButtonRequestPhone.md) + +[keyboardButtonRequestGeoLocation](../constructors/keyboardButtonRequestGeoLocation.md) + +[keyboardButtonSwitchInline](../constructors/keyboardButtonSwitchInline.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/KeyboardButtonRow.md b/docs/old/API_docs_v55/types/KeyboardButtonRow.md new file mode 100644 index 00000000..ab050e25 --- /dev/null +++ b/docs/old/API_docs_v55/types/KeyboardButtonRow.md @@ -0,0 +1,19 @@ +--- +title: KeyboardButtonRow +description: constructors and methods of type KeyboardButtonRow +--- +## Type: KeyboardButtonRow +[Back to types index](index.md) + + + +### Possible values (constructors): + +[keyboardButtonRow](../constructors/keyboardButtonRow.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Message.md b/docs/old/API_docs_v55/types/Message.md new file mode 100644 index 00000000..ab006ce0 --- /dev/null +++ b/docs/old/API_docs_v55/types/Message.md @@ -0,0 +1,23 @@ +--- +title: Message +description: constructors and methods of type Message +--- +## Type: Message +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEmpty](../constructors/messageEmpty.md) + +[message](../constructors/message.md) + +[messageService](../constructors/messageService.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/MessageAction.md b/docs/old/API_docs_v55/types/MessageAction.md new file mode 100644 index 00000000..3cddc1b5 --- /dev/null +++ b/docs/old/API_docs_v55/types/MessageAction.md @@ -0,0 +1,43 @@ +--- +title: MessageAction +description: constructors and methods of type MessageAction +--- +## Type: MessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageActionEmpty](../constructors/messageActionEmpty.md) + +[messageActionChatCreate](../constructors/messageActionChatCreate.md) + +[messageActionChatEditTitle](../constructors/messageActionChatEditTitle.md) + +[messageActionChatEditPhoto](../constructors/messageActionChatEditPhoto.md) + +[messageActionChatDeletePhoto](../constructors/messageActionChatDeletePhoto.md) + +[messageActionChatAddUser](../constructors/messageActionChatAddUser.md) + +[messageActionChatDeleteUser](../constructors/messageActionChatDeleteUser.md) + +[messageActionChatJoinedByLink](../constructors/messageActionChatJoinedByLink.md) + +[messageActionChannelCreate](../constructors/messageActionChannelCreate.md) + +[messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) + +[messageActionChannelMigrateFrom](../constructors/messageActionChannelMigrateFrom.md) + +[messageActionPinMessage](../constructors/messageActionPinMessage.md) + +[messageActionHistoryClear](../constructors/messageActionHistoryClear.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/MessageEntity.md b/docs/old/API_docs_v55/types/MessageEntity.md new file mode 100644 index 00000000..22f1a0b4 --- /dev/null +++ b/docs/old/API_docs_v55/types/MessageEntity.md @@ -0,0 +1,43 @@ +--- +title: MessageEntity +description: constructors and methods of type MessageEntity +--- +## Type: MessageEntity +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageEntityUnknown](../constructors/messageEntityUnknown.md) + +[messageEntityMention](../constructors/messageEntityMention.md) + +[messageEntityHashtag](../constructors/messageEntityHashtag.md) + +[messageEntityBotCommand](../constructors/messageEntityBotCommand.md) + +[messageEntityUrl](../constructors/messageEntityUrl.md) + +[messageEntityEmail](../constructors/messageEntityEmail.md) + +[messageEntityBold](../constructors/messageEntityBold.md) + +[messageEntityItalic](../constructors/messageEntityItalic.md) + +[messageEntityCode](../constructors/messageEntityCode.md) + +[messageEntityPre](../constructors/messageEntityPre.md) + +[messageEntityTextUrl](../constructors/messageEntityTextUrl.md) + +[messageEntityMentionName](../constructors/messageEntityMentionName.md) + +[inputMessageEntityMentionName](../constructors/inputMessageEntityMentionName.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/MessageFwdHeader.md b/docs/old/API_docs_v55/types/MessageFwdHeader.md new file mode 100644 index 00000000..df742e47 --- /dev/null +++ b/docs/old/API_docs_v55/types/MessageFwdHeader.md @@ -0,0 +1,19 @@ +--- +title: MessageFwdHeader +description: constructors and methods of type MessageFwdHeader +--- +## Type: MessageFwdHeader +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageFwdHeader](../constructors/messageFwdHeader.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/MessageMedia.md b/docs/old/API_docs_v55/types/MessageMedia.md new file mode 100644 index 00000000..0809a15b --- /dev/null +++ b/docs/old/API_docs_v55/types/MessageMedia.md @@ -0,0 +1,35 @@ +--- +title: MessageMedia +description: constructors and methods of type MessageMedia +--- +## Type: MessageMedia +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageMediaEmpty](../constructors/messageMediaEmpty.md) + +[messageMediaPhoto](../constructors/messageMediaPhoto.md) + +[messageMediaGeo](../constructors/messageMediaGeo.md) + +[messageMediaContact](../constructors/messageMediaContact.md) + +[messageMediaUnsupported](../constructors/messageMediaUnsupported.md) + +[messageMediaDocument](../constructors/messageMediaDocument.md) + +[messageMediaWebPage](../constructors/messageMediaWebPage.md) + +[messageMediaVenue](../constructors/messageMediaVenue.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md) + + + diff --git a/docs/old/API_docs_v55/types/MessageRange.md b/docs/old/API_docs_v55/types/MessageRange.md new file mode 100644 index 00000000..e2226ae8 --- /dev/null +++ b/docs/old/API_docs_v55/types/MessageRange.md @@ -0,0 +1,19 @@ +--- +title: MessageRange +description: constructors and methods of type MessageRange +--- +## Type: MessageRange +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messageRange](../constructors/messageRange.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/MessagesFilter.md b/docs/old/API_docs_v55/types/MessagesFilter.md new file mode 100644 index 00000000..00bd6bda --- /dev/null +++ b/docs/old/API_docs_v55/types/MessagesFilter.md @@ -0,0 +1,39 @@ +--- +title: MessagesFilter +description: constructors and methods of type MessagesFilter +--- +## Type: MessagesFilter +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) + +[inputMessagesFilterPhotos](../constructors/inputMessagesFilterPhotos.md) + +[inputMessagesFilterVideo](../constructors/inputMessagesFilterVideo.md) + +[inputMessagesFilterPhotoVideo](../constructors/inputMessagesFilterPhotoVideo.md) + +[inputMessagesFilterPhotoVideoDocuments](../constructors/inputMessagesFilterPhotoVideoDocuments.md) + +[inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) + +[inputMessagesFilterUrl](../constructors/inputMessagesFilterUrl.md) + +[inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) + +[inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) + +[inputMessagesFilterMusic](../constructors/inputMessagesFilterMusic.md) + +[inputMessagesFilterChatPhotos](../constructors/inputMessagesFilterChatPhotos.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/NearestDc.md b/docs/old/API_docs_v55/types/NearestDc.md new file mode 100644 index 00000000..5068710d --- /dev/null +++ b/docs/old/API_docs_v55/types/NearestDc.md @@ -0,0 +1,21 @@ +--- +title: NearestDc +description: constructors and methods of type NearestDc +--- +## Type: NearestDc +[Back to types index](index.md) + + + +### Possible values (constructors): + +[nearestDc](../constructors/nearestDc.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getNearestDc](../methods/help_getNearestDc.md) + + + diff --git a/docs/old/API_docs_v55/types/NotifyPeer.md b/docs/old/API_docs_v55/types/NotifyPeer.md new file mode 100644 index 00000000..c9a5b684 --- /dev/null +++ b/docs/old/API_docs_v55/types/NotifyPeer.md @@ -0,0 +1,25 @@ +--- +title: NotifyPeer +description: constructors and methods of type NotifyPeer +--- +## Type: NotifyPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[notifyPeer](../constructors/notifyPeer.md) + +[notifyUsers](../constructors/notifyUsers.md) + +[notifyChats](../constructors/notifyChats.md) + +[notifyAll](../constructors/notifyAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Null.md b/docs/old/API_docs_v55/types/Null.md new file mode 100644 index 00000000..64470311 --- /dev/null +++ b/docs/old/API_docs_v55/types/Null.md @@ -0,0 +1,19 @@ +--- +title: Null +description: constructors and methods of type Null +--- +## Type: Null +[Back to types index](index.md) + + + +### Possible values (constructors): + +[null](../constructors/null.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Peer.md b/docs/old/API_docs_v55/types/Peer.md new file mode 100644 index 00000000..d4aa8884 --- /dev/null +++ b/docs/old/API_docs_v55/types/Peer.md @@ -0,0 +1,23 @@ +--- +title: Peer +description: constructors and methods of type Peer +--- +## Type: Peer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerUser](../constructors/peerUser.md) + +[peerChat](../constructors/peerChat.md) + +[peerChannel](../constructors/peerChannel.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/PeerNotifyEvents.md b/docs/old/API_docs_v55/types/PeerNotifyEvents.md new file mode 100644 index 00000000..4c70898a --- /dev/null +++ b/docs/old/API_docs_v55/types/PeerNotifyEvents.md @@ -0,0 +1,21 @@ +--- +title: PeerNotifyEvents +description: constructors and methods of type PeerNotifyEvents +--- +## Type: PeerNotifyEvents +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) + +[peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/PeerNotifySettings.md b/docs/old/API_docs_v55/types/PeerNotifySettings.md new file mode 100644 index 00000000..65db3e5b --- /dev/null +++ b/docs/old/API_docs_v55/types/PeerNotifySettings.md @@ -0,0 +1,23 @@ +--- +title: PeerNotifySettings +description: constructors and methods of type PeerNotifySettings +--- +## Type: PeerNotifySettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) + +[peerNotifySettings](../constructors/peerNotifySettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getNotifySettings](../methods/account_getNotifySettings.md) + + + diff --git a/docs/old/API_docs_v55/types/PeerSettings.md b/docs/old/API_docs_v55/types/PeerSettings.md new file mode 100644 index 00000000..b08909e8 --- /dev/null +++ b/docs/old/API_docs_v55/types/PeerSettings.md @@ -0,0 +1,21 @@ +--- +title: PeerSettings +description: constructors and methods of type PeerSettings +--- +## Type: PeerSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[peerSettings](../constructors/peerSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerSettings](../methods/messages_getPeerSettings.md) + + + diff --git a/docs/old/API_docs_v55/types/Photo.md b/docs/old/API_docs_v55/types/Photo.md new file mode 100644 index 00000000..40ee0717 --- /dev/null +++ b/docs/old/API_docs_v55/types/Photo.md @@ -0,0 +1,21 @@ +--- +title: Photo +description: constructors and methods of type Photo +--- +## Type: Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoEmpty](../constructors/photoEmpty.md) + +[photo](../constructors/photo.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/PhotoSize.md b/docs/old/API_docs_v55/types/PhotoSize.md new file mode 100644 index 00000000..c62ec0ae --- /dev/null +++ b/docs/old/API_docs_v55/types/PhotoSize.md @@ -0,0 +1,23 @@ +--- +title: PhotoSize +description: constructors and methods of type PhotoSize +--- +## Type: PhotoSize +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photoSizeEmpty](../constructors/photoSizeEmpty.md) + +[photoSize](../constructors/photoSize.md) + +[photoCachedSize](../constructors/photoCachedSize.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/PrivacyKey.md b/docs/old/API_docs_v55/types/PrivacyKey.md new file mode 100644 index 00000000..e0c366bf --- /dev/null +++ b/docs/old/API_docs_v55/types/PrivacyKey.md @@ -0,0 +1,21 @@ +--- +title: PrivacyKey +description: constructors and methods of type PrivacyKey +--- +## Type: PrivacyKey +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) + +[privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/PrivacyRule.md b/docs/old/API_docs_v55/types/PrivacyRule.md new file mode 100644 index 00000000..39554bf1 --- /dev/null +++ b/docs/old/API_docs_v55/types/PrivacyRule.md @@ -0,0 +1,29 @@ +--- +title: PrivacyRule +description: constructors and methods of type PrivacyRule +--- +## Type: PrivacyRule +[Back to types index](index.md) + + + +### Possible values (constructors): + +[privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) + +[privacyValueAllowAll](../constructors/privacyValueAllowAll.md) + +[privacyValueAllowUsers](../constructors/privacyValueAllowUsers.md) + +[privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) + +[privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) + +[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ReceivedNotifyMessage.md b/docs/old/API_docs_v55/types/ReceivedNotifyMessage.md new file mode 100644 index 00000000..e403f2ab --- /dev/null +++ b/docs/old/API_docs_v55/types/ReceivedNotifyMessage.md @@ -0,0 +1,21 @@ +--- +title: ReceivedNotifyMessage +description: constructors and methods of type ReceivedNotifyMessage +--- +## Type: ReceivedNotifyMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[receivedNotifyMessage](../constructors/receivedNotifyMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->receivedMessages](../methods/messages_receivedMessages.md) + + + diff --git a/docs/old/API_docs_v55/types/ReplyMarkup.md b/docs/old/API_docs_v55/types/ReplyMarkup.md new file mode 100644 index 00000000..6e4d41bc --- /dev/null +++ b/docs/old/API_docs_v55/types/ReplyMarkup.md @@ -0,0 +1,25 @@ +--- +title: ReplyMarkup +description: constructors and methods of type ReplyMarkup +--- +## Type: ReplyMarkup +[Back to types index](index.md) + + + +### Possible values (constructors): + +[replyKeyboardHide](../constructors/replyKeyboardHide.md) + +[replyKeyboardForceReply](../constructors/replyKeyboardForceReply.md) + +[replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) + +[replyInlineMarkup](../constructors/replyInlineMarkup.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/ReportReason.md b/docs/old/API_docs_v55/types/ReportReason.md new file mode 100644 index 00000000..d04f6e1d --- /dev/null +++ b/docs/old/API_docs_v55/types/ReportReason.md @@ -0,0 +1,25 @@ +--- +title: ReportReason +description: constructors and methods of type ReportReason +--- +## Type: ReportReason +[Back to types index](index.md) + + + +### Possible values (constructors): + +[inputReportReasonSpam](../constructors/inputReportReasonSpam.md) + +[inputReportReasonViolence](../constructors/inputReportReasonViolence.md) + +[inputReportReasonPornography](../constructors/inputReportReasonPornography.md) + +[inputReportReasonOther](../constructors/inputReportReasonOther.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/SendMessageAction.md b/docs/old/API_docs_v55/types/SendMessageAction.md new file mode 100644 index 00000000..3e57efde --- /dev/null +++ b/docs/old/API_docs_v55/types/SendMessageAction.md @@ -0,0 +1,37 @@ +--- +title: SendMessageAction +description: constructors and methods of type SendMessageAction +--- +## Type: SendMessageAction +[Back to types index](index.md) + + + +### Possible values (constructors): + +[sendMessageTypingAction](../constructors/sendMessageTypingAction.md) + +[sendMessageCancelAction](../constructors/sendMessageCancelAction.md) + +[sendMessageRecordVideoAction](../constructors/sendMessageRecordVideoAction.md) + +[sendMessageUploadVideoAction](../constructors/sendMessageUploadVideoAction.md) + +[sendMessageRecordAudioAction](../constructors/sendMessageRecordAudioAction.md) + +[sendMessageUploadAudioAction](../constructors/sendMessageUploadAudioAction.md) + +[sendMessageUploadPhotoAction](../constructors/sendMessageUploadPhotoAction.md) + +[sendMessageUploadDocumentAction](../constructors/sendMessageUploadDocumentAction.md) + +[sendMessageGeoLocationAction](../constructors/sendMessageGeoLocationAction.md) + +[sendMessageChooseContactAction](../constructors/sendMessageChooseContactAction.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/StickerPack.md b/docs/old/API_docs_v55/types/StickerPack.md new file mode 100644 index 00000000..18879439 --- /dev/null +++ b/docs/old/API_docs_v55/types/StickerPack.md @@ -0,0 +1,19 @@ +--- +title: StickerPack +description: constructors and methods of type StickerPack +--- +## Type: StickerPack +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerPack](../constructors/stickerPack.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/StickerSet.md b/docs/old/API_docs_v55/types/StickerSet.md new file mode 100644 index 00000000..01141ecd --- /dev/null +++ b/docs/old/API_docs_v55/types/StickerSet.md @@ -0,0 +1,19 @@ +--- +title: StickerSet +description: constructors and methods of type StickerSet +--- +## Type: StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[stickerSet](../constructors/stickerSet.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/StickerSetCovered.md b/docs/old/API_docs_v55/types/StickerSetCovered.md similarity index 100% rename from docs/API_docs_55/types/StickerSetCovered.md rename to docs/old/API_docs_v55/types/StickerSetCovered.md diff --git a/docs/old/API_docs_v55/types/TopPeer.md b/docs/old/API_docs_v55/types/TopPeer.md new file mode 100644 index 00000000..a9334990 --- /dev/null +++ b/docs/old/API_docs_v55/types/TopPeer.md @@ -0,0 +1,19 @@ +--- +title: TopPeer +description: constructors and methods of type TopPeer +--- +## Type: TopPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[topPeer](../constructors/topPeer.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/TopPeerCategory.md b/docs/old/API_docs_v55/types/TopPeerCategory.md new file mode 100644 index 00000000..5ada15d4 --- /dev/null +++ b/docs/old/API_docs_v55/types/TopPeerCategory.md @@ -0,0 +1,27 @@ +--- +title: TopPeerCategory +description: constructors and methods of type TopPeerCategory +--- +## Type: TopPeerCategory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[topPeerCategoryBotsPM](../constructors/topPeerCategoryBotsPM.md) + +[topPeerCategoryBotsInline](../constructors/topPeerCategoryBotsInline.md) + +[topPeerCategoryCorrespondents](../constructors/topPeerCategoryCorrespondents.md) + +[topPeerCategoryGroups](../constructors/topPeerCategoryGroups.md) + +[topPeerCategoryChannels](../constructors/topPeerCategoryChannels.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/TopPeerCategoryPeers.md b/docs/old/API_docs_v55/types/TopPeerCategoryPeers.md new file mode 100644 index 00000000..ad56620b --- /dev/null +++ b/docs/old/API_docs_v55/types/TopPeerCategoryPeers.md @@ -0,0 +1,19 @@ +--- +title: TopPeerCategoryPeers +description: constructors and methods of type TopPeerCategoryPeers +--- +## Type: TopPeerCategoryPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[topPeerCategoryPeers](../constructors/topPeerCategoryPeers.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/True.md b/docs/old/API_docs_v55/types/True.md new file mode 100644 index 00000000..4d93e161 --- /dev/null +++ b/docs/old/API_docs_v55/types/True.md @@ -0,0 +1,19 @@ +--- +title: True +description: constructors and methods of type True +--- +## Type: True +[Back to types index](index.md) + + + +### Possible values (constructors): + +[true](../constructors/true.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/API_docs_55/types/Update.md b/docs/old/API_docs_v55/types/Update.md similarity index 100% rename from docs/API_docs_55/types/Update.md rename to docs/old/API_docs_v55/types/Update.md diff --git a/docs/old/API_docs_v55/types/Updates.md b/docs/old/API_docs_v55/types/Updates.md new file mode 100644 index 00000000..760deb17 --- /dev/null +++ b/docs/old/API_docs_v55/types/Updates.md @@ -0,0 +1,89 @@ +--- +title: Updates +description: constructors and methods of type Updates +--- +## Type: Updates +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updatesTooLong](../constructors/updatesTooLong.md) + +[updateShortMessage](../constructors/updateShortMessage.md) + +[updateShortChatMessage](../constructors/updateShortChatMessage.md) + +[updateShort](../constructors/updateShort.md) + +[updatesCombined](../constructors/updatesCombined.md) + +[updates](../constructors/updates.md) + +[updateShortSentMessage](../constructors/updateShortSentMessage.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendMessage](../methods/messages_sendMessage.md) + +[$MadelineProto->messages->sendMedia](../methods/messages_sendMedia.md) + +[$MadelineProto->messages->forwardMessages](../methods/messages_forwardMessages.md) + +[$MadelineProto->messages->editChatTitle](../methods/messages_editChatTitle.md) + +[$MadelineProto->messages->editChatPhoto](../methods/messages_editChatPhoto.md) + +[$MadelineProto->messages->addChatUser](../methods/messages_addChatUser.md) + +[$MadelineProto->messages->deleteChatUser](../methods/messages_deleteChatUser.md) + +[$MadelineProto->messages->createChat](../methods/messages_createChat.md) + +[$MadelineProto->messages->forwardMessage](../methods/messages_forwardMessage.md) + +[$MadelineProto->messages->sendBroadcast](../methods/messages_sendBroadcast.md) + +[$MadelineProto->messages->importChatInvite](../methods/messages_importChatInvite.md) + +[$MadelineProto->messages->startBot](../methods/messages_startBot.md) + +[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md) + +[$MadelineProto->channels->editAdmin](../methods/channels_editAdmin.md) + +[$MadelineProto->channels->editTitle](../methods/channels_editTitle.md) + +[$MadelineProto->channels->editPhoto](../methods/channels_editPhoto.md) + +[$MadelineProto->channels->joinChannel](../methods/channels_joinChannel.md) + +[$MadelineProto->channels->leaveChannel](../methods/channels_leaveChannel.md) + +[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md) + +[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md) + +[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md) + +[$MadelineProto->messages->toggleChatAdmins](../methods/messages_toggleChatAdmins.md) + +[$MadelineProto->messages->migrateChat](../methods/messages_migrateChat.md) + +[$MadelineProto->messages->sendInlineBotResult](../methods/messages_sendInlineBotResult.md) + +[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md) + +[$MadelineProto->channels->toggleSignatures](../methods/channels_toggleSignatures.md) + +[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md) + +[$MadelineProto->messages->editMessage](../methods/messages_editMessage.md) + +[$MadelineProto->messages->getAllDrafts](../methods/messages_getAllDrafts.md) + + + diff --git a/docs/old/API_docs_v55/types/User.md b/docs/old/API_docs_v55/types/User.md new file mode 100644 index 00000000..63494937 --- /dev/null +++ b/docs/old/API_docs_v55/types/User.md @@ -0,0 +1,31 @@ +--- +title: User +description: constructors and methods of type User +--- +## Type: User +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userEmpty](../constructors/userEmpty.md) + +[user](../constructors/user.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->updateProfile](../methods/account_updateProfile.md) + +[$MadelineProto->users->getUsers](../methods/users_getUsers.md) + +[$MadelineProto->contacts->importCard](../methods/contacts_importCard.md) + +[$MadelineProto->account->updateUsername](../methods/account_updateUsername.md) + +[$MadelineProto->account->changePhone](../methods/account_changePhone.md) + + + diff --git a/docs/old/API_docs_v55/types/UserFull.md b/docs/old/API_docs_v55/types/UserFull.md new file mode 100644 index 00000000..6a761784 --- /dev/null +++ b/docs/old/API_docs_v55/types/UserFull.md @@ -0,0 +1,21 @@ +--- +title: UserFull +description: constructors and methods of type UserFull +--- +## Type: UserFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userFull](../constructors/userFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->users->getFullUser](../methods/users_getFullUser.md) + + + diff --git a/docs/old/API_docs_v55/types/UserProfilePhoto.md b/docs/old/API_docs_v55/types/UserProfilePhoto.md new file mode 100644 index 00000000..62eb560c --- /dev/null +++ b/docs/old/API_docs_v55/types/UserProfilePhoto.md @@ -0,0 +1,23 @@ +--- +title: UserProfilePhoto +description: constructors and methods of type UserProfilePhoto +--- +## Type: UserProfilePhoto +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) + +[userProfilePhoto](../constructors/userProfilePhoto.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->updateProfilePhoto](../methods/photos_updateProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v55/types/UserStatus.md b/docs/old/API_docs_v55/types/UserStatus.md new file mode 100644 index 00000000..87eeb5d0 --- /dev/null +++ b/docs/old/API_docs_v55/types/UserStatus.md @@ -0,0 +1,29 @@ +--- +title: UserStatus +description: constructors and methods of type UserStatus +--- +## Type: UserStatus +[Back to types index](index.md) + + + +### Possible values (constructors): + +[userStatusEmpty](../constructors/userStatusEmpty.md) + +[userStatusOnline](../constructors/userStatusOnline.md) + +[userStatusOffline](../constructors/userStatusOffline.md) + +[userStatusRecently](../constructors/userStatusRecently.md) + +[userStatusLastWeek](../constructors/userStatusLastWeek.md) + +[userStatusLastMonth](../constructors/userStatusLastMonth.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/Vector t.md b/docs/old/API_docs_v55/types/Vector t.md new file mode 100644 index 00000000..06b943f9 --- /dev/null +++ b/docs/old/API_docs_v55/types/Vector t.md @@ -0,0 +1,19 @@ +--- +title: Vector t +description: constructors and methods of type Vector t +--- +## Type: Vector t +[Back to types index](index.md) + + + +### Possible values (constructors): + +[vector](../constructors/vector.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/WallPaper.md b/docs/old/API_docs_v55/types/WallPaper.md new file mode 100644 index 00000000..f213b9d5 --- /dev/null +++ b/docs/old/API_docs_v55/types/WallPaper.md @@ -0,0 +1,23 @@ +--- +title: WallPaper +description: constructors and methods of type WallPaper +--- +## Type: WallPaper +[Back to types index](index.md) + + + +### Possible values (constructors): + +[wallPaper](../constructors/wallPaper.md) + +[wallPaperSolid](../constructors/wallPaperSolid.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getWallPapers](../methods/account_getWallPapers.md) + + + diff --git a/docs/old/API_docs_v55/types/WebPage.md b/docs/old/API_docs_v55/types/WebPage.md new file mode 100644 index 00000000..46f8418d --- /dev/null +++ b/docs/old/API_docs_v55/types/WebPage.md @@ -0,0 +1,23 @@ +--- +title: WebPage +description: constructors and methods of type WebPage +--- +## Type: WebPage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[webPageEmpty](../constructors/webPageEmpty.md) + +[webPagePending](../constructors/webPagePending.md) + +[webPage](../constructors/webPage.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/X.md b/docs/old/API_docs_v55/types/X.md new file mode 100644 index 00000000..ca50e8ae --- /dev/null +++ b/docs/old/API_docs_v55/types/X.md @@ -0,0 +1,8 @@ +--- +title: X +description: Represents a TL serialized payload +--- +## Type: X +[Back to constructor index](index.md) + +Represents a TL serialized payload. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/account_Authorizations.md b/docs/old/API_docs_v55/types/account_Authorizations.md new file mode 100644 index 00000000..b3b3cfb8 --- /dev/null +++ b/docs/old/API_docs_v55/types/account_Authorizations.md @@ -0,0 +1,21 @@ +--- +title: account_Authorizations +description: constructors and methods of type account_Authorizations +--- +## Type: account\_Authorizations +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_authorizations](../constructors/account_authorizations.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getAuthorizations](../methods/account_getAuthorizations.md) + + + diff --git a/docs/old/API_docs_v55/types/account_Password.md b/docs/old/API_docs_v55/types/account_Password.md new file mode 100644 index 00000000..9b97c70e --- /dev/null +++ b/docs/old/API_docs_v55/types/account_Password.md @@ -0,0 +1,23 @@ +--- +title: account_Password +description: constructors and methods of type account_Password +--- +## Type: account\_Password +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_noPassword](../constructors/account_noPassword.md) + +[account\_password](../constructors/account_password.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPassword](../methods/account_getPassword.md) + + + diff --git a/docs/old/API_docs_v55/types/account_PasswordInputSettings.md b/docs/old/API_docs_v55/types/account_PasswordInputSettings.md new file mode 100644 index 00000000..9e93a2a7 --- /dev/null +++ b/docs/old/API_docs_v55/types/account_PasswordInputSettings.md @@ -0,0 +1,19 @@ +--- +title: account_PasswordInputSettings +description: constructors and methods of type account_PasswordInputSettings +--- +## Type: account\_PasswordInputSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/account_PasswordSettings.md b/docs/old/API_docs_v55/types/account_PasswordSettings.md new file mode 100644 index 00000000..cc76f319 --- /dev/null +++ b/docs/old/API_docs_v55/types/account_PasswordSettings.md @@ -0,0 +1,21 @@ +--- +title: account_PasswordSettings +description: constructors and methods of type account_PasswordSettings +--- +## Type: account\_PasswordSettings +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_passwordSettings](../constructors/account_passwordSettings.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPasswordSettings](../methods/account_getPasswordSettings.md) + + + diff --git a/docs/old/API_docs_v55/types/account_PrivacyRules.md b/docs/old/API_docs_v55/types/account_PrivacyRules.md new file mode 100644 index 00000000..195a8719 --- /dev/null +++ b/docs/old/API_docs_v55/types/account_PrivacyRules.md @@ -0,0 +1,23 @@ +--- +title: account_PrivacyRules +description: constructors and methods of type account_PrivacyRules +--- +## Type: account\_PrivacyRules +[Back to types index](index.md) + + + +### Possible values (constructors): + +[account\_privacyRules](../constructors/account_privacyRules.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->account->getPrivacy](../methods/account_getPrivacy.md) + +[$MadelineProto->account->setPrivacy](../methods/account_setPrivacy.md) + + + diff --git a/docs/old/API_docs_v55/types/auth_Authorization.md b/docs/old/API_docs_v55/types/auth_Authorization.md new file mode 100644 index 00000000..5f188c84 --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_Authorization.md @@ -0,0 +1,31 @@ +--- +title: auth_Authorization +description: constructors and methods of type auth_Authorization +--- +## Type: auth\_Authorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_authorization](../constructors/auth_authorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->signUp](../methods/auth_signUp.md) + +[$MadelineProto->auth->signIn](../methods/auth_signIn.md) + +[$MadelineProto->auth->importAuthorization](../methods/auth_importAuthorization.md) + +[$MadelineProto->auth->importBotAuthorization](../methods/auth_importBotAuthorization.md) + +[$MadelineProto->auth->checkPassword](../methods/auth_checkPassword.md) + +[$MadelineProto->auth->recoverPassword](../methods/auth_recoverPassword.md) + + + diff --git a/docs/old/API_docs_v55/types/auth_CheckedPhone.md b/docs/old/API_docs_v55/types/auth_CheckedPhone.md new file mode 100644 index 00000000..350d64e9 --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_CheckedPhone.md @@ -0,0 +1,21 @@ +--- +title: auth_CheckedPhone +description: constructors and methods of type auth_CheckedPhone +--- +## Type: auth\_CheckedPhone +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_checkedPhone](../constructors/auth_checkedPhone.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->checkPhone](../methods/auth_checkPhone.md) + + + diff --git a/docs/old/API_docs_v55/types/auth_CodeType.md b/docs/old/API_docs_v55/types/auth_CodeType.md new file mode 100644 index 00000000..34bffaa7 --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_CodeType.md @@ -0,0 +1,23 @@ +--- +title: auth_CodeType +description: constructors and methods of type auth_CodeType +--- +## Type: auth\_CodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_codeTypeSms](../constructors/auth_codeTypeSms.md) + +[auth\_codeTypeCall](../constructors/auth_codeTypeCall.md) + +[auth\_codeTypeFlashCall](../constructors/auth_codeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/auth_ExportedAuthorization.md b/docs/old/API_docs_v55/types/auth_ExportedAuthorization.md new file mode 100644 index 00000000..83c8dc5e --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_ExportedAuthorization.md @@ -0,0 +1,21 @@ +--- +title: auth_ExportedAuthorization +description: constructors and methods of type auth_ExportedAuthorization +--- +## Type: auth\_ExportedAuthorization +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_exportedAuthorization](../constructors/auth_exportedAuthorization.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->exportAuthorization](../methods/auth_exportAuthorization.md) + + + diff --git a/docs/old/API_docs_v55/types/auth_PasswordRecovery.md b/docs/old/API_docs_v55/types/auth_PasswordRecovery.md new file mode 100644 index 00000000..2a453cb9 --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_PasswordRecovery.md @@ -0,0 +1,21 @@ +--- +title: auth_PasswordRecovery +description: constructors and methods of type auth_PasswordRecovery +--- +## Type: auth\_PasswordRecovery +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->auth->requestPasswordRecovery](../methods/auth_requestPasswordRecovery.md) + + + diff --git a/docs/API_docs_55/types/auth_SentCode.md b/docs/old/API_docs_v55/types/auth_SentCode.md similarity index 100% rename from docs/API_docs_55/types/auth_SentCode.md rename to docs/old/API_docs_v55/types/auth_SentCode.md diff --git a/docs/old/API_docs_v55/types/auth_SentCodeType.md b/docs/old/API_docs_v55/types/auth_SentCodeType.md new file mode 100644 index 00000000..d86eaa86 --- /dev/null +++ b/docs/old/API_docs_v55/types/auth_SentCodeType.md @@ -0,0 +1,25 @@ +--- +title: auth_SentCodeType +description: constructors and methods of type auth_SentCodeType +--- +## Type: auth\_SentCodeType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) + +[auth\_sentCodeTypeSms](../constructors/auth_sentCodeTypeSms.md) + +[auth\_sentCodeTypeCall](../constructors/auth_sentCodeTypeCall.md) + +[auth\_sentCodeTypeFlashCall](../constructors/auth_sentCodeTypeFlashCall.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/bytes.md b/docs/old/API_docs_v55/types/bytes.md new file mode 100644 index 00000000..583bb956 --- /dev/null +++ b/docs/old/API_docs_v55/types/bytes.md @@ -0,0 +1,8 @@ +--- +title: bytes +description: A string of variable length +--- +## Type: bytes +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/channels_ChannelParticipant.md b/docs/old/API_docs_v55/types/channels_ChannelParticipant.md new file mode 100644 index 00000000..eee6bded --- /dev/null +++ b/docs/old/API_docs_v55/types/channels_ChannelParticipant.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipant +description: constructors and methods of type channels_ChannelParticipant +--- +## Type: channels\_ChannelParticipant +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipant](../constructors/channels_channelParticipant.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipant](../methods/channels_getParticipant.md) + + + diff --git a/docs/old/API_docs_v55/types/channels_ChannelParticipants.md b/docs/old/API_docs_v55/types/channels_ChannelParticipants.md new file mode 100644 index 00000000..c5104b22 --- /dev/null +++ b/docs/old/API_docs_v55/types/channels_ChannelParticipants.md @@ -0,0 +1,21 @@ +--- +title: channels_ChannelParticipants +description: constructors and methods of type channels_ChannelParticipants +--- +## Type: channels\_ChannelParticipants +[Back to types index](index.md) + + + +### Possible values (constructors): + +[channels\_channelParticipants](../constructors/channels_channelParticipants.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->channels->getParticipants](../methods/channels_getParticipants.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_Blocked.md b/docs/old/API_docs_v55/types/contacts_Blocked.md new file mode 100644 index 00000000..d1c4bad6 --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_Blocked.md @@ -0,0 +1,23 @@ +--- +title: contacts_Blocked +description: constructors and methods of type contacts_Blocked +--- +## Type: contacts\_Blocked +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_blocked](../constructors/contacts_blocked.md) + +[contacts\_blockedSlice](../constructors/contacts_blockedSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getBlocked](../methods/contacts_getBlocked.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_Contacts.md b/docs/old/API_docs_v55/types/contacts_Contacts.md new file mode 100644 index 00000000..cc08280b --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_Contacts.md @@ -0,0 +1,23 @@ +--- +title: contacts_Contacts +description: constructors and methods of type contacts_Contacts +--- +## Type: contacts\_Contacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_contactsNotModified](../constructors/contacts_contactsNotModified.md) + +[contacts\_contacts](../constructors/contacts_contacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getContacts](../methods/contacts_getContacts.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_Found.md b/docs/old/API_docs_v55/types/contacts_Found.md new file mode 100644 index 00000000..4ff40d5d --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_Found.md @@ -0,0 +1,21 @@ +--- +title: contacts_Found +description: constructors and methods of type contacts_Found +--- +## Type: contacts\_Found +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_found](../constructors/contacts_found.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->search](../methods/contacts_search.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_ImportedContacts.md b/docs/old/API_docs_v55/types/contacts_ImportedContacts.md new file mode 100644 index 00000000..4fb75b51 --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_ImportedContacts.md @@ -0,0 +1,21 @@ +--- +title: contacts_ImportedContacts +description: constructors and methods of type contacts_ImportedContacts +--- +## Type: contacts\_ImportedContacts +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_importedContacts](../constructors/contacts_importedContacts.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->importContacts](../methods/contacts_importContacts.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_Link.md b/docs/old/API_docs_v55/types/contacts_Link.md new file mode 100644 index 00000000..9d71bf53 --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_Link.md @@ -0,0 +1,21 @@ +--- +title: contacts_Link +description: constructors and methods of type contacts_Link +--- +## Type: contacts\_Link +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_link](../constructors/contacts_link.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->deleteContact](../methods/contacts_deleteContact.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_ResolvedPeer.md b/docs/old/API_docs_v55/types/contacts_ResolvedPeer.md new file mode 100644 index 00000000..f59f4510 --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_ResolvedPeer.md @@ -0,0 +1,21 @@ +--- +title: contacts_ResolvedPeer +description: constructors and methods of type contacts_ResolvedPeer +--- +## Type: contacts\_ResolvedPeer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_resolvedPeer](../constructors/contacts_resolvedPeer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->resolveUsername](../methods/contacts_resolveUsername.md) + + + diff --git a/docs/old/API_docs_v55/types/contacts_TopPeers.md b/docs/old/API_docs_v55/types/contacts_TopPeers.md new file mode 100644 index 00000000..729e76d7 --- /dev/null +++ b/docs/old/API_docs_v55/types/contacts_TopPeers.md @@ -0,0 +1,23 @@ +--- +title: contacts_TopPeers +description: constructors and methods of type contacts_TopPeers +--- +## Type: contacts\_TopPeers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[contacts\_topPeersNotModified](../constructors/contacts_topPeersNotModified.md) + +[contacts\_topPeers](../constructors/contacts_topPeers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->contacts->getTopPeers](../methods/contacts_getTopPeers.md) + + + diff --git a/docs/old/API_docs_v55/types/double.md b/docs/old/API_docs_v55/types/double.md new file mode 100644 index 00000000..9e7ac255 --- /dev/null +++ b/docs/old/API_docs_v55/types/double.md @@ -0,0 +1,8 @@ +--- +title: double +description: A double precision floating point number +--- +## Type: double +[Back to constructor index](index.md) + +A double precision floating point number, single precision can also be used (float). \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/help_AppChangelog.md b/docs/old/API_docs_v55/types/help_AppChangelog.md new file mode 100644 index 00000000..624ea592 --- /dev/null +++ b/docs/old/API_docs_v55/types/help_AppChangelog.md @@ -0,0 +1,23 @@ +--- +title: help_AppChangelog +description: constructors and methods of type help_AppChangelog +--- +## Type: help\_AppChangelog +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appChangelogEmpty](../constructors/help_appChangelogEmpty.md) + +[help\_appChangelog](../constructors/help_appChangelog.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md) + + + diff --git a/docs/old/API_docs_v55/types/help_AppUpdate.md b/docs/old/API_docs_v55/types/help_AppUpdate.md new file mode 100644 index 00000000..92cabbf6 --- /dev/null +++ b/docs/old/API_docs_v55/types/help_AppUpdate.md @@ -0,0 +1,23 @@ +--- +title: help_AppUpdate +description: constructors and methods of type help_AppUpdate +--- +## Type: help\_AppUpdate +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_appUpdate](../constructors/help_appUpdate.md) + +[help\_noAppUpdate](../constructors/help_noAppUpdate.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getAppUpdate](../methods/help_getAppUpdate.md) + + + diff --git a/docs/old/API_docs_v55/types/help_InviteText.md b/docs/old/API_docs_v55/types/help_InviteText.md new file mode 100644 index 00000000..15442f2b --- /dev/null +++ b/docs/old/API_docs_v55/types/help_InviteText.md @@ -0,0 +1,21 @@ +--- +title: help_InviteText +description: constructors and methods of type help_InviteText +--- +## Type: help\_InviteText +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_inviteText](../constructors/help_inviteText.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getInviteText](../methods/help_getInviteText.md) + + + diff --git a/docs/old/API_docs_v55/types/help_Support.md b/docs/old/API_docs_v55/types/help_Support.md new file mode 100644 index 00000000..6c184734 --- /dev/null +++ b/docs/old/API_docs_v55/types/help_Support.md @@ -0,0 +1,21 @@ +--- +title: help_Support +description: constructors and methods of type help_Support +--- +## Type: help\_Support +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_support](../constructors/help_support.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getSupport](../methods/help_getSupport.md) + + + diff --git a/docs/old/API_docs_v55/types/help_TermsOfService.md b/docs/old/API_docs_v55/types/help_TermsOfService.md new file mode 100644 index 00000000..b57b19cc --- /dev/null +++ b/docs/old/API_docs_v55/types/help_TermsOfService.md @@ -0,0 +1,21 @@ +--- +title: help_TermsOfService +description: constructors and methods of type help_TermsOfService +--- +## Type: help\_TermsOfService +[Back to types index](index.md) + + + +### Possible values (constructors): + +[help\_termsOfService](../constructors/help_termsOfService.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->help->getTermsOfService](../methods/help_getTermsOfService.md) + + + diff --git a/docs/API_docs_55/types/index.md b/docs/old/API_docs_v55/types/index.md similarity index 100% rename from docs/API_docs_55/types/index.md rename to docs/old/API_docs_v55/types/index.md diff --git a/docs/old/API_docs_v55/types/int.md b/docs/old/API_docs_v55/types/int.md new file mode 100644 index 00000000..a8ba6976 --- /dev/null +++ b/docs/old/API_docs_v55/types/int.md @@ -0,0 +1,8 @@ +--- +title: integer +description: A 32 bit signed integer ranging from -2147483647 to 2147483647 +--- +## Type: int +[Back to constructor index](index.md) + +A 32 bit signed integer ranging from `-2147483647` to `2147483647`. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/int128.md b/docs/old/API_docs_v55/types/int128.md new file mode 100644 index 00000000..43471bd6 --- /dev/null +++ b/docs/old/API_docs_v55/types/int128.md @@ -0,0 +1,8 @@ +--- +title: int128 +description: A 128 bit signed integer +--- +## Type: int128 +[Back to constructor index](index.md) + +A 128 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/int256.md b/docs/old/API_docs_v55/types/int256.md new file mode 100644 index 00000000..73e056e8 --- /dev/null +++ b/docs/old/API_docs_v55/types/int256.md @@ -0,0 +1,8 @@ +--- +title: int256 +description: A 256 bit signed integer +--- +## Type: int256 +[Back to constructor index](index.md) + +A 256 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/int512.md b/docs/old/API_docs_v55/types/int512.md new file mode 100644 index 00000000..0b3b1a55 --- /dev/null +++ b/docs/old/API_docs_v55/types/int512.md @@ -0,0 +1,8 @@ +--- +title: int512 +description: A 512 bit signed integer +--- +## Type: int512 +[Back to constructor index](index.md) + +A 512 bit signed integer represented in little-endian base256 (`string`) format. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/long.md b/docs/old/API_docs_v55/types/long.md new file mode 100644 index 00000000..487295f5 --- /dev/null +++ b/docs/old/API_docs_v55/types/long.md @@ -0,0 +1,8 @@ +--- +title: long +description: A 32 bit signed integer ranging from -9223372036854775807 to 9223372036854775807 +--- +## Type: long +[Back to constructor index](index.md) + +A 64 bit signed integer ranging from `-9223372036854775807` to `9223372036854775807`. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/messages_AffectedHistory.md b/docs/old/API_docs_v55/types/messages_AffectedHistory.md new file mode 100644 index 00000000..2c1e9d9a --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_AffectedHistory.md @@ -0,0 +1,23 @@ +--- +title: messages_AffectedHistory +description: constructors and methods of type messages_AffectedHistory +--- +## Type: messages\_AffectedHistory +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedHistory](../constructors/messages_affectedHistory.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md) + +[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_AffectedMessages.md b/docs/old/API_docs_v55/types/messages_AffectedMessages.md new file mode 100644 index 00000000..0ccb1a7f --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_AffectedMessages.md @@ -0,0 +1,27 @@ +--- +title: messages_AffectedMessages +description: constructors and methods of type messages_AffectedMessages +--- +## Type: messages\_AffectedMessages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_affectedMessages](../constructors/messages_affectedMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->readHistory](../methods/messages_readHistory.md) + +[$MadelineProto->messages->deleteMessages](../methods/messages_deleteMessages.md) + +[$MadelineProto->messages->readMessageContents](../methods/messages_readMessageContents.md) + +[$MadelineProto->channels->deleteMessages](../methods/channels_deleteMessages.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_AllStickers.md b/docs/old/API_docs_v55/types/messages_AllStickers.md new file mode 100644 index 00000000..8f4db1f3 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_AllStickers.md @@ -0,0 +1,23 @@ +--- +title: messages_AllStickers +description: constructors and methods of type messages_AllStickers +--- +## Type: messages\_AllStickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_allStickersNotModified](../constructors/messages_allStickersNotModified.md) + +[messages\_allStickers](../constructors/messages_allStickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getAllStickers](../methods/messages_getAllStickers.md) + + + diff --git a/docs/API_docs_55/types/messages_ArchivedStickers.md b/docs/old/API_docs_v55/types/messages_ArchivedStickers.md similarity index 100% rename from docs/API_docs_55/types/messages_ArchivedStickers.md rename to docs/old/API_docs_v55/types/messages_ArchivedStickers.md diff --git a/docs/old/API_docs_v55/types/messages_BotCallbackAnswer.md b/docs/old/API_docs_v55/types/messages_BotCallbackAnswer.md new file mode 100644 index 00000000..00b06cf1 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_BotCallbackAnswer.md @@ -0,0 +1,21 @@ +--- +title: messages_BotCallbackAnswer +description: constructors and methods of type messages_BotCallbackAnswer +--- +## Type: messages\_BotCallbackAnswer +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getBotCallbackAnswer](../methods/messages_getBotCallbackAnswer.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_BotResults.md b/docs/old/API_docs_v55/types/messages_BotResults.md new file mode 100644 index 00000000..e07a2e57 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_BotResults.md @@ -0,0 +1,21 @@ +--- +title: messages_BotResults +description: constructors and methods of type messages_BotResults +--- +## Type: messages\_BotResults +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_botResults](../constructors/messages_botResults.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getInlineBotResults](../methods/messages_getInlineBotResults.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_ChatFull.md b/docs/old/API_docs_v55/types/messages_ChatFull.md new file mode 100644 index 00000000..52040db4 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_ChatFull.md @@ -0,0 +1,23 @@ +--- +title: messages_ChatFull +description: constructors and methods of type messages_ChatFull +--- +## Type: messages\_ChatFull +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chatFull](../constructors/messages_chatFull.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getFullChat](../methods/messages_getFullChat.md) + +[$MadelineProto->channels->getFullChannel](../methods/channels_getFullChannel.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_Chats.md b/docs/old/API_docs_v55/types/messages_Chats.md new file mode 100644 index 00000000..dd0ab114 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_Chats.md @@ -0,0 +1,23 @@ +--- +title: messages_Chats +description: constructors and methods of type messages_Chats +--- +## Type: messages\_Chats +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_chats](../constructors/messages_chats.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getChats](../methods/messages_getChats.md) + +[$MadelineProto->channels->getChannels](../methods/channels_getChannels.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_DhConfig.md b/docs/old/API_docs_v55/types/messages_DhConfig.md new file mode 100644 index 00000000..86a5f919 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_DhConfig.md @@ -0,0 +1,23 @@ +--- +title: messages_DhConfig +description: constructors and methods of type messages_DhConfig +--- +## Type: messages\_DhConfig +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dhConfigNotModified](../constructors/messages_dhConfigNotModified.md) + +[messages\_dhConfig](../constructors/messages_dhConfig.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDhConfig](../methods/messages_getDhConfig.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_Dialogs.md b/docs/old/API_docs_v55/types/messages_Dialogs.md new file mode 100644 index 00000000..8ea2dc95 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_Dialogs.md @@ -0,0 +1,23 @@ +--- +title: messages_Dialogs +description: constructors and methods of type messages_Dialogs +--- +## Type: messages\_Dialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_dialogs](../constructors/messages_dialogs.md) + +[messages\_dialogsSlice](../constructors/messages_dialogsSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getDialogs](../methods/messages_getDialogs.md) + + + diff --git a/docs/API_docs_55/types/messages_FeaturedStickers.md b/docs/old/API_docs_v55/types/messages_FeaturedStickers.md similarity index 100% rename from docs/API_docs_55/types/messages_FeaturedStickers.md rename to docs/old/API_docs_v55/types/messages_FeaturedStickers.md diff --git a/docs/old/API_docs_v55/types/messages_FoundGifs.md b/docs/old/API_docs_v55/types/messages_FoundGifs.md new file mode 100644 index 00000000..2992f9d7 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_FoundGifs.md @@ -0,0 +1,21 @@ +--- +title: messages_FoundGifs +description: constructors and methods of type messages_FoundGifs +--- +## Type: messages\_FoundGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_foundGifs](../constructors/messages_foundGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->searchGifs](../methods/messages_searchGifs.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_MessageEditData.md b/docs/old/API_docs_v55/types/messages_MessageEditData.md new file mode 100644 index 00000000..9e231425 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_MessageEditData.md @@ -0,0 +1,21 @@ +--- +title: messages_MessageEditData +description: constructors and methods of type messages_MessageEditData +--- +## Type: messages\_MessageEditData +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messageEditData](../constructors/messages_messageEditData.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessageEditData](../methods/messages_getMessageEditData.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_Messages.md b/docs/old/API_docs_v55/types/messages_Messages.md new file mode 100644 index 00000000..8e21df5b --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_Messages.md @@ -0,0 +1,33 @@ +--- +title: messages_Messages +description: constructors and methods of type messages_Messages +--- +## Type: messages\_Messages +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_messages](../constructors/messages_messages.md) + +[messages\_messagesSlice](../constructors/messages_messagesSlice.md) + +[messages\_channelMessages](../constructors/messages_channelMessages.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getMessages](../methods/messages_getMessages.md) + +[$MadelineProto->messages->getHistory](../methods/messages_getHistory.md) + +[$MadelineProto->messages->search](../methods/messages_search.md) + +[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md) + +[$MadelineProto->messages->searchGlobal](../methods/messages_searchGlobal.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_PeerDialogs.md b/docs/old/API_docs_v55/types/messages_PeerDialogs.md new file mode 100644 index 00000000..547d73fe --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_PeerDialogs.md @@ -0,0 +1,21 @@ +--- +title: messages_PeerDialogs +description: constructors and methods of type messages_PeerDialogs +--- +## Type: messages\_PeerDialogs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_peerDialogs](../constructors/messages_peerDialogs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getPeerDialogs](../methods/messages_getPeerDialogs.md) + + + diff --git a/docs/API_docs_55/types/messages_RecentStickers.md b/docs/old/API_docs_v55/types/messages_RecentStickers.md similarity index 100% rename from docs/API_docs_55/types/messages_RecentStickers.md rename to docs/old/API_docs_v55/types/messages_RecentStickers.md diff --git a/docs/old/API_docs_v55/types/messages_SavedGifs.md b/docs/old/API_docs_v55/types/messages_SavedGifs.md new file mode 100644 index 00000000..0aa766ec --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_SavedGifs.md @@ -0,0 +1,23 @@ +--- +title: messages_SavedGifs +description: constructors and methods of type messages_SavedGifs +--- +## Type: messages\_SavedGifs +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) + +[messages\_savedGifs](../constructors/messages_savedGifs.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getSavedGifs](../methods/messages_getSavedGifs.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_SentEncryptedMessage.md b/docs/old/API_docs_v55/types/messages_SentEncryptedMessage.md new file mode 100644 index 00000000..a5376e4b --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_SentEncryptedMessage.md @@ -0,0 +1,27 @@ +--- +title: messages_SentEncryptedMessage +description: constructors and methods of type messages_SentEncryptedMessage +--- +## Type: messages\_SentEncryptedMessage +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) + +[messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->sendEncrypted](../methods/messages_sendEncrypted.md) + +[$MadelineProto->messages->sendEncryptedFile](../methods/messages_sendEncryptedFile.md) + +[$MadelineProto->messages->sendEncryptedService](../methods/messages_sendEncryptedService.md) + + + diff --git a/docs/old/API_docs_v55/types/messages_StickerSet.md b/docs/old/API_docs_v55/types/messages_StickerSet.md new file mode 100644 index 00000000..6fb356d0 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_StickerSet.md @@ -0,0 +1,21 @@ +--- +title: messages_StickerSet +description: constructors and methods of type messages_StickerSet +--- +## Type: messages\_StickerSet +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickerSet](../constructors/messages_stickerSet.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md) + + + diff --git a/docs/API_docs_55/types/messages_StickerSetInstallResult.md b/docs/old/API_docs_v55/types/messages_StickerSetInstallResult.md similarity index 100% rename from docs/API_docs_55/types/messages_StickerSetInstallResult.md rename to docs/old/API_docs_v55/types/messages_StickerSetInstallResult.md diff --git a/docs/old/API_docs_v55/types/messages_Stickers.md b/docs/old/API_docs_v55/types/messages_Stickers.md new file mode 100644 index 00000000..cc50fe53 --- /dev/null +++ b/docs/old/API_docs_v55/types/messages_Stickers.md @@ -0,0 +1,23 @@ +--- +title: messages_Stickers +description: constructors and methods of type messages_Stickers +--- +## Type: messages\_Stickers +[Back to types index](index.md) + + + +### Possible values (constructors): + +[messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) + +[messages\_stickers](../constructors/messages_stickers.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->messages->getStickers](../methods/messages_getStickers.md) + + + diff --git a/docs/old/API_docs_v55/types/photos_Photo.md b/docs/old/API_docs_v55/types/photos_Photo.md new file mode 100644 index 00000000..e4d99c03 --- /dev/null +++ b/docs/old/API_docs_v55/types/photos_Photo.md @@ -0,0 +1,21 @@ +--- +title: photos_Photo +description: constructors and methods of type photos_Photo +--- +## Type: photos\_Photo +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photo](../constructors/photos_photo.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->uploadProfilePhoto](../methods/photos_uploadProfilePhoto.md) + + + diff --git a/docs/old/API_docs_v55/types/photos_Photos.md b/docs/old/API_docs_v55/types/photos_Photos.md new file mode 100644 index 00000000..e8de2da7 --- /dev/null +++ b/docs/old/API_docs_v55/types/photos_Photos.md @@ -0,0 +1,23 @@ +--- +title: photos_Photos +description: constructors and methods of type photos_Photos +--- +## Type: photos\_Photos +[Back to types index](index.md) + + + +### Possible values (constructors): + +[photos\_photos](../constructors/photos_photos.md) + +[photos\_photosSlice](../constructors/photos_photosSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->photos->getUserPhotos](../methods/photos_getUserPhotos.md) + + + diff --git a/docs/old/API_docs_v55/types/storage_FileType.md b/docs/old/API_docs_v55/types/storage_FileType.md new file mode 100644 index 00000000..81b5cfb4 --- /dev/null +++ b/docs/old/API_docs_v55/types/storage_FileType.md @@ -0,0 +1,37 @@ +--- +title: storage_FileType +description: constructors and methods of type storage_FileType +--- +## Type: storage\_FileType +[Back to types index](index.md) + + + +### Possible values (constructors): + +[storage\_fileUnknown](../constructors/storage_fileUnknown.md) + +[storage\_fileJpeg](../constructors/storage_fileJpeg.md) + +[storage\_fileGif](../constructors/storage_fileGif.md) + +[storage\_filePng](../constructors/storage_filePng.md) + +[storage\_filePdf](../constructors/storage_filePdf.md) + +[storage\_fileMp3](../constructors/storage_fileMp3.md) + +[storage\_fileMov](../constructors/storage_fileMov.md) + +[storage\_filePartial](../constructors/storage_filePartial.md) + +[storage\_fileMp4](../constructors/storage_fileMp4.md) + +[storage\_fileWebp](../constructors/storage_fileWebp.md) + + + +### Methods that return an object of this type (methods): + + + diff --git a/docs/old/API_docs_v55/types/string.md b/docs/old/API_docs_v55/types/string.md new file mode 100644 index 00000000..c113e969 --- /dev/null +++ b/docs/old/API_docs_v55/types/string.md @@ -0,0 +1,8 @@ +--- +title: string +description: A string of variable length +--- +## Type: string +[Back to constructor index](index.md) + +A string of variable length. \ No newline at end of file diff --git a/docs/old/API_docs_v55/types/updates_ChannelDifference.md b/docs/old/API_docs_v55/types/updates_ChannelDifference.md new file mode 100644 index 00000000..c19a8c3c --- /dev/null +++ b/docs/old/API_docs_v55/types/updates_ChannelDifference.md @@ -0,0 +1,25 @@ +--- +title: updates_ChannelDifference +description: constructors and methods of type updates_ChannelDifference +--- +## Type: updates\_ChannelDifference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) + +[updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) + +[updates\_channelDifference](../constructors/updates_channelDifference.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getChannelDifference](../methods/updates_getChannelDifference.md) + + + diff --git a/docs/old/API_docs_v55/types/updates_Difference.md b/docs/old/API_docs_v55/types/updates_Difference.md new file mode 100644 index 00000000..8f78192b --- /dev/null +++ b/docs/old/API_docs_v55/types/updates_Difference.md @@ -0,0 +1,25 @@ +--- +title: updates_Difference +description: constructors and methods of type updates_Difference +--- +## Type: updates\_Difference +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_differenceEmpty](../constructors/updates_differenceEmpty.md) + +[updates\_difference](../constructors/updates_difference.md) + +[updates\_differenceSlice](../constructors/updates_differenceSlice.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getDifference](../methods/updates_getDifference.md) + + + diff --git a/docs/old/API_docs_v55/types/updates_State.md b/docs/old/API_docs_v55/types/updates_State.md new file mode 100644 index 00000000..b24df144 --- /dev/null +++ b/docs/old/API_docs_v55/types/updates_State.md @@ -0,0 +1,21 @@ +--- +title: updates_State +description: constructors and methods of type updates_State +--- +## Type: updates\_State +[Back to types index](index.md) + + + +### Possible values (constructors): + +[updates\_state](../constructors/updates_state.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->updates->getState](../methods/updates_getState.md) + + + diff --git a/docs/old/API_docs_v55/types/upload_File.md b/docs/old/API_docs_v55/types/upload_File.md new file mode 100644 index 00000000..1c0aabdc --- /dev/null +++ b/docs/old/API_docs_v55/types/upload_File.md @@ -0,0 +1,21 @@ +--- +title: upload_File +description: constructors and methods of type upload_File +--- +## Type: upload\_File +[Back to types index](index.md) + + + +### Possible values (constructors): + +[upload\_file](../constructors/upload_file.md) + + + +### Methods that return an object of this type (methods): + +[$MadelineProto->upload->getFile](../methods/upload_getFile.md) + + + diff --git a/docs/old/index.md b/docs/old/index.md new file mode 100644 index 00000000..1f8e0e81 --- /dev/null +++ b/docs/old/index.md @@ -0,0 +1,7 @@ +--- +title: Documentations of old mtproto layers +description: Documentation of old mtproto layers +--- +# Documentation of old mtproto layers + +[Layer v55](API_docs_v55/) diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 69e7e043..062be16f 100755 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -314,8 +314,24 @@ description: '.$constructor.' attributes, type and example ``` $'.$constructor.' = '.$params.'; -```'; +``` +'; + if (in_array($this->constructors->type[$key], ['User', 'InputUser', 'Chat', 'InputChannel', 'Peer', 'InputPeer'])) { + $example .= 'The following syntaxes can also be used: + +``` +$'.$constructor." = '@username'; // Username + +$".$constructor.' = 44700; // bot API id (users) +$'.$constructor.' = -492772765; // bot API id (chats) +$'.$constructor.' = -10038575794; // bot API id (channels) + +$'.$constructor." = 'user#44700'; // tg-cli style id (users) +$".$constructor." = 'chat#492772765'; // tg-cli style id (chats) +$".$constructor." = 'channel#38575794'; // tg-cli style id (channels) +```"; + } file_put_contents('constructors/'.$constructor.'.md', $header.$table.$type.$example); } diff --git a/src/danog/MadelineProto/TL_telegram_v18.json b/src/danog/MadelineProto/TL_telegram_v18.json new file mode 100644 index 00000000..7da14697 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v18.json @@ -0,0 +1,5295 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "270785512", + "predicate": "inputPeerContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1690012891", + "predicate": "inputPeerForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-2031530139", + "predicate": "inputUserContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputUser" + }, + { + "id": "1700689151", + "predicate": "inputUserForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "767900285", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + } + ], + "type": "InputMedia" + }, + { + "id": "-1893027092", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "322623222", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1726817601", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2130852582", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1879553105", + "predicate": "userSelf", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + }, + { + "name": "inactive", + "type": "Bool" + } + ], + "type": "User" + }, + { + "id": "-894214632", + "predicate": "userContact", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-640891665", + "predicate": "userRequest", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "123533224", + "predicate": "userForeign", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-704549510", + "predicate": "userDeleted", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1661886910", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1450613171", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "-1553471722", + "predicate": "messageForwarded", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "int" + }, + { + "name": "fwd_date", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-926655958", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1563278704", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "694364726", + "predicate": "messageMediaUnsupported", + "params": [ + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1422222932", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "582313809", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "948937617", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-486486981", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_invited", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-155815004", + "predicate": "auth.authorization", + "params": [ + { + "name": "expires", + "type": "int" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1997575642", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "real_first_name", + "type": "string" + }, + { + "name": "real_last_name", + "type": "string" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-1434994573", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "expires", + "type": "int" + } + ], + "type": "ContactStatus" + }, + { + "id": "322183672", + "predicate": "contacts.foreignLinkUnknown", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-1484775609", + "predicate": "contacts.foreignLinkRequested", + "params": [ + { + "name": "has_phone", + "type": "Bool" + } + ], + "type": "contacts.ForeignLink" + }, + { + "id": "468356321", + "predicate": "contacts.foreignLinkMutual", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-768992160", + "predicate": "contacts.myLinkEmpty", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "1818882030", + "predicate": "contacts.myLinkRequested", + "params": [ + { + "name": "contact", + "type": "Bool" + } + ], + "type": "contacts.MyLink" + }, + { + "id": "-1035932711", + "predicate": "contacts.myLinkContact", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "-322001931", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1768654661", + "predicate": "messages.statedMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-797251802", + "predicate": "messages.statedMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-772484260", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-2125411368", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1210173710", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "20626867", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-966484431", + "predicate": "updateReadMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1456734682", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1369737882", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-738961532", + "predicate": "updateShortMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "724548942", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "784507964", + "predicate": "dcOption", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "hostname", + "type": "string" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "777313652", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1047852486", + "predicate": "messages.statedMessagesLinks", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-1448138623", + "predicate": "messages.statedMessageLink", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-371504577", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "887592125", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1044831837", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-945003370", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-1627626714", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "file_name", + "type": "string" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1845219337", + "predicate": "sendMessageUploadVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-424899985", + "predicate": "sendMessageUploadAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1727382502", + "predicate": "sendMessageUploadPhotoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1884362354", + "predicate": "sendMessageUploadDocumentAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-287800122", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "read_contents", + "type": "Bool" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "351460618", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "682347368", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "1289620139", + "method": "messages.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-1547149962", + "method": "messages.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1363988751", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1262720843", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-662601187", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "787082910", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-1010447069", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1100847854", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1209117380", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "66319602", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1102776690", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "894131138", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "479200567", + "method": "invokeWithLayer18", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v23.json b/src/danog/MadelineProto/TL_telegram_v23.json new file mode 100644 index 00000000..b2ea36a4 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v23.json @@ -0,0 +1,5826 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "270785512", + "predicate": "inputPeerContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1690012891", + "predicate": "inputPeerForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-2031530139", + "predicate": "inputUserContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputUser" + }, + { + "id": "1700689151", + "predicate": "inputUserForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "767900285", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + } + ], + "type": "InputMedia" + }, + { + "id": "-1893027092", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "322623222", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1726817601", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2130852582", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1879553105", + "predicate": "userSelf", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + }, + { + "name": "inactive", + "type": "Bool" + } + ], + "type": "User" + }, + { + "id": "-894214632", + "predicate": "userContact", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-640891665", + "predicate": "userRequest", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "123533224", + "predicate": "userForeign", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-704549510", + "predicate": "userDeleted", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1661886910", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1450613171", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "-1553471722", + "predicate": "messageForwarded", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "int" + }, + { + "name": "fwd_date", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-926655958", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1563278704", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "694364726", + "predicate": "messageMediaUnsupported", + "params": [ + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1422222932", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "582313809", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "948937617", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-486486981", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_invited", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-155815004", + "predicate": "auth.authorization", + "params": [ + { + "name": "expires", + "type": "int" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1490799288", + "predicate": "inputReportReasonSpam", + "params": [], + "type": "ReportReason" + }, + { + "id": "505595789", + "predicate": "inputReportReasonViolence", + "params": [], + "type": "ReportReason" + }, + { + "id": "777640226", + "predicate": "inputReportReasonPornography", + "params": [], + "type": "ReportReason" + }, + { + "id": "-512463606", + "predicate": "inputReportReasonOther", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "ReportReason" + }, + { + "id": "1997575642", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "real_first_name", + "type": "string" + }, + { + "name": "real_last_name", + "type": "string" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "322183672", + "predicate": "contacts.foreignLinkUnknown", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-1484775609", + "predicate": "contacts.foreignLinkRequested", + "params": [ + { + "name": "has_phone", + "type": "Bool" + } + ], + "type": "contacts.ForeignLink" + }, + { + "id": "468356321", + "predicate": "contacts.foreignLinkMutual", + "params": [], + "type": "contacts.ForeignLink" + }, + { + "id": "-768992160", + "predicate": "contacts.myLinkEmpty", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "1818882030", + "predicate": "contacts.myLinkRequested", + "params": [ + { + "name": "contact", + "type": "Bool" + } + ], + "type": "contacts.MyLink" + }, + { + "id": "-1035932711", + "predicate": "contacts.myLinkContact", + "params": [], + "type": "contacts.MyLink" + }, + { + "id": "-322001931", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1768654661", + "predicate": "messages.statedMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-797251802", + "predicate": "messages.statedMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-772484260", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-2125411368", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1210173710", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-3644025", + "predicate": "inputMessagesFilterGif", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "20626867", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-966484431", + "predicate": "updateReadMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1456734682", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1369737882", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "contacts.MyLink" + }, + { + "name": "foreign_link", + "type": "contacts.ForeignLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-738961532", + "predicate": "updateShortMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "724548942", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "784507964", + "predicate": "dcOption", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "hostname", + "type": "string" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "2108568544", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1047852486", + "predicate": "messages.statedMessagesLinks", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-1448138623", + "predicate": "messages.statedMessageLink", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-371504577", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-945003370", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1845219337", + "predicate": "sendMessageUploadVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-424899985", + "predicate": "sendMessageUploadAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1727382502", + "predicate": "sendMessageUploadPhotoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1884362354", + "predicate": "sendMessageUploadDocumentAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "-83208409", + "predicate": "documentAttributeSticker", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "85215461", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-588304126", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "-1374118561", + "method": "account.reportPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reason", + "type": "ReportReason" + } + ], + "type": "Bool" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-287800122", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "read_contents", + "type": "Bool" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "351460618", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "682347368", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "1289620139", + "method": "messages.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-1547149962", + "method": "messages.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1363988751", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1262720843", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-662601187", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "787082910", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-1010447069", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1100847854", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1209117380", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "66319602", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1102776690", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "894131138", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "200282908", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v25.json b/src/danog/MadelineProto/TL_telegram_v25.json new file mode 100644 index 00000000..09dc4974 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v25.json @@ -0,0 +1,6424 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "270785512", + "predicate": "inputPeerContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1690012891", + "predicate": "inputPeerForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-2031530139", + "predicate": "inputUserContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputUser" + }, + { + "id": "1700689151", + "predicate": "inputUserForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "767900285", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + } + ], + "type": "InputMedia" + }, + { + "id": "-1893027092", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "322623222", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1726817601", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2130852582", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "476112392", + "predicate": "userSelf", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-894214632", + "predicate": "userContact", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-640891665", + "predicate": "userRequest", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "123533224", + "predicate": "userForeign", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-704549510", + "predicate": "userDeleted", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1661886910", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1481959023", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-926655958", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1563278704", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "582313809", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "948937617", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-155815004", + "predicate": "auth.authorization", + "params": [ + { + "name": "expires", + "type": "int" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1997575642", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "real_first_name", + "type": "string" + }, + { + "name": "real_last_name", + "type": "string" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "909233996", + "predicate": "chatLocated", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "distance", + "type": "int" + } + ], + "type": "ChatLocated" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1062078024", + "predicate": "messages.messageEmpty", + "params": [], + "type": "messages.Message" + }, + { + "id": "131615560", + "predicate": "messages.statedMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "-1776022422", + "predicate": "messages.statedMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-1878086592", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "777696872", + "predicate": "updateReadMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-312729305", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "1378061116", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "784507964", + "predicate": "dcOption", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "hostname", + "type": "string" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1047491370", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1371430169", + "predicate": "messages.statedMessagesLinks", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "155755144", + "predicate": "messages.statedMessageLink", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-383565811", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1960072954", + "predicate": "inputGeoChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputGeoChat" + }, + { + "id": "1301143240", + "predicate": "inputNotifyGeoChatPeer", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "1978329690", + "predicate": "geoChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "checked_in", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1613830811", + "predicate": "geoChatMessageEmpty", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "1158019297", + "predicate": "geoChatMessage", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "-749755826", + "predicate": "geoChatMessageService", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "397498251", + "predicate": "geochats.statedMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1224651367", + "predicate": "geochats.located", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Located" + }, + { + "id": "-783127119", + "predicate": "geochats.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1135057944", + "predicate": "geochats.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1862504124", + "predicate": "messageActionGeoChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "209540062", + "predicate": "messageActionGeoChatCheckin", + "params": [], + "type": "MessageAction" + }, + { + "id": "1516823543", + "predicate": "updateNewGeoChatMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + } + ], + "type": "Update" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-945003370", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1845219337", + "predicate": "sendMessageUploadVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-424899985", + "predicate": "sendMessageUploadAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1727382502", + "predicate": "sendMessageUploadPhotoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1884362354", + "predicate": "sendMessageUploadDocumentAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1467017129", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + } + ], + "type": "account.Password" + }, + { + "id": "1939758962", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "-1723033470", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "85215461", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-588304126", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1336990448", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "682347368", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "480793249", + "method": "messages.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-51478592", + "method": "messages.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-556523451", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1262720843", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-662601187", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "787082910", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-1010447069", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1100847854", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1209117380", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "66319602", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.StatedMessage" + }, + { + "id": "1102776690", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "messages.StatedMessages" + }, + { + "id": "2132356495", + "method": "geochats.getLocated", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "radius", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Located" + }, + { + "id": "-515735953", + "method": "geochats.getRecents", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1437853947", + "method": "geochats.checkin", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1730338159", + "method": "geochats.getFullChat", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1284383347", + "method": "geochats.editChatTitle", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "903355029", + "method": "geochats.editChatPhoto", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-808598451", + "method": "geochats.search", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1254131096", + "method": "geochats.getHistory", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "146319145", + "method": "geochats.setTyping", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "102432836", + "method": "geochats.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-1192173825", + "method": "geochats.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "235482646", + "method": "geochats.createGeoChat", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "200282908", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-584430193", + "method": "account.setPassword", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "new_password_hash", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v27.json b/src/danog/MadelineProto/TL_telegram_v27.json new file mode 100644 index 00000000..f06a1676 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v27.json @@ -0,0 +1,6618 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "270785512", + "predicate": "inputPeerContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1690012891", + "predicate": "inputPeerForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-2031530139", + "predicate": "inputUserContact", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "InputUser" + }, + { + "id": "1700689151", + "predicate": "inputUserForeign", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "767900285", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + } + ], + "type": "InputMedia" + }, + { + "id": "-1893027092", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "322623222", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1726817601", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2130852582", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "476112392", + "predicate": "userSelf", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-894214632", + "predicate": "userContact", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-640891665", + "predicate": "userRequest", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "123533224", + "predicate": "userForeign", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "User" + }, + { + "id": "-704549510", + "predicate": "userDeleted", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1661886910", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1481959023", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-926655958", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1563278704", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "582313809", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "948937617", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-155815004", + "predicate": "auth.authorization", + "params": [ + { + "name": "expires", + "type": "int" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1997575642", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "real_first_name", + "type": "string" + }, + { + "name": "real_last_name", + "type": "string" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "909233996", + "predicate": "chatLocated", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "distance", + "type": "int" + } + ], + "type": "ChatLocated" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1062078024", + "predicate": "messages.messageEmpty", + "params": [], + "type": "messages.Message" + }, + { + "id": "1279084531", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "777696872", + "predicate": "updateReadMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-312729305", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "1378061116", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "784507964", + "predicate": "dcOption", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "hostname", + "type": "string" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1757069895", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "899786339", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1960072954", + "predicate": "inputGeoChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputGeoChat" + }, + { + "id": "1301143240", + "predicate": "inputNotifyGeoChatPeer", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "1978329690", + "predicate": "geoChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "checked_in", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1613830811", + "predicate": "geoChatMessageEmpty", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "1158019297", + "predicate": "geoChatMessage", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "-749755826", + "predicate": "geoChatMessageService", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "397498251", + "predicate": "geochats.statedMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1224651367", + "predicate": "geochats.located", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Located" + }, + { + "id": "-783127119", + "predicate": "geochats.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1135057944", + "predicate": "geochats.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1862504124", + "predicate": "messageActionGeoChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "209540062", + "predicate": "messageActionGeoChatCheckin", + "params": [], + "type": "MessageAction" + }, + { + "id": "1516823543", + "predicate": "updateNewGeoChatMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + } + ], + "type": "Update" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-945003370", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1845219337", + "predicate": "sendMessageUploadVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-424899985", + "predicate": "sendMessageUploadAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1727382502", + "predicate": "sendMessageUploadPhotoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1884362354", + "predicate": "sendMessageUploadDocumentAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "-1723033470", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "85215461", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-588304126", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "751004017", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-1558273867", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1336990448", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "682347368", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-1696755930", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "762913713", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "1440838285", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1209117380", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "2132356495", + "method": "geochats.getLocated", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "radius", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Located" + }, + { + "id": "-515735953", + "method": "geochats.getRecents", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1437853947", + "method": "geochats.checkin", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1730338159", + "method": "geochats.getFullChat", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1284383347", + "method": "geochats.editChatTitle", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "903355029", + "method": "geochats.editChatPhoto", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-808598451", + "method": "geochats.search", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1254131096", + "method": "geochats.getHistory", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "146319145", + "method": "geochats.setTyping", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "102432836", + "method": "geochats.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-1192173825", + "method": "geochats.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "235482646", + "method": "geochats.createGeoChat", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "200282908", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v33.json b/src/danog/MadelineProto/TL_telegram_v33.json new file mode 100644 index 00000000..07473eed --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v33.json @@ -0,0 +1,7001 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-515910468", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1761896484", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1023016155", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + } + ], + "type": "Message" + }, + { + "id": "495384334", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "909233996", + "predicate": "chatLocated", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "distance", + "type": "int" + } + ], + "type": "ChatLocated" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1062078024", + "predicate": "messages.messageEmpty", + "params": [], + "type": "messages.Message" + }, + { + "id": "1279084531", + "predicate": "messages.sentMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-312729305", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "1378061116", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1311946900", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "899786339", + "predicate": "messages.sentMessageLink", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "links", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "1960072954", + "predicate": "inputGeoChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputGeoChat" + }, + { + "id": "1301143240", + "predicate": "inputNotifyGeoChatPeer", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "1978329690", + "predicate": "geoChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "checked_in", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1613830811", + "predicate": "geoChatMessageEmpty", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "1158019297", + "predicate": "geoChatMessage", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "-749755826", + "predicate": "geoChatMessageService", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "GeoChatMessage" + }, + { + "id": "397498251", + "predicate": "geochats.statedMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1224651367", + "predicate": "geochats.located", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Located" + }, + { + "id": "-783127119", + "predicate": "geochats.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1135057944", + "predicate": "geochats.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1862504124", + "predicate": "messageActionGeoChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "209540062", + "predicate": "messageActionGeoChatCheckin", + "params": [], + "type": "MessageAction" + }, + { + "id": "1516823543", + "predicate": "updateNewGeoChatMessage", + "params": [ + { + "name": "message", + "type": "GeoChatMessage" + } + ], + "type": "Update" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-719474725", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "751004017", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-1558273867", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-829325875", + "predicate": "chatInvite", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "585404530", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-321970698", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1834885329", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1336990448", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-61479243", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "messages.SentMessage" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1440838285", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "2132356495", + "method": "geochats.getLocated", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "radius", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Located" + }, + { + "id": "-515735953", + "method": "geochats.getRecents", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "1437853947", + "method": "geochats.checkin", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "1730338159", + "method": "geochats.getFullChat", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1284383347", + "method": "geochats.editChatTitle", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "903355029", + "method": "geochats.editChatPhoto", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-808598451", + "method": "geochats.search", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "-1254131096", + "method": "geochats.getHistory", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "geochats.Messages" + }, + { + "id": "146319145", + "method": "geochats.setTyping", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "102432836", + "method": "geochats.sendMessage", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "-1192173825", + "method": "geochats.sendMedia", + "params": [ + { + "name": "peer", + "type": "InputGeoChat" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "235482646", + "method": "geochats.createGeoChat", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "venue", + "type": "string" + } + ], + "type": "geochats.StatedMessage" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "200282908", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "457052156", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v38.json b/src/danog/MadelineProto/TL_telegram_v38.json new file mode 100644 index 00000000..7d452f90 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v38.json @@ -0,0 +1,7862 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1930607688", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1537633299", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-136766906", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-892863022", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1311946900", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-719474725", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "585404530", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "1737397639", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-88925533", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-2053423812", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1970355494", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1336990448", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "457052156", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-575067701", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1428281412", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1387358562", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Bool" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v40.json b/src/danog/MadelineProto/TL_telegram_v40.json new file mode 100644 index 00000000..9107764f --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v40.json @@ -0,0 +1,7209 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "1855757255", + "predicate": "chat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "left", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-83047359", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "265468810", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "2017571861", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1421842653", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "1060296792", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-113206467", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?int" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1311946900", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "974056226", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-360210539", + "predicate": "contactFound", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ContactFound" + }, + { + "id": "90570766", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-719474725", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "751004017", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-829325875", + "predicate": "chatInvite", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "585404530", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-637586372", + "predicate": "inputChatEmpty", + "params": [], + "type": "InputChat" + }, + { + "id": "1134934467", + "predicate": "inputChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputChat" + }, + { + "id": "818335347", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChat" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-1917119391", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-343274136", + "predicate": "channelFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2017952899", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "299511878", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-2053423812", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-505490651", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "132772523", + "method": "messages.search", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1336990448", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-185009311", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1440838285", + "method": "messages.forwardMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "41608795", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "57298430", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "1721357574", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-579504755", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-2121169932", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1819099025", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "200282908", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1033305414", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "InputChat" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-187955923", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "chat_id", + "type": "InputChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1838639741", + "method": "messages.getChannelDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "632812466", + "method": "messages.getImportantHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "916529422", + "method": "messages.readChannelHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-641966126", + "method": "messages.createChannel", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-1718245297", + "method": "messages.deleteChannelMessages", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "613086453", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v41.json b/src/danog/MadelineProto/TL_telegram_v41.json new file mode 100644 index 00000000..b0e22cd6 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v41.json @@ -0,0 +1,8343 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1537633299", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1581055051", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-136766906", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-892863022", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1823925854", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-719474725", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "585404530", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "1737397639", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1640751649", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1689067688", + "predicate": "messageActionChatDeactivate", + "params": [], + "type": "MessageAction" + }, + { + "id": "1085115570", + "predicate": "messageActionChatActivate", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-2053423812", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1970355494", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-1212072999", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-575067701", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1387358562", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Bool" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "1651444545", + "method": "messages.deactivateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v42.json b/src/danog/MadelineProto/TL_telegram_v42.json new file mode 100644 index 00000000..e8e0524e --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v42.json @@ -0,0 +1,8328 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1537633299", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1217033015", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-136766906", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-892863022", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1823925854", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-719474725", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "585404530", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "1737397639", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1640751649", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "exclude_new_messages", + "type": "flags.1?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1799878989", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1970355494", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-1212072999", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "-1438922648", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-575067701", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-344583728", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Updates" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v44.json b/src/danog/MadelineProto/TL_telegram_v44.json new file mode 100644 index 00000000..1a852c58 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v44.json @@ -0,0 +1,8575 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "1537633299", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1217033015", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1490799288", + "predicate": "inputReportReasonSpam", + "params": [], + "type": "ReportReason" + }, + { + "id": "505595789", + "predicate": "inputReportReasonViolence", + "params": [], + "type": "ReportReason" + }, + { + "id": "777640226", + "predicate": "inputReportReasonPornography", + "params": [], + "type": "ReportReason" + }, + { + "id": "-512463606", + "predicate": "inputReportReasonOther", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "ReportReason" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-136766906", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-892863022", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "1823925854", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "-1610888", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "1095242886", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "InputMedia" + }, + { + "id": "-779818943", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + } + ], + "type": "InputMedia" + }, + { + "id": "802824708", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-302170017", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "847885712", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "restricted", + "type": "flags.18?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + }, + { + "name": "restiction_reason", + "type": "flags.18?string" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-399192472", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "restricted", + "type": "flags.9?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "restiction_reason", + "type": "flags.9?string" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1640751649", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "exclude_new_messages", + "type": "flags.1?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-236044656", + "predicate": "help.termsOfService", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "1753886890", + "predicate": "updateNewStickerSet", + "params": [ + { + "name": "stickerset", + "type": "messages.StickerSet" + } + ], + "type": "Update" + }, + { + "id": "-253774767", + "predicate": "updateStickerSetsOrder", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1135492588", + "predicate": "updateStickerSets", + "params": [], + "type": "Update" + }, + { + "id": "-814484985", + "predicate": "webPageExternal", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "thumb_url", + "type": "flags.3?string" + }, + { + "name": "content_url", + "type": "flags.4?string" + }, + { + "name": "w", + "type": "flags.5?int" + }, + { + "name": "h", + "type": "flags.5?int" + }, + { + "name": "duration", + "type": "flags.6?int" + } + ], + "type": "WebPage" + }, + { + "id": "-713438005", + "predicate": "foundGif", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "FoundGif" + }, + { + "id": "1212395773", + "predicate": "inputMediaGifExternal", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "q", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1158290442", + "predicate": "messages.foundGifs", + "params": [ + { + "name": "next_offset", + "type": "int" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.FoundGifs" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "-1374118561", + "method": "account.reportPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reason", + "type": "ReportReason" + } + ], + "type": "Bool" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1799878989", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1970355494", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-1212072999", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "479598769", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-575067701", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-344583728", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Updates" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "936873859", + "method": "help.getTermsOfService", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "-1613775824", + "method": "messages.reorderStickerSets", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "864953444", + "method": "messages.getDocumentByHash", + "params": [ + { + "name": "sha256", + "type": "bytes" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "Document" + }, + { + "id": "-1080395925", + "method": "messages.searchGifs", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.FoundGifs" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v45.json b/src/danog/MadelineProto/TL_telegram_v45.json new file mode 100644 index 00000000..8402c59d --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v45.json @@ -0,0 +1,9048 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-2106507297", + "predicate": "inputMediaUploadedVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2004934137", + "predicate": "inputMediaUploadedThumbVideo", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1821749571", + "predicate": "inputMediaVideo", + "params": [ + { + "name": "id", + "type": "InputVideo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "1426648181", + "predicate": "inputVideoEmpty", + "params": [], + "type": "InputVideo" + }, + { + "id": "-296249774", + "predicate": "inputVideo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputVideo" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1023632620", + "predicate": "inputVideoFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-913120932", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + } + ], + "type": "Message" + }, + { + "id": "-1066691065", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1540298357", + "predicate": "messageMediaVideo", + "params": [ + { + "name": "video", + "type": "Video" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1217033015", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "-1056548696", + "predicate": "videoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Video" + }, + { + "id": "-148338733", + "predicate": "video", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "Video" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-269659687", + "predicate": "auth.sentCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "1185074840", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1923214866", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + }, + { + "name": "show_previews", + "type": "Bool" + }, + { + "name": "events_mask", + "type": "int" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1490799288", + "predicate": "inputReportReasonSpam", + "params": [], + "type": "ReportReason" + }, + { + "id": "505595789", + "predicate": "inputReportReasonViolence", + "params": [], + "type": "ReportReason" + }, + { + "id": "777640226", + "predicate": "inputReportReasonPornography", + "params": [], + "type": "ReportReason" + }, + { + "id": "-512463606", + "predicate": "inputReportReasonOther", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "ReportReason" + }, + { + "id": "1518971995", + "predicate": "userFull", + "params": [ + { + "name": "user", + "type": "User" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "blocked", + "type": "Bool" + }, + { + "name": "bot_info", + "type": "BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "1038193057", + "predicate": "contactSuggested", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual_contacts", + "type": "int" + } + ], + "type": "ContactSuggested" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "1447681221", + "predicate": "contacts.suggested", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-808946398", + "predicate": "inputMessagesFilterAudio", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1526462308", + "predicate": "inputMessagesFilterAudioDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-3644025", + "predicate": "inputMessagesFilterGif", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "333766314", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "613087842", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from_id", + "type": "flags.2?Peer" + }, + { + "name": "fwd_date", + "type": "flags.2?int" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "112969208", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "saved_gifs_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1313442987", + "predicate": "inputMediaUploadedAudio", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1986820223", + "predicate": "inputMediaAudio", + "params": [ + { + "name": "id", + "type": "InputAudio" + } + ], + "type": "InputMedia" + }, + { + "id": "495530093", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1386138479", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "444068508", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-203411800", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-961117440", + "predicate": "messageMediaAudio", + "params": [ + { + "name": "audio", + "type": "Audio" + } + ], + "type": "MessageMedia" + }, + { + "id": "-648356732", + "predicate": "inputAudioEmpty", + "params": [], + "type": "InputAudio" + }, + { + "id": "2010398975", + "predicate": "inputAudio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputAudio" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1960591437", + "predicate": "inputAudioFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "1483311320", + "predicate": "audioEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Audio" + }, + { + "id": "-102543275", + "predicate": "audio", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + } + ], + "type": "Audio" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "-484053553", + "predicate": "auth.sentAppCode", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + }, + { + "name": "is_password", + "type": "Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "-1527411636", + "predicate": "account.sentChangePhoneCode", + "params": [ + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "send_call_timeout", + "type": "int" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-556656416", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "performer", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-302170017", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-1124314324", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "-787638374", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "restricted", + "type": "flags.18?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + }, + { + "name": "restriction_reason", + "type": "flags.18?string" + }, + { + "name": "bot_inline_placeholder", + "type": "flags.19?string" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1154598962", + "predicate": "botInfoEmpty", + "params": [], + "type": "BotInfo" + }, + { + "id": "164583517", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "share_text", + "type": "string" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "1260090630", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "restricted", + "type": "flags.9?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "restriction_reason", + "type": "flags.9?string" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1640751649", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "1620337698", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "exclude_new_messages", + "type": "flags.1?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-236044656", + "predicate": "help.termsOfService", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "1753886890", + "predicate": "updateNewStickerSet", + "params": [ + { + "name": "stickerset", + "type": "messages.StickerSet" + } + ], + "type": "Update" + }, + { + "id": "-253774767", + "predicate": "updateStickerSetsOrder", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1135492588", + "predicate": "updateStickerSets", + "params": [], + "type": "Update" + }, + { + "id": "372165663", + "predicate": "foundGif", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "thumb_url", + "type": "string" + }, + { + "name": "content_url", + "type": "string" + }, + { + "name": "content_type", + "type": "string" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "FoundGif" + }, + { + "id": "-1670052855", + "predicate": "foundGifCached", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "photo", + "type": "Photo" + }, + { + "name": "document", + "type": "Document" + } + ], + "type": "FoundGif" + }, + { + "id": "1212395773", + "predicate": "inputMediaGifExternal", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "q", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1158290442", + "predicate": "messages.foundGifs", + "params": [ + { + "name": "next_offset", + "type": "int" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-402498398", + "predicate": "messages.savedGifsNotModified", + "params": [], + "type": "messages.SavedGifs" + }, + { + "id": "772213157", + "predicate": "messages.savedGifs", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "gifs", + "type": "Vector" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "-1821035490", + "predicate": "updateSavedGifs", + "params": [], + "type": "Update" + }, + { + "id": "776201607", + "predicate": "inputBotInlineMessageMediaAuto", + "params": [ + { + "name": "caption", + "type": "string" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "-1376723087", + "predicate": "inputBotInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "750510426", + "predicate": "inputBotInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "-61413251", + "predicate": "botInlineMessageMediaAuto", + "params": [ + { + "name": "caption", + "type": "string" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1520330839", + "predicate": "botInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-124267714", + "predicate": "botInlineMediaResultDocument", + "params": [ + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "document", + "type": "Document" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "-984447609", + "predicate": "botInlineMediaResultPhoto", + "params": [ + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "photo", + "type": "Photo" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "-1679053127", + "predicate": "botInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "292597923", + "predicate": "messages.botResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "next_offset", + "type": "flags.1?string" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.BotResults" + }, + { + "id": "-1071715832", + "predicate": "updateBotInlineQuery", + "params": [ + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "258597139", + "predicate": "updateBotInlineSend", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "id", + "type": "string" + } + ], + "type": "Update" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1988976461", + "method": "auth.sendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "sms_type", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "63247716", + "method": "auth.sendCall", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "-259486360", + "method": "account.updateProfile", + "params": [ + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "-1374118561", + "method": "account.reportPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reason", + "type": "ReportReason" + } + ], + "type": "Bool" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-847825880", + "method": "contacts.getSuggested", + "params": [ + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Suggested" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1799878989", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1970355494", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-1212072999", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "229241832", + "method": "auth.sendSms", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1543001868", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "account.SentChangePhoneCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "479598769", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-575067701", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-344583728", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Updates" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "936873859", + "method": "help.getTermsOfService", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "-1613775824", + "method": "messages.reorderStickerSets", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "864953444", + "method": "messages.getDocumentByHash", + "params": [ + { + "name": "sha256", + "type": "bytes" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "Document" + }, + { + "id": "-1080395925", + "method": "messages.searchGifs", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-2084618926", + "method": "messages.getSavedGifs", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "846868683", + "method": "messages.saveGif", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "unsave", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1826332659", + "method": "messages.getInlineBotResults", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "messages.BotResults" + }, + { + "id": "1059318802", + "method": "messages.setInlineBotResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "private", + "type": "flags.1?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "results", + "type": "Vector" + }, + { + "name": "cache_time", + "type": "int" + }, + { + "name": "next_offset", + "type": "flags.2?string" + } + ], + "type": "Bool" + }, + { + "id": "-1318189314", + "method": "messages.sendInlineBotResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "id", + "type": "string" + } + ], + "type": "Updates" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v51.json b/src/danog/MadelineProto/TL_telegram_v51.json new file mode 100644 index 00000000..c1aeac42 --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v51.json @@ -0,0 +1,9682 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1063525281", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "post", + "type": "flags.14?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + }, + { + "name": "edit_date", + "type": "flags.15?int" + } + ], + "type": "Message" + }, + { + "id": "-1642487306", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "post", + "type": "flags.14?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1217033015", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1042448310", + "predicate": "dialog", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "949182130", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "show_previews", + "type": "flags.0?true" + }, + { + "name": "silent", + "type": "flags.1?true" + }, + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1697798976", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "show_previews", + "type": "flags.0?true" + }, + { + "name": "silent", + "type": "flags.1?true" + }, + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-2122045747", + "predicate": "peerSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "report_spam", + "type": "flags.0?true" + } + ], + "type": "PeerSettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1490799288", + "predicate": "inputReportReasonSpam", + "params": [], + "type": "ReportReason" + }, + { + "id": "505595789", + "predicate": "inputReportReasonViolence", + "params": [], + "type": "ReportReason" + }, + { + "id": "777640226", + "predicate": "inputReportReasonPornography", + "params": [], + "type": "ReportReason" + }, + { + "id": "-512463606", + "predicate": "inputReportReasonOther", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "ReportReason" + }, + { + "id": "1496513539", + "predicate": "userFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "blocked", + "type": "flags.0?true" + }, + { + "name": "user", + "type": "User" + }, + { + "name": "about", + "type": "flags.1?string" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "flags.2?Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "bot_info", + "type": "flags.3?BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-3644025", + "predicate": "inputMessagesFilterGif", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-1857044719", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "377562760", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "tcpo_only", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "830271220", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "saved_gifs_limit", + "type": "int" + }, + { + "name": "edit_time_limit", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "495530093", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1386138479", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "444068508", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-203411800", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-1739392570", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "voice", + "type": "flags.10?true" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "flags.0?string" + }, + { + "name": "performer", + "type": "flags.1?string" + }, + { + "name": "waveform", + "type": "flags.2?bytes" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-302170017", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-2037289493", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "-787638374", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "restricted", + "type": "flags.18?true" + }, + { + "name": "min", + "type": "flags.20?true" + }, + { + "name": "bot_inline_geo", + "type": "flags.21?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + }, + { + "name": "restriction_reason", + "type": "flags.18?string" + }, + { + "name": "bot_inline_placeholder", + "type": "flags.19?string" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1729618630", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-1588737454", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "restricted", + "type": "flags.9?true" + }, + { + "name": "democracy", + "type": "flags.10?true" + }, + { + "name": "signatures", + "type": "flags.11?true" + }, + { + "name": "min", + "type": "flags.12?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.13?long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "restriction_reason", + "type": "flags.9?string" + } + ], + "type": "Chat" + }, + { + "id": "763724588", + "predicate": "channelForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1749097118", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "can_set_username", + "type": "flags.6?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + }, + { + "name": "pinned_msg_id", + "type": "flags.5?int" + } + ], + "type": "ChatFull" + }, + { + "id": "1535415986", + "predicate": "dialogChannel", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "int" + } + ], + "type": "Dialog" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-399216813", + "predicate": "messageGroup", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "MessageGroup" + }, + { + "id": "-1139861572", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "collapsed", + "type": "flags.0?Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "-352032773", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel_id", + "type": "int" + }, + { + "name": "pts", + "type": "flags.0?int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1016324548", + "predicate": "updateChannelGroup", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "group", + "type": "MessageGroup" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1578530374", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "top_important_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "exclude_new_messages", + "type": "flags.1?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "-100588754", + "predicate": "channelMessagesFilterCollapsed", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-236044656", + "predicate": "help.termsOfService", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "1753886890", + "predicate": "updateNewStickerSet", + "params": [ + { + "name": "stickerset", + "type": "messages.StickerSet" + } + ], + "type": "Update" + }, + { + "id": "-253774767", + "predicate": "updateStickerSetsOrder", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1135492588", + "predicate": "updateStickerSets", + "params": [], + "type": "Update" + }, + { + "id": "372165663", + "predicate": "foundGif", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "thumb_url", + "type": "string" + }, + { + "name": "content_url", + "type": "string" + }, + { + "name": "content_type", + "type": "string" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "FoundGif" + }, + { + "id": "-1670052855", + "predicate": "foundGifCached", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "photo", + "type": "Photo" + }, + { + "name": "document", + "type": "Document" + } + ], + "type": "FoundGif" + }, + { + "id": "1212395773", + "predicate": "inputMediaGifExternal", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "q", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1158290442", + "predicate": "messages.foundGifs", + "params": [ + { + "name": "next_offset", + "type": "int" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-402498398", + "predicate": "messages.savedGifsNotModified", + "params": [], + "type": "messages.SavedGifs" + }, + { + "id": "772213157", + "predicate": "messages.savedGifs", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "gifs", + "type": "Vector" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "-1821035490", + "predicate": "updateSavedGifs", + "params": [], + "type": "Update" + }, + { + "id": "691006739", + "predicate": "inputBotInlineMessageMediaAuto", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "1036876423", + "predicate": "inputBotInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "750510426", + "predicate": "inputBotInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "175419739", + "predicate": "botInlineMessageMediaAuto", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1937807902", + "predicate": "botInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1679053127", + "predicate": "botInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "627509670", + "predicate": "messages.botResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "next_offset", + "type": "flags.1?string" + }, + { + "name": "switch_pm", + "type": "flags.2?InlineBotSwitchPM" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.BotResults" + }, + { + "id": "1417832080", + "predicate": "updateBotInlineQuery", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "geo", + "type": "flags.0?GeoPoint" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "239663460", + "predicate": "updateBotInlineSend", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "geo", + "type": "flags.0?GeoPoint" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "msg_id", + "type": "flags.1?InputBotInlineMessageID" + } + ], + "type": "Update" + }, + { + "id": "1358283666", + "predicate": "inputMessagesFilterVoice", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "928101534", + "predicate": "inputMessagesFilterMusic", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1107622874", + "predicate": "inputPrivacyKeyChatInvite", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "1343122938", + "predicate": "privacyKeyChatInvite", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "524838915", + "predicate": "exportedMessageLink", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedMessageLink" + }, + { + "id": "-947462709", + "predicate": "messageFwdHeader", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "from_id", + "type": "flags.0?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "channel_id", + "type": "flags.1?int" + }, + { + "name": "channel_post", + "type": "flags.2?int" + } + ], + "type": "MessageFwdHeader" + }, + { + "id": "457133559", + "predicate": "updateEditChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1738988427", + "predicate": "updateChannelPinnedMessage", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1799538451", + "predicate": "messageActionPinMessage", + "params": [], + "type": "MessageAction" + }, + { + "id": "1923290508", + "predicate": "auth.codeTypeSms", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "1948046307", + "predicate": "auth.codeTypeCall", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "577556219", + "predicate": "auth.codeTypeFlashCall", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "1035688326", + "predicate": "auth.sentCodeTypeApp", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "-1073693790", + "predicate": "auth.sentCodeTypeSms", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "1398007207", + "predicate": "auth.sentCodeTypeCall", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "-1425815847", + "predicate": "auth.sentCodeTypeFlashCall", + "params": [ + { + "name": "pattern", + "type": "string" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "1577067778", + "predicate": "auth.sentCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_registered", + "type": "flags.0?true" + }, + { + "name": "type", + "type": "auth.SentCodeType" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "next_type", + "type": "flags.1?auth.CodeType" + }, + { + "name": "timeout", + "type": "flags.2?int" + } + ], + "type": "auth.SentCode" + }, + { + "id": "629866245", + "predicate": "keyboardButtonUrl", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "1748655686", + "predicate": "keyboardButtonCallback", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-1318425559", + "predicate": "keyboardButtonRequestPhone", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-59151553", + "predicate": "keyboardButtonRequestGeoLocation", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-367298028", + "predicate": "keyboardButtonSwitchInline", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "query", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "1218642516", + "predicate": "replyInlineMarkup", + "params": [ + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "308605382", + "predicate": "messages.botCallbackAnswer", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "alert", + "type": "flags.1?true" + }, + { + "name": "message", + "type": "flags.0?string" + } + ], + "type": "messages.BotCallbackAnswer" + }, + { + "id": "-1500747636", + "predicate": "updateBotCallbackQuery", + "params": [ + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "Update" + }, + { + "id": "649453030", + "predicate": "messages.messageEditData", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "flags.0?true" + } + ], + "type": "messages.MessageEditData" + }, + { + "id": "-469536605", + "predicate": "updateEditMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-190472735", + "predicate": "inputBotInlineMessageMediaGeo", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "-1431327288", + "predicate": "inputBotInlineMessageMediaVenue", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "766443943", + "predicate": "inputBotInlineMessageMediaContact", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "982505656", + "predicate": "botInlineMessageMediaGeo", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "1130767150", + "predicate": "botInlineMessageMediaVenue", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "904770772", + "predicate": "botInlineMessageMediaContact", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1462213465", + "predicate": "inputBotInlineResultPhoto", + "params": [ + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "photo", + "type": "InputPhoto" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "-459324", + "predicate": "inputBotInlineResultDocument", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "document", + "type": "InputDocument" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "400266251", + "predicate": "botInlineMediaResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "photo", + "type": "flags.0?Photo" + }, + { + "name": "document", + "type": "flags.1?Document" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "-1995686519", + "predicate": "inputBotInlineMessageID", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputBotInlineMessageID" + }, + { + "id": "750622127", + "predicate": "updateInlineBotCallbackQuery", + "params": [ + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "msg_id", + "type": "InputBotInlineMessageID" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "Update" + }, + { + "id": "1008755359", + "predicate": "inlineBotSwitchPM", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "InlineBotSwitchPM" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-855805745", + "method": "auth.sendCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "allow_flashcall", + "type": "flags.0?true" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "current_number", + "type": "flags.0?Bool" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1147957548", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "app_sandbox", + "type": "Bool" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "2018596725", + "method": "account.updateProfile", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "first_name", + "type": "flags.0?string" + }, + { + "name": "last_name", + "type": "flags.1?string" + }, + { + "name": "about", + "type": "flags.2?string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "-1374118561", + "method": "account.reportPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reason", + "type": "ReportReason" + } + ], + "type": "Bool" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1799878989", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1347868602", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "important_only", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-1212072999", + "method": "messages.deleteHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "-1460572005", + "method": "messages.hideReportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "913498268", + "method": "messages.getPeerSettings", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "PeerSettings" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-938300290", + "method": "help.getAppUpdate", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1532407418", + "method": "help.getInviteText", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "149257707", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "allow_flashcall", + "type": "flags.0?true" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "current_number", + "type": "flags.0?Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "479598769", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1537966002", + "method": "help.getAppChangelog", + "params": [ + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-1445735863", + "method": "channels.getDialogs", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1891021902", + "method": "channels.getImportantHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-344583728", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Updates" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-1432183160", + "method": "channels.toggleComments", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "936873859", + "method": "help.getTermsOfService", + "params": [ + { + "name": "lang_code", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "-1613775824", + "method": "messages.reorderStickerSets", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "864953444", + "method": "messages.getDocumentByHash", + "params": [ + { + "name": "sha256", + "type": "bytes" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "Document" + }, + { + "id": "-1080395925", + "method": "messages.searchGifs", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-2084618926", + "method": "messages.getSavedGifs", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "846868683", + "method": "messages.saveGif", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "unsave", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "1364105629", + "method": "messages.getInlineBotResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "geo_point", + "type": "flags.0?InputGeoPoint" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "messages.BotResults" + }, + { + "id": "-346119674", + "method": "messages.setInlineBotResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "private", + "type": "flags.1?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "results", + "type": "Vector" + }, + { + "name": "cache_time", + "type": "int" + }, + { + "name": "next_offset", + "type": "flags.2?string" + }, + { + "name": "switch_pm", + "type": "flags.3?InlineBotSwitchPM" + } + ], + "type": "Bool" + }, + { + "id": "-1318189314", + "method": "messages.sendInlineBotResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.4?true" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "id", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1231065863", + "method": "channels.toggleInvites", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-934882771", + "method": "channels.exportMessageLink", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "ExportedMessageLink" + }, + { + "id": "527021574", + "method": "channels.toggleSignatures", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1490162350", + "method": "channels.updatePinnedMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.0?true" + }, + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1056025023", + "method": "auth.resendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "520357240", + "method": "auth.cancelCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-39416522", + "method": "messages.getMessageEditData", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "messages.MessageEditData" + }, + { + "id": "-829299510", + "method": "messages.editMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "message", + "type": "flags.11?string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "319564933", + "method": "messages.editInlineBotMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "InputBotInlineMessageID" + }, + { + "name": "message", + "type": "flags.11?string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1494659324", + "method": "messages.getBotCallbackAnswer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.BotCallbackAnswer" + }, + { + "id": "1209817370", + "method": "messages.setBotCallbackAnswer", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "alert", + "type": "flags.1?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "message", + "type": "flags.0?string" + } + ], + "type": "Bool" + } + ] +} \ No newline at end of file diff --git a/src/danog/MadelineProto/TL_telegram_v53.json b/src/danog/MadelineProto/TL_telegram_v53.json new file mode 100644 index 00000000..2194afaa --- /dev/null +++ b/src/danog/MadelineProto/TL_telegram_v53.json @@ -0,0 +1,9805 @@ +{ + "constructors": [ + { + "id": "-1132882121", + "predicate": "boolFalse", + "params": [], + "type": "Bool" + }, + { + "id": "-1720552011", + "predicate": "boolTrue", + "params": [], + "type": "Bool" + }, + { + "id": "1072550713", + "predicate": "true", + "params": [], + "type": "True" + }, + { + "id": "481674261", + "predicate": "vector", + "params": [], + "type": "Vector t" + }, + { + "id": "-994444869", + "predicate": "error", + "params": [ + { + "name": "code", + "type": "int" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "Error" + }, + { + "id": "1450380236", + "predicate": "null", + "params": [], + "type": "Null" + }, + { + "id": "2134579434", + "predicate": "inputPeerEmpty", + "params": [], + "type": "InputPeer" + }, + { + "id": "2107670217", + "predicate": "inputPeerSelf", + "params": [], + "type": "InputPeer" + }, + { + "id": "396093539", + "predicate": "inputPeerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "InputPeer" + }, + { + "id": "-1182234929", + "predicate": "inputUserEmpty", + "params": [], + "type": "InputUser" + }, + { + "id": "-138301121", + "predicate": "inputUserSelf", + "params": [], + "type": "InputUser" + }, + { + "id": "-208488460", + "predicate": "inputPhoneContact", + "params": [ + { + "name": "client_id", + "type": "long" + }, + { + "name": "phone", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputContact" + }, + { + "id": "-181407105", + "predicate": "inputFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "md5_checksum", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "-1771768449", + "predicate": "inputMediaEmpty", + "params": [], + "type": "InputMedia" + }, + { + "id": "-139464256", + "predicate": "inputMediaUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-373312269", + "predicate": "inputMediaPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-104578748", + "predicate": "inputMediaGeoPoint", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + } + ], + "type": "InputMedia" + }, + { + "id": "-1494984313", + "predicate": "inputMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "480546647", + "predicate": "inputChatPhotoEmpty", + "params": [], + "type": "InputChatPhoto" + }, + { + "id": "-1809496270", + "predicate": "inputChatUploadedPhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-1293828344", + "predicate": "inputChatPhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "InputChatPhoto" + }, + { + "id": "-457104426", + "predicate": "inputGeoPointEmpty", + "params": [], + "type": "InputGeoPoint" + }, + { + "id": "-206066487", + "predicate": "inputGeoPoint", + "params": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "long", + "type": "double" + } + ], + "type": "InputGeoPoint" + }, + { + "id": "483901197", + "predicate": "inputPhotoEmpty", + "params": [], + "type": "InputPhoto" + }, + { + "id": "-74070332", + "predicate": "inputPhoto", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPhoto" + }, + { + "id": "342061462", + "predicate": "inputFileLocation", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-1377390588", + "predicate": "inputPhotoCropAuto", + "params": [], + "type": "InputPhotoCrop" + }, + { + "id": "-644787419", + "predicate": "inputPhotoCrop", + "params": [ + { + "name": "crop_left", + "type": "double" + }, + { + "name": "crop_top", + "type": "double" + }, + { + "name": "crop_width", + "type": "double" + } + ], + "type": "InputPhotoCrop" + }, + { + "id": "1996904104", + "predicate": "inputAppEvent", + "params": [ + { + "name": "time", + "type": "double" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "peer", + "type": "long" + }, + { + "name": "data", + "type": "string" + } + ], + "type": "InputAppEvent" + }, + { + "id": "-1649296275", + "predicate": "peerUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1160714821", + "predicate": "peerChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "-1432995067", + "predicate": "storage.fileUnknown", + "params": [], + "type": "storage.FileType" + }, + { + "id": "8322574", + "predicate": "storage.fileJpeg", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-891180321", + "predicate": "storage.fileGif", + "params": [], + "type": "storage.FileType" + }, + { + "id": "172975040", + "predicate": "storage.filePng", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1373745011", + "predicate": "storage.filePdf", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1384777335", + "predicate": "storage.fileMp3", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1258941372", + "predicate": "storage.fileMov", + "params": [], + "type": "storage.FileType" + }, + { + "id": "1086091090", + "predicate": "storage.filePartial", + "params": [], + "type": "storage.FileType" + }, + { + "id": "-1278304028", + "predicate": "storage.fileMp4", + "params": [], + "type": "storage.FileType" + }, + { + "id": "276907596", + "predicate": "storage.fileWebp", + "params": [], + "type": "storage.FileType" + }, + { + "id": "2086234950", + "predicate": "fileLocationUnavailable", + "params": [ + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "1406570614", + "predicate": "fileLocation", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "volume_id", + "type": "long" + }, + { + "name": "local_id", + "type": "int" + }, + { + "name": "secret", + "type": "long" + } + ], + "type": "FileLocation" + }, + { + "id": "537022650", + "predicate": "userEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "User" + }, + { + "id": "1326562017", + "predicate": "userProfilePhotoEmpty", + "params": [], + "type": "UserProfilePhoto" + }, + { + "id": "-715532088", + "predicate": "userProfilePhoto", + "params": [ + { + "name": "photo_id", + "type": "long" + }, + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "164646985", + "predicate": "userStatusEmpty", + "params": [], + "type": "UserStatus" + }, + { + "id": "-306628279", + "predicate": "userStatusOnline", + "params": [ + { + "name": "expires", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "9203775", + "predicate": "userStatusOffline", + "params": [ + { + "name": "was_online", + "type": "int" + } + ], + "type": "UserStatus" + }, + { + "id": "-1683826688", + "predicate": "chatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Chat" + }, + { + "id": "-652419756", + "predicate": "chat", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "admins_enabled", + "type": "flags.3?true" + }, + { + "name": "admin", + "type": "flags.4?true" + }, + { + "name": "deactivated", + "type": "flags.5?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "participants_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "migrated_to", + "type": "flags.6?InputChannel" + } + ], + "type": "Chat" + }, + { + "id": "120753115", + "predicate": "chatForbidden", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "771925524", + "predicate": "chatFull", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "participants", + "type": "ChatParticipants" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + } + ], + "type": "ChatFull" + }, + { + "id": "-925415106", + "predicate": "chatParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-57668565", + "predicate": "chatParticipantsForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "self_participant", + "type": "flags.0?ChatParticipant" + } + ], + "type": "ChatParticipants" + }, + { + "id": "1061556205", + "predicate": "chatParticipants", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "ChatParticipants" + }, + { + "id": "935395612", + "predicate": "chatPhotoEmpty", + "params": [], + "type": "ChatPhoto" + }, + { + "id": "1632839530", + "predicate": "chatPhoto", + "params": [ + { + "name": "photo_small", + "type": "FileLocation" + }, + { + "name": "photo_big", + "type": "FileLocation" + } + ], + "type": "ChatPhoto" + }, + { + "id": "-2082087340", + "predicate": "messageEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "Message" + }, + { + "id": "-1063525281", + "predicate": "message", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "post", + "type": "flags.14?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "reply_markup", + "type": "flags.6?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.7?Vector" + }, + { + "name": "views", + "type": "flags.10?int" + }, + { + "name": "edit_date", + "type": "flags.15?int" + } + ], + "type": "Message" + }, + { + "id": "-1642487306", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "post", + "type": "flags.14?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1038967584", + "predicate": "messageMediaEmpty", + "params": [], + "type": "MessageMedia" + }, + { + "id": "1032643901", + "predicate": "messageMediaPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1457575028", + "predicate": "messageMediaGeo", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + } + ], + "type": "MessageMedia" + }, + { + "id": "1585262393", + "predicate": "messageMediaContact", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "-1230047312", + "predicate": "messageActionEmpty", + "params": [], + "type": "MessageAction" + }, + { + "id": "-1503425638", + "predicate": "messageActionChatCreate", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1247687078", + "predicate": "messageActionChatEditTitle", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "2144015272", + "predicate": "messageActionChatEditPhoto", + "params": [ + { + "name": "photo", + "type": "Photo" + } + ], + "type": "MessageAction" + }, + { + "id": "-1780220945", + "predicate": "messageActionChatDeletePhoto", + "params": [], + "type": "MessageAction" + }, + { + "id": "1217033015", + "predicate": "messageActionChatAddUser", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "MessageAction" + }, + { + "id": "-1297179892", + "predicate": "messageActionChatDeleteUser", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1728035348", + "predicate": "dialog", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "read_outbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "flags.0?int" + }, + { + "name": "draft", + "type": "flags.1?DraftMessage" + } + ], + "type": "Dialog" + }, + { + "id": "590459437", + "predicate": "photoEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Photo" + }, + { + "id": "-840088834", + "predicate": "photo", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "sizes", + "type": "Vector" + } + ], + "type": "Photo" + }, + { + "id": "236446268", + "predicate": "photoSizeEmpty", + "params": [ + { + "name": "type", + "type": "string" + } + ], + "type": "PhotoSize" + }, + { + "id": "2009052699", + "predicate": "photoSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "size", + "type": "int" + } + ], + "type": "PhotoSize" + }, + { + "id": "-374917894", + "predicate": "photoCachedSize", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "location", + "type": "FileLocation" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "PhotoSize" + }, + { + "id": "286776671", + "predicate": "geoPointEmpty", + "params": [], + "type": "GeoPoint" + }, + { + "id": "541710092", + "predicate": "geoPoint", + "params": [ + { + "name": "long", + "type": "double" + }, + { + "name": "lat", + "type": "double" + } + ], + "type": "GeoPoint" + }, + { + "id": "-2128698738", + "predicate": "auth.checkedPhone", + "params": [ + { + "name": "phone_registered", + "type": "Bool" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "1577067778", + "predicate": "auth.sentCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_registered", + "type": "flags.0?true" + }, + { + "name": "type", + "type": "auth.SentCodeType" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "next_type", + "type": "flags.1?auth.CodeType" + }, + { + "name": "timeout", + "type": "flags.2?int" + } + ], + "type": "auth.SentCode" + }, + { + "id": "-16553231", + "predicate": "auth.authorization", + "params": [ + { + "name": "user", + "type": "User" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-543777747", + "predicate": "auth.exportedAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-1195615476", + "predicate": "inputNotifyPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "InputNotifyPeer" + }, + { + "id": "423314455", + "predicate": "inputNotifyUsers", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "1251338318", + "predicate": "inputNotifyChats", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-1540769658", + "predicate": "inputNotifyAll", + "params": [], + "type": "InputNotifyPeer" + }, + { + "id": "-265263912", + "predicate": "inputPeerNotifyEventsEmpty", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "-395694988", + "predicate": "inputPeerNotifyEventsAll", + "params": [], + "type": "InputPeerNotifyEvents" + }, + { + "id": "949182130", + "predicate": "inputPeerNotifySettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "show_previews", + "type": "flags.0?true" + }, + { + "name": "silent", + "type": "flags.1?true" + }, + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + } + ], + "type": "InputPeerNotifySettings" + }, + { + "id": "-1378534221", + "predicate": "peerNotifyEventsEmpty", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1830677896", + "predicate": "peerNotifyEventsAll", + "params": [], + "type": "PeerNotifyEvents" + }, + { + "id": "1889961234", + "predicate": "peerNotifySettingsEmpty", + "params": [], + "type": "PeerNotifySettings" + }, + { + "id": "-1697798976", + "predicate": "peerNotifySettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "show_previews", + "type": "flags.0?true" + }, + { + "name": "silent", + "type": "flags.1?true" + }, + { + "name": "mute_until", + "type": "int" + }, + { + "name": "sound", + "type": "string" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-2122045747", + "predicate": "peerSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "report_spam", + "type": "flags.0?true" + } + ], + "type": "PeerSettings" + }, + { + "id": "-860866985", + "predicate": "wallPaper", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "sizes", + "type": "Vector" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "1490799288", + "predicate": "inputReportReasonSpam", + "params": [], + "type": "ReportReason" + }, + { + "id": "505595789", + "predicate": "inputReportReasonViolence", + "params": [], + "type": "ReportReason" + }, + { + "id": "777640226", + "predicate": "inputReportReasonPornography", + "params": [], + "type": "ReportReason" + }, + { + "id": "-512463606", + "predicate": "inputReportReasonOther", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "ReportReason" + }, + { + "id": "1496513539", + "predicate": "userFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "blocked", + "type": "flags.0?true" + }, + { + "name": "user", + "type": "User" + }, + { + "name": "about", + "type": "flags.1?string" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "flags.2?Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "bot_info", + "type": "flags.3?BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-116274796", + "predicate": "contact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "mutual", + "type": "Bool" + } + ], + "type": "Contact" + }, + { + "id": "-805141448", + "predicate": "importedContact", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "client_id", + "type": "long" + } + ], + "type": "ImportedContact" + }, + { + "id": "1444661369", + "predicate": "contactBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ContactBlocked" + }, + { + "id": "-748155807", + "predicate": "contactStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "ContactStatus" + }, + { + "id": "986597452", + "predicate": "contacts.link", + "params": [ + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "contacts.Link" + }, + { + "id": "-1219778094", + "predicate": "contacts.contactsNotModified", + "params": [], + "type": "contacts.Contacts" + }, + { + "id": "1871416498", + "predicate": "contacts.contacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-1387117803", + "predicate": "contacts.importedContacts", + "params": [ + { + "name": "imported", + "type": "Vector" + }, + { + "name": "retry_contacts", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "471043349", + "predicate": "contacts.blocked", + "params": [ + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-1878523231", + "predicate": "contacts.blockedSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "blocked", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "364538944", + "predicate": "messages.dialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "1910543603", + "predicate": "messages.dialogsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1938715001", + "predicate": "messages.messages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "189033187", + "predicate": "messages.messagesSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1694474197", + "predicate": "messages.chats", + "params": [ + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-438840932", + "predicate": "messages.chatFull", + "params": [ + { + "name": "full_chat", + "type": "ChatFull" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-1269012015", + "predicate": "messages.affectedHistory", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "1474492012", + "predicate": "inputMessagesFilterEmpty", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1777752804", + "predicate": "inputMessagesFilterPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1614803355", + "predicate": "inputMessagesFilterVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "1458172132", + "predicate": "inputMessagesFilterPhotoVideo", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-648121413", + "predicate": "inputMessagesFilterPhotoVideoDocuments", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1629621880", + "predicate": "inputMessagesFilterDocument", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "2129714567", + "predicate": "inputMessagesFilterUrl", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-3644025", + "predicate": "inputMessagesFilterGif", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "522914557", + "predicate": "updateNewMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1318109142", + "predicate": "updateMessageID", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Update" + }, + { + "id": "-1576161051", + "predicate": "updateDeleteMessages", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1548249383", + "predicate": "updateUserTyping", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "-1704596961", + "predicate": "updateChatUserTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Update" + }, + { + "id": "125178264", + "predicate": "updateChatParticipants", + "params": [ + { + "name": "participants", + "type": "ChatParticipants" + } + ], + "type": "Update" + }, + { + "id": "469489699", + "predicate": "updateUserStatus", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "status", + "type": "UserStatus" + } + ], + "type": "Update" + }, + { + "id": "-1489818765", + "predicate": "updateUserName", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1791935732", + "predicate": "updateUserPhoto", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "photo", + "type": "UserProfilePhoto" + }, + { + "name": "previous", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "628472761", + "predicate": "updateContactRegistered", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1657903163", + "predicate": "updateContactLink", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "my_link", + "type": "ContactLink" + }, + { + "name": "foreign_link", + "type": "ContactLink" + } + ], + "type": "Update" + }, + { + "id": "-1895411046", + "predicate": "updateNewAuthorization", + "params": [ + { + "name": "auth_key_id", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "device", + "type": "string" + }, + { + "name": "location", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "-1519637954", + "predicate": "updates.state", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "qts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + } + ], + "type": "updates.State" + }, + { + "id": "1567990072", + "predicate": "updates.differenceEmpty", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "16030880", + "predicate": "updates.difference", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-1459938943", + "predicate": "updates.differenceSlice", + "params": [ + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "new_encrypted_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "intermediate_state", + "type": "updates.State" + } + ], + "type": "updates.Difference" + }, + { + "id": "-484987010", + "predicate": "updatesTooLong", + "params": [], + "type": "Updates" + }, + { + "id": "-1857044719", + "predicate": "updateShortMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "377562760", + "predicate": "updateShortChatMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "mentioned", + "type": "flags.4?true" + }, + { + "name": "media_unread", + "type": "flags.5?true" + }, + { + "name": "silent", + "type": "flags.13?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "int" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "fwd_from", + "type": "flags.2?MessageFwdHeader" + }, + { + "name": "via_bot_id", + "type": "flags.11?int" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "2027216577", + "predicate": "updateShort", + "params": [ + { + "name": "update", + "type": "Update" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1918567619", + "predicate": "updatesCombined", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq_start", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1957577280", + "predicate": "updates", + "params": [ + { + "name": "updates", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "seq", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1916114267", + "predicate": "photos.photos", + "params": [ + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "352657236", + "predicate": "photos.photosSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "photos", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photos" + }, + { + "id": "539045032", + "predicate": "photos.photo", + "params": [ + { + "name": "photo", + "type": "Photo" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "photos.Photo" + }, + { + "id": "157948117", + "predicate": "upload.file", + "params": [ + { + "name": "type", + "type": "storage.FileType" + }, + { + "name": "mtime", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "upload.File" + }, + { + "id": "98092748", + "predicate": "dcOption", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "ipv6", + "type": "flags.0?true" + }, + { + "name": "media_only", + "type": "flags.1?true" + }, + { + "name": "tcpo_only", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "ip_address", + "type": "string" + }, + { + "name": "port", + "type": "int" + } + ], + "type": "DcOption" + }, + { + "id": "-918482040", + "predicate": "config", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "saved_gifs_limit", + "type": "int" + }, + { + "name": "edit_time_limit", + "type": "int" + }, + { + "name": "rating_e_decay", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1910892683", + "predicate": "nearestDc", + "params": [ + { + "name": "country", + "type": "string" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "nearest_dc", + "type": "int" + } + ], + "type": "NearestDc" + }, + { + "id": "-1987579119", + "predicate": "help.appUpdate", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "critical", + "type": "Bool" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppUpdate" + }, + { + "id": "-1000708810", + "predicate": "help.noAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "415997816", + "predicate": "help.inviteText", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "help.InviteText" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + }, + { + "id": "314359194", + "predicate": "updateNewEncryptedMessage", + "params": [ + { + "name": "message", + "type": "EncryptedMessage" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "386986326", + "predicate": "updateEncryptedChatTyping", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1264392051", + "predicate": "updateEncryption", + "params": [ + { + "name": "chat", + "type": "EncryptedChat" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "956179895", + "predicate": "updateEncryptedMessagesRead", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1417756512", + "predicate": "encryptedChatEmpty", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1006044124", + "predicate": "encryptedChatWaiting", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-931638658", + "predicate": "encryptedChatRequested", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-94974410", + "predicate": "encryptedChat", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "admin_id", + "type": "int" + }, + { + "name": "participant_id", + "type": "int" + }, + { + "name": "g_a_or_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "332848423", + "predicate": "encryptedChatDiscarded", + "params": [ + { + "name": "id", + "type": "int" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-247351839", + "predicate": "inputEncryptedChat", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedChat" + }, + { + "id": "-1038136962", + "predicate": "encryptedFileEmpty", + "params": [], + "type": "EncryptedFile" + }, + { + "id": "1248893260", + "predicate": "encryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "EncryptedFile" + }, + { + "id": "406307684", + "predicate": "inputEncryptedFileEmpty", + "params": [], + "type": "InputEncryptedFile" + }, + { + "id": "1690108678", + "predicate": "inputEncryptedFileUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "md5_checksum", + "type": "string" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "1511503333", + "predicate": "inputEncryptedFile", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-182231723", + "predicate": "inputEncryptedFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "-317144808", + "predicate": "encryptedMessage", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "594758406", + "predicate": "encryptedMessageService", + "params": [ + { + "name": "random_id", + "type": "long" + }, + { + "name": "chat_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "EncryptedMessage" + }, + { + "id": "-1058912715", + "predicate": "messages.dhConfigNotModified", + "params": [ + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "740433629", + "predicate": "messages.dhConfig", + "params": [ + { + "name": "g", + "type": "int" + }, + { + "name": "p", + "type": "bytes" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "random", + "type": "bytes" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "1443858741", + "predicate": "messages.sentEncryptedMessage", + "params": [ + { + "name": "date", + "type": "int" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1802240206", + "predicate": "messages.sentEncryptedFile", + "params": [ + { + "name": "date", + "type": "int" + }, + { + "name": "file", + "type": "EncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-95482955", + "predicate": "inputFileBig", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "name", + "type": "string" + } + ], + "type": "InputFile" + }, + { + "id": "767652808", + "predicate": "inputEncryptedFileBigUploaded", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "parts", + "type": "int" + }, + { + "name": "key_fingerprint", + "type": "int" + } + ], + "type": "InputEncryptedFile" + }, + { + "id": "-364179876", + "predicate": "updateChatParticipantAdd", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1851755554", + "predicate": "updateChatParticipantDelete", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1906403213", + "predicate": "updateDcOptions", + "params": [ + { + "name": "dc_options", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "495530093", + "predicate": "inputMediaUploadedDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-1386138479", + "predicate": "inputMediaUploadedThumbDocument", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "thumb", + "type": "InputFile" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "attributes", + "type": "Vector" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "444068508", + "predicate": "inputMediaDocument", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "-203411800", + "predicate": "messageMediaDocument", + "params": [ + { + "name": "document", + "type": "Document" + }, + { + "name": "caption", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "1928391342", + "predicate": "inputDocumentEmpty", + "params": [], + "type": "InputDocument" + }, + { + "id": "410618194", + "predicate": "inputDocument", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputDocument" + }, + { + "id": "1313188841", + "predicate": "inputDocumentFileLocation", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputFileLocation" + }, + { + "id": "922273905", + "predicate": "documentEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "Document" + }, + { + "id": "-106717361", + "predicate": "document", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "thumb", + "type": "PhotoSize" + }, + { + "name": "dc_id", + "type": "int" + }, + { + "name": "attributes", + "type": "Vector" + } + ], + "type": "Document" + }, + { + "id": "398898678", + "predicate": "help.support", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "user", + "type": "User" + } + ], + "type": "help.Support" + }, + { + "id": "-1613493288", + "predicate": "notifyPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + } + ], + "type": "NotifyPeer" + }, + { + "id": "-1261946036", + "predicate": "notifyUsers", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-1073230141", + "predicate": "notifyChats", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "1959820384", + "predicate": "notifyAll", + "params": [], + "type": "NotifyPeer" + }, + { + "id": "-2131957734", + "predicate": "updateUserBlocked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "blocked", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-1094555409", + "predicate": "updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "NotifyPeer" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + } + ], + "type": "Update" + }, + { + "id": "381645902", + "predicate": "sendMessageTypingAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-44119819", + "predicate": "sendMessageCancelAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-1584933265", + "predicate": "sendMessageRecordVideoAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-378127636", + "predicate": "sendMessageUploadVideoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-718310409", + "predicate": "sendMessageRecordAudioAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "-212740181", + "predicate": "sendMessageUploadAudioAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-774682074", + "predicate": "sendMessageUploadPhotoAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "-1441998364", + "predicate": "sendMessageUploadDocumentAction", + "params": [ + { + "name": "progress", + "type": "int" + } + ], + "type": "SendMessageAction" + }, + { + "id": "393186209", + "predicate": "sendMessageGeoLocationAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "1653390447", + "predicate": "sendMessageChooseContactAction", + "params": [], + "type": "SendMessageAction" + }, + { + "id": "446822276", + "predicate": "contacts.found", + "params": [ + { + "name": "results", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.Found" + }, + { + "id": "942527460", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "popup", + "type": "Bool" + } + ], + "type": "Update" + }, + { + "id": "-496024847", + "predicate": "userStatusRecently", + "params": [], + "type": "UserStatus" + }, + { + "id": "129960444", + "predicate": "userStatusLastWeek", + "params": [], + "type": "UserStatus" + }, + { + "id": "2011940674", + "predicate": "userStatusLastMonth", + "params": [], + "type": "UserStatus" + }, + { + "id": "-298113238", + "predicate": "updatePrivacy", + "params": [ + { + "name": "key", + "type": "PrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1335282456", + "predicate": "inputPrivacyKeyStatusTimestamp", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "-1137792208", + "predicate": "privacyKeyStatusTimestamp", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "218751099", + "predicate": "inputPrivacyValueAllowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "407582158", + "predicate": "inputPrivacyValueAllowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "320652927", + "predicate": "inputPrivacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "195371015", + "predicate": "inputPrivacyValueDisallowContacts", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-697604407", + "predicate": "inputPrivacyValueDisallowAll", + "params": [], + "type": "InputPrivacyRule" + }, + { + "id": "-1877932953", + "predicate": "inputPrivacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "InputPrivacyRule" + }, + { + "id": "-123988", + "predicate": "privacyValueAllowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1698855810", + "predicate": "privacyValueAllowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "1297858060", + "predicate": "privacyValueAllowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "-125240806", + "predicate": "privacyValueDisallowContacts", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "-1955338397", + "predicate": "privacyValueDisallowAll", + "params": [], + "type": "PrivacyRule" + }, + { + "id": "209668535", + "predicate": "privacyValueDisallowUsers", + "params": [ + { + "name": "users", + "type": "Vector" + } + ], + "type": "PrivacyRule" + }, + { + "id": "1430961007", + "predicate": "account.privacyRules", + "params": [ + { + "name": "rules", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-1194283041", + "predicate": "accountDaysTTL", + "params": [ + { + "name": "days", + "type": "int" + } + ], + "type": "AccountDaysTTL" + }, + { + "id": "314130811", + "predicate": "updateUserPhone", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "phone", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "1815593308", + "predicate": "documentAttributeImageSize", + "params": [ + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "297109817", + "predicate": "documentAttributeAnimated", + "params": [], + "type": "DocumentAttribute" + }, + { + "id": "978674434", + "predicate": "documentAttributeSticker", + "params": [ + { + "name": "alt", + "type": "string" + }, + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "1494273227", + "predicate": "documentAttributeVideo", + "params": [ + { + "name": "duration", + "type": "int" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-1739392570", + "predicate": "documentAttributeAudio", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "voice", + "type": "flags.10?true" + }, + { + "name": "duration", + "type": "int" + }, + { + "name": "title", + "type": "flags.0?string" + }, + { + "name": "performer", + "type": "flags.1?string" + }, + { + "name": "waveform", + "type": "flags.2?bytes" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "358154344", + "predicate": "documentAttributeFilename", + "params": [ + { + "name": "file_name", + "type": "string" + } + ], + "type": "DocumentAttribute" + }, + { + "id": "-244016606", + "predicate": "messages.stickersNotModified", + "params": [], + "type": "messages.Stickers" + }, + { + "id": "-1970352846", + "predicate": "messages.stickers", + "params": [ + { + "name": "hash", + "type": "string" + }, + { + "name": "stickers", + "type": "Vector" + } + ], + "type": "messages.Stickers" + }, + { + "id": "313694676", + "predicate": "stickerPack", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "StickerPack" + }, + { + "id": "-395967805", + "predicate": "messages.allStickersNotModified", + "params": [], + "type": "messages.AllStickers" + }, + { + "id": "-302170017", + "predicate": "messages.allStickers", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "sets", + "type": "Vector" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + }, + { + "id": "-1721631396", + "predicate": "updateReadHistoryInbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "791617983", + "predicate": "updateReadHistoryOutbox", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-2066640507", + "predicate": "messages.affectedMessages", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "1599050311", + "predicate": "contactLinkUnknown", + "params": [], + "type": "ContactLink" + }, + { + "id": "-17968211", + "predicate": "contactLinkNone", + "params": [], + "type": "ContactLink" + }, + { + "id": "646922073", + "predicate": "contactLinkHasPhone", + "params": [], + "type": "ContactLink" + }, + { + "id": "-721239344", + "predicate": "contactLinkContact", + "params": [], + "type": "ContactLink" + }, + { + "id": "2139689491", + "predicate": "updateWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-350980120", + "predicate": "webPageEmpty", + "params": [ + { + "name": "id", + "type": "long" + } + ], + "type": "WebPage" + }, + { + "id": "-981018084", + "predicate": "webPagePending", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "WebPage" + }, + { + "id": "-897446185", + "predicate": "webPage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "url", + "type": "string" + }, + { + "name": "display_url", + "type": "string" + }, + { + "name": "type", + "type": "flags.0?string" + }, + { + "name": "site_name", + "type": "flags.1?string" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "photo", + "type": "flags.4?Photo" + }, + { + "name": "embed_url", + "type": "flags.5?string" + }, + { + "name": "embed_type", + "type": "flags.5?string" + }, + { + "name": "embed_width", + "type": "flags.6?int" + }, + { + "name": "embed_height", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "author", + "type": "flags.8?string" + }, + { + "name": "document", + "type": "flags.9?Document" + } + ], + "type": "WebPage" + }, + { + "id": "-1557277184", + "predicate": "messageMediaWebPage", + "params": [ + { + "name": "webpage", + "type": "WebPage" + } + ], + "type": "MessageMedia" + }, + { + "id": "2079516406", + "predicate": "authorization", + "params": [ + { + "name": "hash", + "type": "long" + }, + { + "name": "flags", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "platform", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "app_name", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "date_created", + "type": "int" + }, + { + "name": "date_active", + "type": "int" + }, + { + "name": "ip", + "type": "string" + }, + { + "name": "country", + "type": "string" + }, + { + "name": "region", + "type": "string" + } + ], + "type": "Authorization" + }, + { + "id": "307276766", + "predicate": "account.authorizations", + "params": [ + { + "name": "authorizations", + "type": "Vector" + } + ], + "type": "account.Authorizations" + }, + { + "id": "-1764049896", + "predicate": "account.noPassword", + "params": [ + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "2081952796", + "predicate": "account.password", + "params": [ + { + "name": "current_salt", + "type": "bytes" + }, + { + "name": "new_salt", + "type": "bytes" + }, + { + "name": "hint", + "type": "string" + }, + { + "name": "has_recovery", + "type": "Bool" + }, + { + "name": "email_unconfirmed_pattern", + "type": "string" + } + ], + "type": "account.Password" + }, + { + "id": "-1212732749", + "predicate": "account.passwordSettings", + "params": [ + { + "name": "email", + "type": "string" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-2037289493", + "predicate": "account.passwordInputSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "new_salt", + "type": "flags.0?bytes" + }, + { + "name": "new_password_hash", + "type": "flags.0?bytes" + }, + { + "name": "hint", + "type": "flags.0?string" + }, + { + "name": "email", + "type": "flags.1?string" + } + ], + "type": "account.PasswordInputSettings" + }, + { + "id": "326715557", + "predicate": "auth.passwordRecovery", + "params": [ + { + "name": "email_pattern", + "type": "string" + } + ], + "type": "auth.PasswordRecovery" + }, + { + "id": "673687578", + "predicate": "inputMediaVenue", + "params": [ + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "2031269663", + "predicate": "messageMediaVenue", + "params": [ + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-1551583367", + "predicate": "receivedNotifyMessage", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "flags", + "type": "int" + } + ], + "type": "ReceivedNotifyMessage" + }, + { + "id": "1776236393", + "predicate": "chatInviteEmpty", + "params": [], + "type": "ExportedChatInvite" + }, + { + "id": "-64092740", + "predicate": "chatInviteExported", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1516793212", + "predicate": "chatInviteAlready", + "params": [ + { + "name": "chat", + "type": "Chat" + } + ], + "type": "ChatInvite" + }, + { + "id": "-1813406880", + "predicate": "chatInvite", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel", + "type": "flags.0?true" + }, + { + "name": "broadcast", + "type": "flags.1?true" + }, + { + "name": "public", + "type": "flags.2?true" + }, + { + "name": "megagroup", + "type": "flags.3?true" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "-123931160", + "predicate": "messageActionChatJoinedByLink", + "params": [ + { + "name": "inviter_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "1757493555", + "predicate": "updateReadMessagesContents", + "params": [ + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-4838507", + "predicate": "inputStickerSetEmpty", + "params": [], + "type": "InputStickerSet" + }, + { + "id": "-1645763991", + "predicate": "inputStickerSetID", + "params": [ + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-2044933984", + "predicate": "inputStickerSetShortName", + "params": [ + { + "name": "short_name", + "type": "string" + } + ], + "type": "InputStickerSet" + }, + { + "id": "-852477119", + "predicate": "stickerSet", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "installed", + "type": "flags.0?true" + }, + { + "name": "disabled", + "type": "flags.1?true" + }, + { + "name": "official", + "type": "flags.2?true" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "short_name", + "type": "string" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "StickerSet" + }, + { + "id": "-1240849242", + "predicate": "messages.stickerSet", + "params": [ + { + "name": "set", + "type": "StickerSet" + }, + { + "name": "packs", + "type": "Vector" + }, + { + "name": "documents", + "type": "Vector" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "-787638374", + "predicate": "user", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "self", + "type": "flags.10?true" + }, + { + "name": "contact", + "type": "flags.11?true" + }, + { + "name": "mutual_contact", + "type": "flags.12?true" + }, + { + "name": "deleted", + "type": "flags.13?true" + }, + { + "name": "bot", + "type": "flags.14?true" + }, + { + "name": "bot_chat_history", + "type": "flags.15?true" + }, + { + "name": "bot_nochats", + "type": "flags.16?true" + }, + { + "name": "verified", + "type": "flags.17?true" + }, + { + "name": "restricted", + "type": "flags.18?true" + }, + { + "name": "min", + "type": "flags.20?true" + }, + { + "name": "bot_inline_geo", + "type": "flags.21?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.0?long" + }, + { + "name": "first_name", + "type": "flags.1?string" + }, + { + "name": "last_name", + "type": "flags.2?string" + }, + { + "name": "username", + "type": "flags.3?string" + }, + { + "name": "phone", + "type": "flags.4?string" + }, + { + "name": "photo", + "type": "flags.5?UserProfilePhoto" + }, + { + "name": "status", + "type": "flags.6?UserStatus" + }, + { + "name": "bot_info_version", + "type": "flags.14?int" + }, + { + "name": "restriction_reason", + "type": "flags.18?string" + }, + { + "name": "bot_inline_placeholder", + "type": "flags.19?string" + } + ], + "type": "User" + }, + { + "id": "-1032140601", + "predicate": "botCommand", + "params": [ + { + "name": "command", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "BotCommand" + }, + { + "id": "-1729618630", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1560655744", + "predicate": "keyboardButton", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "2002815875", + "predicate": "keyboardButtonRow", + "params": [ + { + "name": "buttons", + "type": "Vector" + } + ], + "type": "KeyboardButtonRow" + }, + { + "id": "-1606526075", + "predicate": "replyKeyboardHide", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "-200242528", + "predicate": "replyKeyboardForceReply", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "889353612", + "predicate": "replyKeyboardMarkup", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "resize", + "type": "flags.0?true" + }, + { + "name": "single_use", + "type": "flags.1?true" + }, + { + "name": "selective", + "type": "flags.2?true" + }, + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "2072935910", + "predicate": "inputPeerUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-668391402", + "predicate": "inputUser", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputUser" + }, + { + "id": "-1350696044", + "predicate": "help.appChangelogEmpty", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "1181279933", + "predicate": "help.appChangelog", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1148011883", + "predicate": "messageEntityUnknown", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-100378723", + "predicate": "messageEntityMention", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1868782349", + "predicate": "messageEntityHashtag", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1827637959", + "predicate": "messageEntityBotCommand", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1859134776", + "predicate": "messageEntityUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1692693954", + "predicate": "messageEntityEmail", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-1117713463", + "predicate": "messageEntityBold", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "-2106619040", + "predicate": "messageEntityItalic", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "681706865", + "predicate": "messageEntityCode", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "1938967520", + "predicate": "messageEntityPre", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "language", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "1990644519", + "predicate": "messageEntityTextUrl", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "MessageEntity" + }, + { + "id": "301019932", + "predicate": "updateShortSentMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "out", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "media", + "type": "flags.9?MessageMedia" + }, + { + "name": "entities", + "type": "flags.7?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-292807034", + "predicate": "inputChannelEmpty", + "params": [], + "type": "InputChannel" + }, + { + "id": "-1343524562", + "predicate": "inputChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputChannel" + }, + { + "id": "-1109531342", + "predicate": "peerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Peer" + }, + { + "id": "548253432", + "predicate": "inputPeerChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputPeer" + }, + { + "id": "-1588737454", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?true" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "verified", + "type": "flags.7?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "restricted", + "type": "flags.9?true" + }, + { + "name": "democracy", + "type": "flags.10?true" + }, + { + "name": "signatures", + "type": "flags.11?true" + }, + { + "name": "min", + "type": "flags.12?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "flags.13?long" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "username", + "type": "flags.6?string" + }, + { + "name": "photo", + "type": "ChatPhoto" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "version", + "type": "int" + }, + { + "name": "restriction_reason", + "type": "flags.9?string" + } + ], + "type": "Chat" + }, + { + "id": "-2059962289", + "predicate": "channelForbidden", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.5?true" + }, + { + "name": "megagroup", + "type": "flags.8?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "access_hash", + "type": "long" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Chat" + }, + { + "id": "2131196633", + "predicate": "contacts.resolvedPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "-1009430225", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "can_set_username", + "type": "flags.6?true" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "about", + "type": "string" + }, + { + "name": "participants_count", + "type": "flags.0?int" + }, + { + "name": "admins_count", + "type": "flags.1?int" + }, + { + "name": "kicked_count", + "type": "flags.2?int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "read_outbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + }, + { + "name": "pinned_msg_id", + "type": "flags.5?int" + } + ], + "type": "ChatFull" + }, + { + "id": "182649427", + "predicate": "messageRange", + "params": [ + { + "name": "min_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "MessageRange" + }, + { + "id": "-1725551049", + "predicate": "messages.channelMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "-1781355374", + "predicate": "messageActionChannelCreate", + "params": [ + { + "name": "title", + "type": "string" + } + ], + "type": "MessageAction" + }, + { + "id": "-352032773", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel_id", + "type": "int" + }, + { + "name": "pts", + "type": "flags.0?int" + } + ], + "type": "Update" + }, + { + "id": "-1227598250", + "predicate": "updateChannel", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1656358105", + "predicate": "updateNewChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1108669311", + "predicate": "updateReadChannelInbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1015733815", + "predicate": "updateDeleteChannelMessages", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1734268085", + "predicate": "updateChannelMessageViews", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "views", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1041346555", + "predicate": "updates.channelDifferenceEmpty", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "1091431943", + "predicate": "updates.channelDifferenceTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "read_outbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "543450958", + "predicate": "updates.channelDifference", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "final", + "type": "flags.0?true" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "timeout", + "type": "flags.1?int" + }, + { + "name": "new_messages", + "type": "Vector" + }, + { + "name": "other_updates", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-1798033689", + "predicate": "channelMessagesFilterEmpty", + "params": [], + "type": "ChannelMessagesFilter" + }, + { + "id": "-847783593", + "predicate": "channelMessagesFilter", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "exclude_new_messages", + "type": "flags.1?true" + }, + { + "name": "ranges", + "type": "Vector" + } + ], + "type": "ChannelMessagesFilter" + }, + { + "id": "367766557", + "predicate": "channelParticipant", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1557620115", + "predicate": "channelParticipantSelf", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1861910545", + "predicate": "channelParticipantModerator", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1743180447", + "predicate": "channelParticipantEditor", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-1933187430", + "predicate": "channelParticipantKicked", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "kicked_by", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-471670279", + "predicate": "channelParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChannelParticipant" + }, + { + "id": "-566281095", + "predicate": "channelParticipantsRecent", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1268741783", + "predicate": "channelParticipantsAdmins", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "1010285434", + "predicate": "channelParticipantsKicked", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-1299865402", + "predicate": "channelRoleEmpty", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-1776756363", + "predicate": "channelRoleModerator", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-2113143156", + "predicate": "channelRoleEditor", + "params": [], + "type": "ChannelParticipantRole" + }, + { + "id": "-177282392", + "predicate": "channels.channelParticipants", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "participants", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "-791039645", + "predicate": "channels.channelParticipant", + "params": [ + { + "name": "participant", + "type": "ChannelParticipant" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "-636267638", + "predicate": "chatParticipantCreator", + "params": [ + { + "name": "user_id", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "-489233354", + "predicate": "chatParticipantAdmin", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "inviter_id", + "type": "int" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "ChatParticipant" + }, + { + "id": "1855224129", + "predicate": "updateChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1232070311", + "predicate": "updateChatParticipantAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "is_admin", + "type": "Bool" + }, + { + "name": "version", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "1371385889", + "predicate": "messageActionChatMigrateTo", + "params": [ + { + "name": "channel_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1336546578", + "predicate": "messageActionChannelMigrateFrom", + "params": [ + { + "name": "title", + "type": "string" + }, + { + "name": "chat_id", + "type": "int" + } + ], + "type": "MessageAction" + }, + { + "id": "-1328445861", + "predicate": "channelParticipantsBots", + "params": [], + "type": "ChannelParticipantsFilter" + }, + { + "id": "-236044656", + "predicate": "help.termsOfService", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "help.TermsOfService" + }, + { + "id": "1753886890", + "predicate": "updateNewStickerSet", + "params": [ + { + "name": "stickerset", + "type": "messages.StickerSet" + } + ], + "type": "Update" + }, + { + "id": "-253774767", + "predicate": "updateStickerSetsOrder", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "1135492588", + "predicate": "updateStickerSets", + "params": [], + "type": "Update" + }, + { + "id": "372165663", + "predicate": "foundGif", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "thumb_url", + "type": "string" + }, + { + "name": "content_url", + "type": "string" + }, + { + "name": "content_type", + "type": "string" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + } + ], + "type": "FoundGif" + }, + { + "id": "-1670052855", + "predicate": "foundGifCached", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "photo", + "type": "Photo" + }, + { + "name": "document", + "type": "Document" + } + ], + "type": "FoundGif" + }, + { + "id": "1212395773", + "predicate": "inputMediaGifExternal", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "q", + "type": "string" + } + ], + "type": "InputMedia" + }, + { + "id": "1158290442", + "predicate": "messages.foundGifs", + "params": [ + { + "name": "next_offset", + "type": "int" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-402498398", + "predicate": "messages.savedGifsNotModified", + "params": [], + "type": "messages.SavedGifs" + }, + { + "id": "772213157", + "predicate": "messages.savedGifs", + "params": [ + { + "name": "hash", + "type": "int" + }, + { + "name": "gifs", + "type": "Vector" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "-1821035490", + "predicate": "updateSavedGifs", + "params": [], + "type": "Update" + }, + { + "id": "691006739", + "predicate": "inputBotInlineMessageMediaAuto", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "1036876423", + "predicate": "inputBotInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "750510426", + "predicate": "inputBotInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "175419739", + "predicate": "botInlineMessageMediaAuto", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1937807902", + "predicate": "botInlineMessageText", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.0?true" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.1?Vector" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1679053127", + "predicate": "botInlineResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "url", + "type": "flags.3?string" + }, + { + "name": "thumb_url", + "type": "flags.4?string" + }, + { + "name": "content_url", + "type": "flags.5?string" + }, + { + "name": "content_type", + "type": "flags.5?string" + }, + { + "name": "w", + "type": "flags.6?int" + }, + { + "name": "h", + "type": "flags.6?int" + }, + { + "name": "duration", + "type": "flags.7?int" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "627509670", + "predicate": "messages.botResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "next_offset", + "type": "flags.1?string" + }, + { + "name": "switch_pm", + "type": "flags.2?InlineBotSwitchPM" + }, + { + "name": "results", + "type": "Vector" + } + ], + "type": "messages.BotResults" + }, + { + "id": "1417832080", + "predicate": "updateBotInlineQuery", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "geo", + "type": "flags.0?GeoPoint" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "Update" + }, + { + "id": "239663460", + "predicate": "updateBotInlineSend", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "geo", + "type": "flags.0?GeoPoint" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "msg_id", + "type": "flags.1?InputBotInlineMessageID" + } + ], + "type": "Update" + }, + { + "id": "1358283666", + "predicate": "inputMessagesFilterVoice", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "928101534", + "predicate": "inputMessagesFilterMusic", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "-1107622874", + "predicate": "inputPrivacyKeyChatInvite", + "params": [], + "type": "InputPrivacyKey" + }, + { + "id": "1343122938", + "predicate": "privacyKeyChatInvite", + "params": [], + "type": "PrivacyKey" + }, + { + "id": "524838915", + "predicate": "exportedMessageLink", + "params": [ + { + "name": "link", + "type": "string" + } + ], + "type": "ExportedMessageLink" + }, + { + "id": "-947462709", + "predicate": "messageFwdHeader", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "from_id", + "type": "flags.0?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "channel_id", + "type": "flags.1?int" + }, + { + "name": "channel_post", + "type": "flags.2?int" + } + ], + "type": "MessageFwdHeader" + }, + { + "id": "457133559", + "predicate": "updateEditChannelMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1738988427", + "predicate": "updateChannelPinnedMessage", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-1799538451", + "predicate": "messageActionPinMessage", + "params": [], + "type": "MessageAction" + }, + { + "id": "1923290508", + "predicate": "auth.codeTypeSms", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "1948046307", + "predicate": "auth.codeTypeCall", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "577556219", + "predicate": "auth.codeTypeFlashCall", + "params": [], + "type": "auth.CodeType" + }, + { + "id": "1035688326", + "predicate": "auth.sentCodeTypeApp", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "-1073693790", + "predicate": "auth.sentCodeTypeSms", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "1398007207", + "predicate": "auth.sentCodeTypeCall", + "params": [ + { + "name": "length", + "type": "int" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "-1425815847", + "predicate": "auth.sentCodeTypeFlashCall", + "params": [ + { + "name": "pattern", + "type": "string" + } + ], + "type": "auth.SentCodeType" + }, + { + "id": "629866245", + "predicate": "keyboardButtonUrl", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "url", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "1748655686", + "predicate": "keyboardButtonCallback", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-1318425559", + "predicate": "keyboardButtonRequestPhone", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-59151553", + "predicate": "keyboardButtonRequestGeoLocation", + "params": [ + { + "name": "text", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "-367298028", + "predicate": "keyboardButtonSwitchInline", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "query", + "type": "string" + } + ], + "type": "KeyboardButton" + }, + { + "id": "1218642516", + "predicate": "replyInlineMarkup", + "params": [ + { + "name": "rows", + "type": "Vector" + } + ], + "type": "ReplyMarkup" + }, + { + "id": "308605382", + "predicate": "messages.botCallbackAnswer", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "alert", + "type": "flags.1?true" + }, + { + "name": "message", + "type": "flags.0?string" + } + ], + "type": "messages.BotCallbackAnswer" + }, + { + "id": "-1500747636", + "predicate": "updateBotCallbackQuery", + "params": [ + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "Update" + }, + { + "id": "649453030", + "predicate": "messages.messageEditData", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "caption", + "type": "flags.0?true" + } + ], + "type": "messages.MessageEditData" + }, + { + "id": "-469536605", + "predicate": "updateEditMessage", + "params": [ + { + "name": "message", + "type": "Message" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "pts_count", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-190472735", + "predicate": "inputBotInlineMessageMediaGeo", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "-1431327288", + "predicate": "inputBotInlineMessageMediaVenue", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "766443943", + "predicate": "inputBotInlineMessageMediaContact", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "InputBotInlineMessage" + }, + { + "id": "982505656", + "predicate": "botInlineMessageMediaGeo", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "1130767150", + "predicate": "botInlineMessageMediaVenue", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "geo", + "type": "GeoPoint" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "address", + "type": "string" + }, + { + "name": "provider", + "type": "string" + }, + { + "name": "venue_id", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "904770772", + "predicate": "botInlineMessageMediaContact", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "BotInlineMessage" + }, + { + "id": "-1462213465", + "predicate": "inputBotInlineResultPhoto", + "params": [ + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "photo", + "type": "InputPhoto" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "-459324", + "predicate": "inputBotInlineResultDocument", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "title", + "type": "flags.1?string" + }, + { + "name": "description", + "type": "flags.2?string" + }, + { + "name": "document", + "type": "InputDocument" + }, + { + "name": "send_message", + "type": "InputBotInlineMessage" + } + ], + "type": "InputBotInlineResult" + }, + { + "id": "400266251", + "predicate": "botInlineMediaResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "id", + "type": "string" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "photo", + "type": "flags.0?Photo" + }, + { + "name": "document", + "type": "flags.1?Document" + }, + { + "name": "title", + "type": "flags.2?string" + }, + { + "name": "description", + "type": "flags.3?string" + }, + { + "name": "send_message", + "type": "BotInlineMessage" + } + ], + "type": "BotInlineResult" + }, + { + "id": "-1995686519", + "predicate": "inputBotInlineMessageID", + "params": [ + { + "name": "dc_id", + "type": "int" + }, + { + "name": "id", + "type": "long" + }, + { + "name": "access_hash", + "type": "long" + } + ], + "type": "InputBotInlineMessageID" + }, + { + "id": "750622127", + "predicate": "updateInlineBotCallbackQuery", + "params": [ + { + "name": "query_id", + "type": "long" + }, + { + "name": "user_id", + "type": "int" + }, + { + "name": "msg_id", + "type": "InputBotInlineMessageID" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "Update" + }, + { + "id": "1008755359", + "predicate": "inlineBotSwitchPM", + "params": [ + { + "name": "text", + "type": "string" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "InlineBotSwitchPM" + }, + { + "id": "863093588", + "predicate": "messages.peerDialogs", + "params": [ + { + "name": "dialogs", + "type": "Vector" + }, + { + "name": "messages", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + }, + { + "name": "state", + "type": "updates.State" + } + ], + "type": "messages.PeerDialogs" + }, + { + "id": "-305282981", + "predicate": "topPeer", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "rating", + "type": "double" + } + ], + "type": "TopPeer" + }, + { + "id": "-1419371685", + "predicate": "topPeerCategoryBotsPM", + "params": [], + "type": "TopPeerCategory" + }, + { + "id": "344356834", + "predicate": "topPeerCategoryBotsInline", + "params": [], + "type": "TopPeerCategory" + }, + { + "id": "104314861", + "predicate": "topPeerCategoryCorrespondents", + "params": [], + "type": "TopPeerCategory" + }, + { + "id": "-1122524854", + "predicate": "topPeerCategoryGroups", + "params": [], + "type": "TopPeerCategory" + }, + { + "id": "371037736", + "predicate": "topPeerCategoryChannels", + "params": [], + "type": "TopPeerCategory" + }, + { + "id": "-75283823", + "predicate": "topPeerCategoryPeers", + "params": [ + { + "name": "category", + "type": "TopPeerCategory" + }, + { + "name": "count", + "type": "int" + }, + { + "name": "peers", + "type": "Vector" + } + ], + "type": "TopPeerCategoryPeers" + }, + { + "id": "-567906571", + "predicate": "contacts.topPeersNotModified", + "params": [], + "type": "contacts.TopPeers" + }, + { + "id": "1891070632", + "predicate": "contacts.topPeers", + "params": [ + { + "name": "categories", + "type": "Vector" + }, + { + "name": "chats", + "type": "Vector" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "contacts.TopPeers" + }, + { + "id": "892193368", + "predicate": "messageEntityMentionName", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "user_id", + "type": "int" + } + ], + "type": "MessageEntity" + }, + { + "id": "546203849", + "predicate": "inputMessageEntityMentionName", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "length", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "MessageEntity" + }, + { + "id": "975236280", + "predicate": "inputMessagesFilterChatPhotos", + "params": [], + "type": "MessagesFilter" + }, + { + "id": "634833351", + "predicate": "updateReadChannelOutbox", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Update" + }, + { + "id": "-299124375", + "predicate": "updateDraftMessage", + "params": [ + { + "name": "peer", + "type": "Peer" + }, + { + "name": "draft", + "type": "DraftMessage" + } + ], + "type": "Update" + }, + { + "id": "-1169445179", + "predicate": "draftMessageEmpty", + "params": [], + "type": "DraftMessage" + }, + { + "id": "-40996577", + "predicate": "draftMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.3?Vector" + }, + { + "name": "date", + "type": "int" + } + ], + "type": "DraftMessage" + }, + { + "id": "-1615153660", + "predicate": "messageActionHistoryClear", + "params": [], + "type": "MessageAction" + } + ], + "methods": [ + { + "id": "-878758099", + "method": "invokeAfterMsg", + "params": [ + { + "name": "msg_id", + "type": "long" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1036301552", + "method": "invokeAfterMsgs", + "params": [ + { + "name": "msg_ids", + "type": "Vector" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "1877286395", + "method": "auth.checkPhone", + "params": [ + { + "name": "phone_number", + "type": "string" + } + ], + "type": "auth.CheckedPhone" + }, + { + "id": "-2035355412", + "method": "auth.sendCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "allow_flashcall", + "type": "flags.0?true" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "current_number", + "type": "flags.0?Bool" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "453408308", + "method": "auth.signUp", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + }, + { + "name": "first_name", + "type": "string" + }, + { + "name": "last_name", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1126886015", + "method": "auth.signIn", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "1461180992", + "method": "auth.logOut", + "params": [], + "type": "Bool" + }, + { + "id": "-1616179942", + "method": "auth.resetAuthorizations", + "params": [], + "type": "Bool" + }, + { + "id": "1998331287", + "method": "auth.sendInvites", + "params": [ + { + "name": "phone_numbers", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-440401971", + "method": "auth.exportAuthorization", + "params": [ + { + "name": "dc_id", + "type": "int" + } + ], + "type": "auth.ExportedAuthorization" + }, + { + "id": "-470837741", + "method": "auth.importAuthorization", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-841733627", + "method": "auth.bindTempAuthKey", + "params": [ + { + "name": "perm_auth_key_id", + "type": "long" + }, + { + "name": "nonce", + "type": "long" + }, + { + "name": "expires_at", + "type": "int" + }, + { + "name": "encrypted_message", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1669245048", + "method": "account.registerDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1707432768", + "method": "account.unregisterDevice", + "params": [ + { + "name": "token_type", + "type": "int" + }, + { + "name": "token", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-2067899501", + "method": "account.updateNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + }, + { + "name": "settings", + "type": "InputPeerNotifySettings" + } + ], + "type": "Bool" + }, + { + "id": "313765169", + "method": "account.getNotifySettings", + "params": [ + { + "name": "peer", + "type": "InputNotifyPeer" + } + ], + "type": "PeerNotifySettings" + }, + { + "id": "-612493497", + "method": "account.resetNotifySettings", + "params": [], + "type": "Bool" + }, + { + "id": "2018596725", + "method": "account.updateProfile", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "first_name", + "type": "flags.0?string" + }, + { + "name": "last_name", + "type": "flags.1?string" + }, + { + "name": "about", + "type": "flags.2?string" + } + ], + "type": "User" + }, + { + "id": "1713919532", + "method": "account.updateStatus", + "params": [ + { + "name": "offline", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-1068696894", + "method": "account.getWallPapers", + "params": [], + "type": "Vector" + }, + { + "id": "-1374118561", + "method": "account.reportPeer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reason", + "type": "ReportReason" + } + ], + "type": "Bool" + }, + { + "id": "227648840", + "method": "users.getUsers", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-902781519", + "method": "users.getFullUser", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "UserFull" + }, + { + "id": "-995929106", + "method": "contacts.getStatuses", + "params": [], + "type": "Vector" + }, + { + "id": "583445000", + "method": "contacts.getContacts", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "contacts.Contacts" + }, + { + "id": "-634342611", + "method": "contacts.importContacts", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "replace", + "type": "Bool" + } + ], + "type": "contacts.ImportedContacts" + }, + { + "id": "-1902823612", + "method": "contacts.deleteContact", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "contacts.Link" + }, + { + "id": "1504393374", + "method": "contacts.deleteContacts", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "858475004", + "method": "contacts.block", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-448724803", + "method": "contacts.unblock", + "params": [ + { + "name": "id", + "type": "InputUser" + } + ], + "type": "Bool" + }, + { + "id": "-176409329", + "method": "contacts.getBlocked", + "params": [ + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Blocked" + }, + { + "id": "-2065352905", + "method": "contacts.exportCard", + "params": [], + "type": "Vector" + }, + { + "id": "1340184318", + "method": "contacts.importCard", + "params": [ + { + "name": "export_card", + "type": "Vector" + } + ], + "type": "User" + }, + { + "id": "1109588596", + "method": "messages.getMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "1799878989", + "method": "messages.getDialogs", + "params": [ + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1347868602", + "method": "messages.getHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "add_offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "min_id", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "-732523960", + "method": "messages.search", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "q", + "type": "string" + }, + { + "name": "filter", + "type": "MessagesFilter" + }, + { + "name": "min_date", + "type": "int" + }, + { + "name": "max_date", + "type": "int" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "238054714", + "method": "messages.readHistory", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "469850889", + "method": "messages.deleteHistory", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "just_clear", + "type": "flags.0?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-1510897371", + "method": "messages.deleteMessages", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "94983360", + "method": "messages.receivedMessages", + "params": [ + { + "name": "max_id", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-1551737264", + "method": "messages.setTyping", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "action", + "type": "SendMessageAction" + } + ], + "type": "Bool" + }, + { + "id": "-91733382", + "method": "messages.sendMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "clear_draft", + "type": "flags.7?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "-923703407", + "method": "messages.sendMedia", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "clear_draft", + "type": "flags.7?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "media", + "type": "InputMedia" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + } + ], + "type": "Updates" + }, + { + "id": "1888354709", + "method": "messages.forwardMessages", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "from_peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "to_peer", + "type": "InputPeer" + } + ], + "type": "Updates" + }, + { + "id": "-820669733", + "method": "messages.reportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "-1460572005", + "method": "messages.hideReportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "913498268", + "method": "messages.getPeerSettings", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "PeerSettings" + }, + { + "id": "1013621127", + "method": "messages.getChats", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "998448230", + "method": "messages.getFullChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-599447467", + "method": "messages.editChatTitle", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-900957736", + "method": "messages.editChatPhoto", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "-106911223", + "method": "messages.addChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "fwd_limit", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-530505962", + "method": "messages.deleteChatUser", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "Updates" + }, + { + "id": "164303470", + "method": "messages.createChat", + "params": [ + { + "name": "users", + "type": "Vector" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-304838614", + "method": "updates.getState", + "params": [], + "type": "updates.State" + }, + { + "id": "168039573", + "method": "updates.getDifference", + "params": [ + { + "name": "pts", + "type": "int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "qts", + "type": "int" + } + ], + "type": "updates.Difference" + }, + { + "id": "-285902432", + "method": "photos.updateProfilePhoto", + "params": [ + { + "name": "id", + "type": "InputPhoto" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "UserProfilePhoto" + }, + { + "id": "-720397176", + "method": "photos.uploadProfilePhoto", + "params": [ + { + "name": "file", + "type": "InputFile" + }, + { + "name": "caption", + "type": "string" + }, + { + "name": "geo_point", + "type": "InputGeoPoint" + }, + { + "name": "crop", + "type": "InputPhotoCrop" + } + ], + "type": "photos.Photo" + }, + { + "id": "-2016444625", + "method": "photos.deletePhotos", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "Vector" + }, + { + "id": "-1291540959", + "method": "upload.saveFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "-475607115", + "method": "upload.getFile", + "params": [ + { + "name": "location", + "type": "InputFileLocation" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "upload.File" + }, + { + "id": "-990308245", + "method": "help.getConfig", + "params": [], + "type": "Config" + }, + { + "id": "531836966", + "method": "help.getNearestDc", + "params": [], + "type": "NearestDc" + }, + { + "id": "-1372724842", + "method": "help.getAppUpdate", + "params": [], + "type": "help.AppUpdate" + }, + { + "id": "1862465352", + "method": "help.saveAppLog", + "params": [ + { + "name": "events", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "1295590211", + "method": "help.getInviteText", + "params": [], + "type": "help.InviteText" + }, + { + "id": "-1848823128", + "method": "photos.getUserPhotos", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "max_id", + "type": "long" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "photos.Photos" + }, + { + "id": "865483769", + "method": "messages.forwardMessage", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "random_id", + "type": "long" + } + ], + "type": "Updates" + }, + { + "id": "-1082919718", + "method": "messages.sendBroadcast", + "params": [ + { + "name": "contacts", + "type": "Vector" + }, + { + "name": "random_id", + "type": "Vector" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "InputMedia" + } + ], + "type": "Updates" + }, + { + "id": "651135312", + "method": "messages.getDhConfig", + "params": [ + { + "name": "version", + "type": "int" + }, + { + "name": "random_length", + "type": "int" + } + ], + "type": "messages.DhConfig" + }, + { + "id": "-162681021", + "method": "messages.requestEncryption", + "params": [ + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "random_id", + "type": "int" + }, + { + "name": "g_a", + "type": "bytes" + } + ], + "type": "EncryptedChat" + }, + { + "id": "1035731989", + "method": "messages.acceptEncryption", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "g_b", + "type": "bytes" + }, + { + "name": "key_fingerprint", + "type": "long" + } + ], + "type": "EncryptedChat" + }, + { + "id": "-304536635", + "method": "messages.discardEncryption", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "2031374829", + "method": "messages.setEncryptedTyping", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "typing", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "2135648522", + "method": "messages.readEncryptedHistory", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "max_date", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-1451792525", + "method": "messages.sendEncrypted", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "-1701831834", + "method": "messages.sendEncryptedFile", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + }, + { + "name": "file", + "type": "InputEncryptedFile" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "852769188", + "method": "messages.sendEncryptedService", + "params": [ + { + "name": "peer", + "type": "InputEncryptedChat" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.SentEncryptedMessage" + }, + { + "id": "1436924774", + "method": "messages.receivedQueue", + "params": [ + { + "name": "max_qts", + "type": "int" + } + ], + "type": "Vector" + }, + { + "id": "-562337987", + "method": "upload.saveBigFilePart", + "params": [ + { + "name": "file_id", + "type": "long" + }, + { + "name": "file_part", + "type": "int" + }, + { + "name": "file_total_parts", + "type": "int" + }, + { + "name": "bytes", + "type": "bytes" + } + ], + "type": "Bool" + }, + { + "id": "1769565673", + "method": "initConnection", + "params": [ + { + "name": "api_id", + "type": "int" + }, + { + "name": "device_model", + "type": "string" + }, + { + "name": "system_version", + "type": "string" + }, + { + "name": "app_version", + "type": "string" + }, + { + "name": "lang_code", + "type": "string" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-1663104819", + "method": "help.getSupport", + "params": [], + "type": "help.Support" + }, + { + "id": "916930423", + "method": "messages.readMessageContents", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "655677548", + "method": "account.checkUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "1040964988", + "method": "account.updateUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "301470424", + "method": "contacts.search", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "contacts.Found" + }, + { + "id": "-623130288", + "method": "account.getPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "-906486552", + "method": "account.setPrivacy", + "params": [ + { + "name": "key", + "type": "InputPrivacyKey" + }, + { + "name": "rules", + "type": "Vector" + } + ], + "type": "account.PrivacyRules" + }, + { + "id": "1099779595", + "method": "account.deleteAccount", + "params": [ + { + "name": "reason", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "150761757", + "method": "account.getAccountTTL", + "params": [], + "type": "AccountDaysTTL" + }, + { + "id": "608323678", + "method": "account.setAccountTTL", + "params": [ + { + "name": "ttl", + "type": "AccountDaysTTL" + } + ], + "type": "Bool" + }, + { + "id": "-627372787", + "method": "invokeWithLayer", + "params": [ + { + "name": "layer", + "type": "int" + }, + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "-113456221", + "method": "contacts.resolveUsername", + "params": [ + { + "name": "username", + "type": "string" + } + ], + "type": "contacts.ResolvedPeer" + }, + { + "id": "149257707", + "method": "account.sendChangePhoneCode", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "allow_flashcall", + "type": "flags.0?true" + }, + { + "name": "phone_number", + "type": "string" + }, + { + "name": "current_number", + "type": "flags.0?Bool" + } + ], + "type": "auth.SentCode" + }, + { + "id": "1891839707", + "method": "account.changePhone", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + }, + { + "name": "phone_code", + "type": "string" + } + ], + "type": "User" + }, + { + "id": "-1373446075", + "method": "messages.getStickers", + "params": [ + { + "name": "emoticon", + "type": "string" + }, + { + "name": "hash", + "type": "string" + } + ], + "type": "messages.Stickers" + }, + { + "id": "479598769", + "method": "messages.getAllStickers", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.AllStickers" + }, + { + "id": "954152242", + "method": "account.updateDeviceLocked", + "params": [ + { + "name": "period", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "1738800940", + "method": "auth.importBotAuthorization", + "params": [ + { + "name": "flags", + "type": "int" + }, + { + "name": "api_id", + "type": "int" + }, + { + "name": "api_hash", + "type": "string" + }, + { + "name": "bot_auth_token", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "623001124", + "method": "messages.getWebPagePreview", + "params": [ + { + "name": "message", + "type": "string" + } + ], + "type": "MessageMedia" + }, + { + "id": "-484392616", + "method": "account.getAuthorizations", + "params": [], + "type": "account.Authorizations" + }, + { + "id": "-545786948", + "method": "account.resetAuthorization", + "params": [ + { + "name": "hash", + "type": "long" + } + ], + "type": "Bool" + }, + { + "id": "1418342645", + "method": "account.getPassword", + "params": [], + "type": "account.Password" + }, + { + "id": "-1131605573", + "method": "account.getPasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + } + ], + "type": "account.PasswordSettings" + }, + { + "id": "-92517498", + "method": "account.updatePasswordSettings", + "params": [ + { + "name": "current_password_hash", + "type": "bytes" + }, + { + "name": "new_settings", + "type": "account.PasswordInputSettings" + } + ], + "type": "Bool" + }, + { + "id": "174260510", + "method": "auth.checkPassword", + "params": [ + { + "name": "password_hash", + "type": "bytes" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-661144474", + "method": "auth.requestPasswordRecovery", + "params": [], + "type": "auth.PasswordRecovery" + }, + { + "id": "1319464594", + "method": "auth.recoverPassword", + "params": [ + { + "name": "code", + "type": "string" + } + ], + "type": "auth.Authorization" + }, + { + "id": "-1080796745", + "method": "invokeWithoutUpdates", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + }, + { + "id": "2106086025", + "method": "messages.exportChatInvite", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "1051570619", + "method": "messages.checkChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "ChatInvite" + }, + { + "id": "1817183516", + "method": "messages.importChatInvite", + "params": [ + { + "name": "hash", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "639215886", + "method": "messages.getStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "messages.StickerSet" + }, + { + "id": "2066793382", + "method": "messages.installStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + }, + { + "name": "disabled", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "-110209570", + "method": "messages.uninstallStickerSet", + "params": [ + { + "name": "stickerset", + "type": "InputStickerSet" + } + ], + "type": "Bool" + }, + { + "id": "-421563528", + "method": "messages.startBot", + "params": [ + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "start_param", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-1189013126", + "method": "help.getAppChangelog", + "params": [], + "type": "help.AppChangelog" + }, + { + "id": "-993483427", + "method": "messages.getMessagesViews", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "Vector" + }, + { + "name": "increment", + "type": "Bool" + } + ], + "type": "Vector" + }, + { + "id": "-871347913", + "method": "channels.readHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "max_id", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "-2067661490", + "method": "channels.deleteMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.AffectedMessages" + }, + { + "id": "-787622117", + "method": "channels.deleteUserHistory", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "messages.AffectedHistory" + }, + { + "id": "-32999408", + "method": "channels.reportSpam", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1814580409", + "method": "channels.getMessages", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Messages" + }, + { + "id": "618237842", + "method": "channels.getParticipants", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelParticipantsFilter" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "channels.ChannelParticipants" + }, + { + "id": "1416484774", + "method": "channels.getParticipant", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + } + ], + "type": "channels.ChannelParticipant" + }, + { + "id": "176122811", + "method": "channels.getChannels", + "params": [ + { + "name": "id", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "141781513", + "method": "channels.getFullChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "messages.ChatFull" + }, + { + "id": "-192332417", + "method": "channels.createChannel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "broadcast", + "type": "flags.0?true" + }, + { + "name": "megagroup", + "type": "flags.1?true" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "333610782", + "method": "channels.editAbout", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "about", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-344583728", + "method": "channels.editAdmin", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "role", + "type": "ChannelParticipantRole" + } + ], + "type": "Updates" + }, + { + "id": "1450044624", + "method": "channels.editTitle", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "title", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "-248621111", + "method": "channels.editPhoto", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "photo", + "type": "InputChatPhoto" + } + ], + "type": "Updates" + }, + { + "id": "283557164", + "method": "channels.checkUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "890549214", + "method": "channels.updateUsername", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "username", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "615851205", + "method": "channels.joinChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-130635115", + "method": "channels.leaveChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "429865580", + "method": "channels.inviteToChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "users", + "type": "Vector" + } + ], + "type": "Updates" + }, + { + "id": "-1502421484", + "method": "channels.kickFromChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "kicked", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-950663035", + "method": "channels.exportInvite", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "ExportedChatInvite" + }, + { + "id": "-1072619549", + "method": "channels.deleteChannel", + "params": [ + { + "name": "channel", + "type": "InputChannel" + } + ], + "type": "Updates" + }, + { + "id": "-1154295872", + "method": "updates.getChannelDifference", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "filter", + "type": "ChannelMessagesFilter" + }, + { + "name": "pts", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "updates.ChannelDifference" + }, + { + "id": "-326379039", + "method": "messages.toggleChatAdmins", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1444503762", + "method": "messages.editChatAdmin", + "params": [ + { + "name": "chat_id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "is_admin", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "363051235", + "method": "messages.migrateChat", + "params": [ + { + "name": "chat_id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "-1640190800", + "method": "messages.searchGlobal", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Messages" + }, + { + "id": "889286899", + "method": "help.getTermsOfService", + "params": [], + "type": "help.TermsOfService" + }, + { + "id": "-1613775824", + "method": "messages.reorderStickerSets", + "params": [ + { + "name": "order", + "type": "Vector" + } + ], + "type": "Bool" + }, + { + "id": "864953444", + "method": "messages.getDocumentByHash", + "params": [ + { + "name": "sha256", + "type": "bytes" + }, + { + "name": "size", + "type": "int" + }, + { + "name": "mime_type", + "type": "string" + } + ], + "type": "Document" + }, + { + "id": "-1080395925", + "method": "messages.searchGifs", + "params": [ + { + "name": "q", + "type": "string" + }, + { + "name": "offset", + "type": "int" + } + ], + "type": "messages.FoundGifs" + }, + { + "id": "-2084618926", + "method": "messages.getSavedGifs", + "params": [ + { + "name": "hash", + "type": "int" + } + ], + "type": "messages.SavedGifs" + }, + { + "id": "846868683", + "method": "messages.saveGif", + "params": [ + { + "name": "id", + "type": "InputDocument" + }, + { + "name": "unsave", + "type": "Bool" + } + ], + "type": "Bool" + }, + { + "id": "1364105629", + "method": "messages.getInlineBotResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "bot", + "type": "InputUser" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "geo_point", + "type": "flags.0?InputGeoPoint" + }, + { + "name": "query", + "type": "string" + }, + { + "name": "offset", + "type": "string" + } + ], + "type": "messages.BotResults" + }, + { + "id": "-346119674", + "method": "messages.setInlineBotResults", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "gallery", + "type": "flags.0?true" + }, + { + "name": "private", + "type": "flags.1?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "results", + "type": "Vector" + }, + { + "name": "cache_time", + "type": "int" + }, + { + "name": "next_offset", + "type": "flags.2?string" + }, + { + "name": "switch_pm", + "type": "flags.3?InlineBotSwitchPM" + } + ], + "type": "Bool" + }, + { + "id": "-1318189314", + "method": "messages.sendInlineBotResult", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.5?true" + }, + { + "name": "background", + "type": "flags.6?true" + }, + { + "name": "clear_draft", + "type": "flags.7?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "random_id", + "type": "long" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "id", + "type": "string" + } + ], + "type": "Updates" + }, + { + "id": "1231065863", + "method": "channels.toggleInvites", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-934882771", + "method": "channels.exportMessageLink", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "ExportedMessageLink" + }, + { + "id": "527021574", + "method": "channels.toggleSignatures", + "params": [ + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "enabled", + "type": "Bool" + } + ], + "type": "Updates" + }, + { + "id": "-1490162350", + "method": "channels.updatePinnedMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.0?true" + }, + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "1056025023", + "method": "auth.resendCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "auth.SentCode" + }, + { + "id": "520357240", + "method": "auth.cancelCode", + "params": [ + { + "name": "phone_number", + "type": "string" + }, + { + "name": "phone_code_hash", + "type": "string" + } + ], + "type": "Bool" + }, + { + "id": "-39416522", + "method": "messages.getMessageEditData", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "messages.MessageEditData" + }, + { + "id": "-829299510", + "method": "messages.editMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "message", + "type": "flags.11?string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Updates" + }, + { + "id": "319564933", + "method": "messages.editInlineBotMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "InputBotInlineMessageID" + }, + { + "name": "message", + "type": "flags.11?string" + }, + { + "name": "reply_markup", + "type": "flags.2?ReplyMarkup" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Bool" + }, + { + "id": "-1494659324", + "method": "messages.getBotCallbackAnswer", + "params": [ + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "msg_id", + "type": "int" + }, + { + "name": "data", + "type": "bytes" + } + ], + "type": "messages.BotCallbackAnswer" + }, + { + "id": "1209817370", + "method": "messages.setBotCallbackAnswer", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "alert", + "type": "flags.1?true" + }, + { + "name": "query_id", + "type": "long" + }, + { + "name": "message", + "type": "flags.0?string" + } + ], + "type": "Bool" + }, + { + "id": "-728224331", + "method": "contacts.getTopPeers", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "correspondents", + "type": "flags.0?true" + }, + { + "name": "bots_pm", + "type": "flags.1?true" + }, + { + "name": "bots_inline", + "type": "flags.2?true" + }, + { + "name": "groups", + "type": "flags.10?true" + }, + { + "name": "channels", + "type": "flags.15?true" + }, + { + "name": "offset", + "type": "int" + }, + { + "name": "limit", + "type": "int" + }, + { + "name": "hash", + "type": "int" + } + ], + "type": "contacts.TopPeers" + }, + { + "id": "451113900", + "method": "contacts.resetTopPeerRating", + "params": [ + { + "name": "category", + "type": "TopPeerCategory" + }, + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "764901049", + "method": "messages.getPeerDialogs", + "params": [ + { + "name": "peers", + "type": "Vector" + } + ], + "type": "messages.PeerDialogs" + }, + { + "id": "-1137057461", + "method": "messages.saveDraft", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "no_webpage", + "type": "flags.1?true" + }, + { + "name": "reply_to_msg_id", + "type": "flags.0?int" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "entities", + "type": "flags.3?Vector" + } + ], + "type": "Bool" + }, + { + "id": "1782549861", + "method": "messages.getAllDrafts", + "params": [], + "type": "Updates" + } + ] +} \ No newline at end of file